Quickstart.
Make your first OG Fetch request in 30 seconds. The Preview endpoint requires no API key — paste a URL and get back rich link-preview metadata.
[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.