Extract Open Graph data, titles, descriptions, and images from any link with a single API call. Ideal for messaging apps, social feeds, and content enrichment.
GET https://opengraph.io/api/1.1/site/:site // Example API Call https://opengraph.io/api/1.1/site/https%3A%2F%2Freddit.com?app_id=xxxxxx //Response { "hybridGraph": { "title": "reddit", "description": "Reddit is where millions of people gather for conversations about the things they care about, in over 100,000 subreddit communities.", ...
Our Site Unfurling API gives you everything you need to create beautiful link previews and rich media cards from any URL.
Extract all OpenGraph tags from any webpage, including title, description, image, and more for perfect social sharing.
Get Twitter Card metadata to see how your links will appear when shared on Twitter and other platforms that support this format.
Our API can fully render JavaScript before extracting metadata, ensuring you get accurate data from dynamic websites and SPAs.
Even when sites don't have proper metadata, our intelligent fallback system extracts the most relevant content and images.
Control how metadata is extracted with simple yet powerful parameters to match your specific needs.
Cache control: Choose whether to use cached results for faster response times or always fetch fresh data.
JavaScript rendering: Enable or disable full JavaScript rendering for dynamic websites and single-page applications.
Proxy support: Use our proxy service to bypass bot protection and access websites that might block scrapers or API requests.
Use the language you love
import fetch from 'node:fetch';
// Site Unfurling API
const unfurlLink = async () => {
// Replace xxxxxx with your app_id or access_key
const url = "https://opengraph.io/api/1.1/site/https://example.com?app_id=xxxxxx";
try {
const response = await fetch(url);
const data = await response.json();
console.log('Link preview:', data);
} catch (error) {
console.error('Error unfurling link:', error);
}
};
unfurlLink();Over 1B Site Previews!
