Parse Open Graph Metadata

PythonSEO Tools
POST api.upapi.io/opengraph-parse.get

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

opengraphmetadatapreviewscrapingpython
AuthAPI key
Cost1 unit
Timeout15s
Cache3600s

Request schema

FieldTypeDescription
urlreq
stringURL to fetch + parse for social preview metadata

Response schema

FieldTypeDescription
urlreq
string
titlereq
string
ogTypereq
statusreq
integer
faviconreq
ogImagereq
ogTitlereq
finalUrlreq
string
canonicalreq
fetchedAtreq
string
ogSiteNamereq
descriptionreq
twitterImagereq
twitterTitlereq
ogDescriptionreq
twitterDescriptionreq

Try it

Try it

URL to fetch + parse for social preview metadata

Run this endpoint live

Jump in as a guest — no signup — and run opengraph-parse.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

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" }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.