Complete API Documentation
Everything you need to integrate OG Fetch into your application
30-Second Start
Quick Start Guide
Get rich link previews in under 30 seconds. No signup required to start testing.
Make your first API call
No API key required for basic usage
curl "https://api.ogfetch.com/preview?url=https://github.com"Or use JavaScript
Perfect for frontend applications
fetch('https://api.ogfetch.com/preview?url=https://github.com')
.then(response => response.json())
.then(data => console.log(data));Rich Metadata
Title, description, images, and favicons extracted automatically
Lightning Fast
Sub-second response times with global CDN caching
Ready to Use
JSON response perfect for cards, previews, and social sharing
Expected Response:
{
"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",
"url": "https://github.com",
"favicon": "https://github.com/fluidicon.png"
}