Documentation. Thirty seconds to JSON.
Everything you need to integrate OG Fetch: a first request in thirty seconds, then every endpoint, guide and reference page.
[01] start
First request. No key.
Public previews are free at 150 requests/day per IP. Send a URL, get typed JSON back.
- 01
Send a URL
Any public page. No signup, no headers.
curl "https://api.ogfetch.com/preview?url=https://github.com" - 02
Read the response
Same fields, same order, every time — so the card you design is the card you get.
200 OK · application/json{"url": "https://github.com/","title": "GitHub: Let's build from here","description": "GitHub is where over 100 million developers shape the future of software, together.","image": "https://github.githubassets.com/assets/home24-5939032587c9.jpg","favicon": "https://github.com/fluidicon.png","site_name": "GitHub","cached": true,"extracted_at": "2026-10-23T18:04:11Z"}- url
- string
- Canonical URL after redirects.
- title
- string
- og:title, falling back to <title>.
- description
- string
- og:description, then the meta description.
- image
- url
- Absolute URL of the best preview image.
- favicon
- url
- Highest-resolution icon found.
- site_name
- string
- og:site_name when the page declares one.
- cached
- bool
- Whether the edge cache served the result.
- extracted_at
- iso8601
- When the page was read.
[02] index
Every page. One list.
Setup, the nine endpoints, integration guides and reference material.
API Reference
- Preview APIFreeExtract Open Graph metadata from any URL. No API key required.
- Extract APIBetaFull content extraction including body, links, and reading time.
- Screenshot APIBetaCapture rendered page screenshots with custom dimensions.
- Batch APIBetaProcess many URLs in parallel with a single request.
- SEO APIBetaScoring, recommendations, and on-page SEO diagnostics.
- AEO Analysis APIBetaAnswer-engine optimization grading for AI-first search.
- Stack Detection APIBetaDetect the technology stack behind any website.
- Outline AI APIComing SoonAI-generated hierarchical content outlines.
- Analyze AI APIComing SoonAI summarization, key topics, and sentiment.