Open Graph & Meta Tag Checker
Fetch any URL and get its title, description, Open Graph and Twitter Card tags, favicon, canonical, feeds and JSON-LD as JSON.
Result
Press “Run” to see the result.
Give a public url and the API fetches the page (following redirects) and parses its <head>: title, description, preview image and alt text, site name, type, locale, language, canonical URL, author, keywords, published time, theme color and robots directive. Values fall back from Open Graph to Twitter Card to standard meta tags, and image and icon URLs are made absolute.
The response also includes all open_graph, twitter_card and other meta tags, the list of icons (with the first one as favicon, or /favicon.ico), RSS/Atom feeds, alternates (hreflang links), up to 5 parsed json_ld blocks, plus the final URL, HTTP status, content type, redirect chain and response time. For non-HTML URLs only the basic fields are returned.
Results are cached for 1 hour per URL; add fresh=true to bypass the cache. The page is read up to 1.5 MB, with a 10 second timeout and at most 8 redirects. Only public http/https hosts are allowed.
Use this in your code
curl "https://apibox.io.vn/v1/url-metadata?url=https://github.com" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch('https://apibox.io.vn/v1/url-metadata?url=https://github.com', {
method: 'GET',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
},
});
const data = await res.json();
console.log(data);import requests
res = requests.get(
"https://apibox.io.vn/v1/url-metadata?url=https://github.com",
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/url-metadata?url=https://github.com');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY'],
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
How do I get the Open Graph image of a URL?
Call /v1/url-metadata?url=... and read image (og:image, falling back to twitter:image) or the full open_graph object.
Are results cached?
Yes, for 1 hour per URL. Add fresh=true to fetch the page again, for example right after updating your meta tags.
Does it follow redirects?
Yes, up to 8 redirects. The response contains final_url and the redirects chain with each status code.