# Parse Open Graph Metadata API

> Fetch a URL and extract its Open Graph, Twitter Card, <title>, description, canonical, and favicon metadata - everything needed to render a rich link preview.

Category: [SEO Tools APIs](https://upapi.io/apis/seo-tools) · Last updated 2026-06-12

## What is the Open Graph scraper on upAPI?

The Open Graph scraper and parser on upAPI is a link preview metadata API: give it any URL and it returns the main Open Graph and Twitter Card tags (title, description, image) of that page, plus its title, description, canonical URL and favicon, as JSON. The Free plan includes 1,000 weighted units a month.

## How to call it

- Endpoint: `POST https://api.upapi.io/opengraph-parse.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 15 seconds.
- Cache: identical requests are served from cache for 3600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/opengraph-parse.get

```bash
curl -X POST https://api.upapi.io/opengraph-parse.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "url": "https://github.com" }'
```

## Request parameters

- `url` (string, required) — URL to fetch + parse for social preview metadata

## Response fields

- `url` (string, required)
- `title` (string, required)
- `ogType` (string, required)
- `status` (integer, required)
- `favicon` (string, required)
- `ogImage` (string, required)
- `ogTitle` (string, required)
- `finalUrl` (string, required)
- `canonical` (string, required)
- `fetchedAt` (string, required)
- `ogSiteName` (string, required)
- `description` (string, required)
- `twitterImage` (string, required)
- `twitterTitle` (string, required)
- `ogDescription` (string, required)
- `twitterDescription` (string, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "url": "https://github.com"
}
```

```json
{
  "url": "https://github.com",
  "title": "Alan Turing",
  "ogType": "example",
  "status": 1,
  "favicon": "example",
  "ogImage": "example",
  "ogTitle": "example",
  "finalUrl": "example",
  "canonical": "example",
  "fetchedAt": "example",
  "ogSiteName": "example",
  "description": "example",
  "twitterImage": "example",
  "twitterTitle": "example",
  "ogDescription": "example",
  "twitterDescription": "example"
}
```

## Frequently asked questions

### How much does the Parse Open Graph Metadata API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Parse Open Graph Metadata API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Parse Open Graph Metadata API responses cached?

Yes — identical requests are served from cache for 3600 seconds, and a cache hit is not billed.

## More SEO Tools APIs

- [Parse Sitemap](https://upapi.io/apis/seo-tools/sitemap-parse)
- [Get Bing Search Results](https://upapi.io/apis/seo-tools/bing-serp)
- [Get DuckDuckGo Search Results](https://upapi.io/apis/seo-tools/duckduckgo-search)
- [Get Google Search Results](https://upapi.io/apis/seo-tools/google-serp)
