# Metadata Extractor API

> Metadata Extractor is a website metadata extraction API that pulls HTML meta tags from any submitted URL, returning the page title, meta description, author, robots directives, and language. Paid tiers add Open Graph tags, JSON-LD schemas, and favicons.

**Endpoint:** `POST https://api.apiverve.com/v1/metadataextractor`  
**Category:** Data Processing  
**Cost:** 2 credits per call  
**Canonical page:** https://apiverve.com/marketplace/metadataextractor

## Overview

Metadata Extractor works by parsing the HTML content of a web page to extract the metadata. It returns the meta title, meta description, and more in a structured format.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl -X POST "https://api.apiverve.com/v1/metadataextractor" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://apiverve.com"}'
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | Yes | The URL of the web page to extract metadata from; without a scheme, https:// is assumed. url |

## Response fields

- `requestUrl` — string · Original URL submitted for metadata extraction
- `url` — string · Final resolved URL after redirects
- `canonical` — string · Canonical URL from page meta tag · (premium)
- `lang` — string · Page language code from HTML lang attribute
- `charset` — string · Character encoding specified in meta tags
- `title` — string · Page title extracted from title tag
- `image` — string · Primary image URL from meta tags · (premium)
  - `favicons.0.rel` — string · Link relation of the icon (icon, apple-touch-icon, ...) · (premium)
  - `favicons.0.href` — string · URL of the icon · (premium)
  - `favicons.0.sizes` — string · Declared icon sizes · (premium)
- `author` — string · Page author extracted from meta tags
- `description` — string · Page description from meta description tag
- `keywords` — string · Keywords extracted from meta keywords tag
- `source` — string · Page source or publication reference · (premium)
- `price` — string · Product price if available in schema · (premium)
- `priceCurrency` — string · Currency code for price field · (premium)
- `availability` — string · Product availability status from schema · (premium)
- `robots` — string · Robots meta tag for search engine indexing
- `jsonld` — array · JSON-LD structured data schemas · (premium)
- `og:url` — string · Open Graph URL for social media sharing · (premium)
- `og:locale` — string · Open Graph locale specification · (premium)
- `og:locale:alternate` — string · Alternate locales the page is available in · (premium)
- `og:title` — string · Open Graph title for social sharing · (premium)
- `og:type` — string · Open Graph content type category · (premium)
- `og:description` — string · Open Graph description for social sharing · (premium)
- `og:determiner` — string · Word that appears before the Open Graph title (a, an, the) · (premium)
- `og:site_name` — string · Open Graph site name for branding · (premium)
- `og:image` — string · Open Graph image for social media preview · (premium)
- `og:image:secure_url` — string · HTTPS URL of the Open Graph image · (premium)
- `og:image:type` — string · MIME type of the Open Graph image · (premium)
- `og:image:width` — string · Width of the Open Graph image in pixels · (premium)
- `og:image:height` — string · Height of the Open Graph image in pixels · (premium)
- `twitter:title` — string · Twitter card title for X sharing · (premium)
- `twitter:description` — string · Twitter card description for sharing · (premium)
- `twitter:image` — string · Twitter card image for X preview · (premium)
- `twitter:image:alt` — string · Alt text for the Twitter card image · (premium)
- `twitter:card` — string · Twitter card type configuration · (premium)
- `twitter:site` — string · Twitter handle of the website · (premium)
- `twitter:site:id` — string · Twitter user ID of the website · (premium)
- `twitter:url` — string · URL the Twitter card points to · (premium)
- `twitter:account_id` — string · Twitter account ID for the site · (premium)
- `twitter:creator` — string · Twitter handle of the content creator · (premium)
- `twitter:creator:id` — string · Twitter user ID of the content creator · (premium)
- `twitter:player` — string · URL of the Twitter player card iframe · (premium)
- `twitter:player:width` — string · Width of the Twitter player in pixels · (premium)
- `twitter:player:height` — string · Height of the Twitter player in pixels · (premium)
- `twitter:player:stream` — string · URL of the raw media stream for the player card · (premium)
- `twitter:app:name:iphone` — string · iPhone app name for the Twitter app card · (premium)
- `twitter:app:id:iphone` — string · iPhone App Store ID for the Twitter app card · (premium)
- `twitter:app:url:iphone` — string · iPhone deep link for the Twitter app card · (premium)
- `twitter:app:name:ipad` — string · iPad app name for the Twitter app card · (premium)
- `twitter:app:id:ipad` — string · iPad App Store ID for the Twitter app card · (premium)
- `twitter:app:url:ipad` — string · iPad deep link for the Twitter app card · (premium)
- `twitter:app:name:googleplay` — string · Google Play app name for the Twitter app card · (premium)
- `twitter:app:id:googleplay` — string · Google Play app ID for the Twitter app card · (premium)
- `twitter:app:url:googleplay` — string · Android deep link for the Twitter app card · (premium)
  - `headings.0.level` — string · (premium)
  - `headings.0.text` — string · (premium)
  - `imgTags.0.src` — string · (premium)
  - `imgTags.0.alt` — string · (premium)
  - `imgTags.0.width` — string · (premium)
  - `imgTags.0.height` — string · (premium)
