Extract Open Graph metadata from any URL. Build link previews like Slack, Twitter, and Discord.
3 free requests/day without API key
https://meta-scraper-phi.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)
Get your free key below
/api/scrape?url=https://...
Extract Open Graph, Twitter Card, and standard meta tags from any URL.
url
string
yes
Full URL to scrape (must start with http:// or https://)
{
"title": "GitHub: Let's build from here",
"description": "GitHub is where over 100 million developers shape the future of software.",
"image": "https://github.githubassets.com/assets/og-image.png",
"favicon": "https://github.com/favicon.ico",
"site_name": "GitHub",
"url": "https://github.com",
"type": "website",
"locale": "en_US"
}
titlestringyesPage title (OG → Twitter → <title>)
descriptionstringyesPage description (OG → Twitter → meta)
imagestringnoOG image / Twitter image URL
faviconstringyesFavicon URL (link rel → /favicon.ico)
site_namestringnoog:site_name
urlstringyesCanonical URL
typestringnoog:type (website, article, etc)
localestringnoog:locale
authorstringnoAuthor (article:author or meta author)
publishedstringnoPublish date (article:published_time)
theme_colorstringnoMeta theme-color
// 400 — Bad Request
{ "error": "Missing 'url' parameter" }
{ "error": "Invalid URL. Must start with http:// or https://" }
// 401 — Unauthorized
{ "error": "Invalid API key" }
// 422 — Unprocessable
{ "error": "Failed to fetch URL: ..." }
{ "error": "Target URL returned HTTP 404" }
// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }
Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.