Meta Scraper API

Extract Open Graph metadata from any URL. Build link previews like Slack, Twitter, and Discord.

<200ms
Response
OG + Twitter
Meta Tags
Zero deps
Pure Go

How It Works

Step 1
Send a URL
Pass any URL as a query parameter
Step 2
We Fetch & Parse
Extract OG, Twitter Card, and meta tags
Step 3
Get JSON
Receive structured metadata instantly

Playground

3 free requests/day without API key

Enter a URL and click Scrape Meta

API Documentation

Base URL
https://meta-scraper-phi.vercel.app
Authentication
X-API-Key: your_key (header) or ?key=your_key (query) Get your free key below
GET /api/scrape?url=https://...

Extract Open Graph, Twitter Card, and standard meta tags from any URL.

Parameters

ParameterTypeRequiredDescription
url string yes Full URL to scrape (must start with http:// or https://)

Response

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

Response Fields

FieldTypeAlwaysDescription
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

Error Responses

// 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 API Key

Get a free API key for 6 requests/day. No credit card required.

Usage

  • Add header: X-API-Key: your_key
  • Or query param: ?key=your_key

Limits

  • Playground (no key): 3 req/day
  • Free tier (with key): 6 req/day
  • Paid plans: see pricing below

Pricing

Start free. Pay only when you need more.

Free
$0
  • 6 requests/day
  • All meta fields
Starter
🚀 Launch Price
$12$5/mo
  • 300 requests/day
  • All meta fields
  • Priority support
Business
🚀 Launch Price
$79$39/mo
  • 10,000 requests/day
  • All meta fields
  • Priority support