- `responseBody` — string · Raw HTML response body content · (premium)
- `viewport` — string · Viewport meta tag for responsive design
- `theme-color` — string · Theme color meta tag for browser UI · (premium)
- `application-name` — string
- `og:image:alt` — string

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "requestUrl": "https://apiverve.com",
    "url": "https://apiverve.com/",
    "canonical": "",
    "lang": "en",
    "charset": "utf-8",
    "title": "APIVerve — One key for 300+ production APIs",
    "image": "",
    "favicons": [
      {
        "rel": "icon",
        "href": "/images/favicon.ico",
        "sizes": "any"
      },
      {
        "rel": "icon",
        "type": "image/png",
        "href": "/images/favicon.png"
      },
      {
        "rel": "apple-touch-icon",
        "href": "/images/apple-touch-icon.png"
      }
    ],
    "author": "",
    "description": "Consistent schemas, predictable credit pricing, and an uptime SLA on every paid plan across 300+ production APIs. One key, one bill, zero glue code.",
    "keywords": "",
    "source": "",
    "price": "",
    "priceCurrency": "",
    "availability": "",
    "robots": "",
    "jsonld": [],
    "og:url": "https://apiverve.com",
    "og:locale": "en_US",
    "og:locale:alternate": "",
    "og:title": "APIVerve — One key for 300+ production APIs",
    "og:type": "website",
    "og:description": "Consistent schemas, predictable credit pricing, and an uptime SLA on every paid plan across 300+ production APIs. One key, one bill, zero glue code.",
    "og:determiner": "",
    "og:site_name": "APIVerve",
    "og:image": "https://apiverve.com/social-images/page-home.png",
    "og:image:secure_url": "",
    "og:image:type": "",
    "og:image:width": "1200",
    "og:image:height": "630",
    "twitter:title": "APIVerve — One key for 300+ production APIs",
    "twitter:description": "Consistent schemas, predictable credit pricing, and an uptime SLA on every paid plan across 300+ production APIs.",
    "twitter:image": "https://apiverve.com/social-images/page-home.png",
    "twitter:image:alt": "",
    "twitter:card": "summary_large_image",
    "twitter:site": "",
    "twitter:site:id": "",
    "twitter:url": "",
    "twitter:account_id": "",
    "twitter:creator": "",
    "twitter:creator:id": "",
    "twitter:player": "",
    "twitter:player:width": "",
    "twitter:player:height": "",
    "twitter:player:stream": "",
    "twitter:app:name:iphone": "",
    "twitter:app:id:iphone": "",
    "twitter:app:url:iphone": "",
    "twitter:app:name:ipad": "",
    "twitter:app:id:ipad": "",
    "twitter:app:url:ipad": "",
    "twitter:app:name:googleplay": "",
    "twitter:app:id:googleplay": "",
    "twitter:app:url:googleplay": "",
    "headings": [
      {
        "level": "h1",
        "text": "Every API your product needs, behind one key."
      },
      {
        "level": "h2",
        "text": "The boring parts of API integration, already solved."
      },
      {
        "level": "h3",
        "text": "One response envelope"
      },
      {
        "level": "h3",
        "text": "Flat credit pricing"
      },
      {
        "level": "h3",
        "text": "Backed by an uptime SLA"
      },
      {
        "level": "h2",
        "text": "Your first call takes two minutes."
      },
      {
        "level": "h3",
        "text": "Grab a key"
      },
      {
        "level": "h3",
        "text": "Call any endpoint"
      },
      {
        "level": "h3",
        "text": "Ship it"
      },
      {
        "level": "h2",
        "text": "Authenticate once. Point at anything."
      },
      {
        "level": "h2",
        "text": "Skip the integration work. Ship the feature."
      },
      {
        "level": "h3",
        "text": "User verification"
      },
      {
        "level": "h3",
        "text": "Commerce toolkit"
      },
      {
        "level": "h3",
        "text": "Data enrichment"
      },
      {
        "level": "h3",
        "text": "Docs & media"
      },
      {
        "level": "h2",
        "text": "Metrics from the last 24 hours."
      },
      {
        "level": "h2",
        "text": "Production APIs for the things you keep rebuilding."
      },
      {
        "level": "h3",
        "text": "Email Validator →"
      },
      {
        "level": "h3",
        "text": "IP Lookup →"
      },
      {
        "level": "h3",
        "text": "Weather →"
      },
      {
        "level": "h3",
        "text": "QR Code Generator →"
      },
      {
        "level": "h3",
        "text": "Currency Converter →"
      },
      {
        "level": "h3",
        "text": "Translator →"
      },
      {
        "level": "h2",
        "text": "450,000+ lookups, validations, and conversions a day, through one key."
      },
      {
        "level": "h2",
        "text": "Give your software a way to act on the world."
      },
      {
        "level": "h3",
        "text": "Scaling in production?"
      },
      {
        "level": "h4",
        "text": "Product"
      },
      {
        "level": "h4",
        "text": "Solutions"
      },
      {
        "level": "h4",
        "text": "Integrations"
      },
      {
        "level": "h4",
        "text": "Resources"
      },
      {
        "level": "h4",
        "text": "Compare"
      },
      {
        "level": "h4",
        "text": "SDKs"
      },
      {
        "level": "h4",
        "text": "Company"
      },
      {
        "level": "h4",
        "text": "Featured APIs"
      },
      {
        "level": "h4",
        "text": "More"
      },
      {
        "level": "h4",
        "text": "Legal"
      },
      {
        "level": "h4",
        "text": "Important disclaimer"
      }
    ],
    "imgTags": [
      {
        "src": "/images/favicon.png",
        "alt": "",
        "width": "26",
        "height": "26"
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": "Microsoft"
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": "DuckDuckGo"
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": "Topdanmark"
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": "University of Maryland"
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": "Postman"
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": "RapidAPI"
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": "Zapier"
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": "Deloitte"
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": ""
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": ""
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": ""
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": ""
      },
      {
        "src": "/images/brands/brand01.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand02.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand03.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand04.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand05.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand06.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand07.png",
        "alt": ""
      },
      {
        "src": "/images/brands/brand08.svg",
        "alt": ""
      },
      {
        "src": "/images/favicon.png",
        "alt": "",
        "width": "24",
        "height": "24"
      }
    ],
    "responseBody": "",
    "viewport": "width=device-width, initial-scale=1, maximum-scale=1",
    "theme-color": "#ffffff",
    "application-name": "APIVerve",
    "og:image:alt": "APIVerve — One key for 300+ production APIs"
  }
}
```

## Use cases

- **Social Link Previews** — Chat applications fetch page title and meta description tags from shared links to display inline reading snippets in conversation feeds.
- **Bookmark Library Archiving** — When archiving external resources, digital asset management platforms capture the page author, description, and keywords to catalog source references.
- **Search Crawl Auditing** — Flag indexing barriers across client domains by evaluating robots tags, character encoding, and viewport settings extracted during scheduled crawls.
- **Link Redirect Verification** — To detect outdated redirects, publishing platforms compare the original submitted URL against the resolved destination address and page title.

## SDKs

- **npm** — `npm install @apiverve/metadataextractor` (https://www.npmjs.com/package/@apiverve/metadataextractor)
- **PyPI** — `pip install apiverve-metadataextractor` (https://pypi.org/project/apiverve-metadataextractor/)
- **NuGet** — `dotnet add package APIVerve.API.MetadataExtractor` (https://www.nuget.org/packages/APIVerve.API.MetadataExtractor)
- **Source** — https://github.com/apiverve/metadataextractor-api

## More

- Full reference: https://docs.apiverve.com/ref/metadataextractor
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
