URL Metadata API
Get clean metadata for any URL
ogfetch is a URL metadata API that returns the full picture for any public page: title, description, canonical URL, favicon, Open Graph and Twitter tags, word count, all meta tags, and the detected framework or CMS, as one clean JSON response.
100 free requests on signup. No credit card required.
Python example
import requests
r = requests.get(
"https://ogfetch.dev/v1/fetch",
headers={"X-Api-Key": "ogf_your_key"},
params={"url": "https://stripe.com"},
)
m = r.json()
print(m["title"]) # page title
print(m["wordCount"]) # 1240
print(m["techStack"]) # ["Next.js", "Cloudflare"]
print(m["canonical"]) # absolute canonical URLTry it now
No signup needed. Paste a URL and see the JSON.
01
More than OG tags
Beyond Open Graph and Twitter cards you get canonical URL, author, keywords, robots, theme color, word count, HTTP status, and response time.
02
Tech stack detection
ogfetch identifies the framework or CMS behind a page (Next.js, WordPress, Shopify, Vercel, Cloudflare, and 20+ more) from its HTML and headers.
03
Consistent schema
Every response has the same shape. Missing data is null, never a missing key, so your parsing code stays simple and never throws.
FAQ
What is a URL metadata API?
A URL metadata API takes a web page URL and extracts its metadata, such as title, description, canonical URL, favicon, Open Graph tags, word count, and meta tags, returning it as structured JSON instead of raw HTML you have to parse yourself.
What fields does ogfetch return?
Title, description, canonical URL, favicon, a full og object, a twitter object, a meta object (author, keywords, robots, theme color), word count, detected tech stack, the resolved URL after redirects, HTTP status code, response time, and fetch timestamp.
Can I use it to enrich a database of URLs?
Yes. Batch through your URLs, call the API for each, and store the JSON. Credit packs never expire, so you can process a large backlog over time without losing unused credits.
Does it handle redirects?
Yes. ogfetch follows redirects and reports the final resolved URL in the response, along with the HTTP status code from the target site.