Link previews
Show a title, description and image for any URL your users paste.
includeMetadata=true
Add includeMetadata=true to any request and get the metadata of the page as JSON: title, description, language, canonical URL, Open Graph tags, JSON-LD, links, emails and phone numbers.
Metadata comes in the JSON envelope, next to the format you ask for.
curl -G https://api.grabber.sh/fetch \
-H "Authorization: Bearer $GRABBER_API_KEY" \
--data-urlencode "url=https://shop.example.com/products/trail-runner-2" \
-d "formats=links" \
-d "includeMetadata=true"Response (data.metadata)
{
"canonicalUrl": "https://shop.example.com/products/trail-runner-2",
"title": "Trail Runner 2 | Example Shop",
"description": "A 240 g trail shoe with a grippy outsole.",
"languageCode": "en",
"openGraph": [
{
"property": "og:image",
"content": "https://shop.example.com/img/tr2.jpg"
}
],
"jsonLd": [
{
"@type": "Product",
"name": "Trail Runner 2",
"offers": {
"price": "129.00",
"priceCurrency": "USD"
}
}
],
"emails": [
"support@example.com"
]
}Call GET /fetch with url, includeMetadata=true and the format you also want.
It loads the page and reads its meta tags, Open Graph tags and JSON-LD blocks, and finds emails and phone numbers.
Every field is always present: a value the page does not have is null or an empty list.
Show a title, description and image for any URL your users paste.
Read prices, names and availability from the Product JSON-LD that shops publish.
Fill in the name, description and contact details of a company from its own site.
Find pages with a missing description, a wrong canonical URL or broken structured data.
Prepaid credit, taken one request at a time. Ask for several formats in one request at the price of one.
| Request | Price |
|---|---|
| A page | $0.001 |
A page with js_render=true | $0.005 |
| Any error | $0 |
| Credit when you sign up | $1, about 1,000 pages |
Something else? The docs cover every parameter and error, and you can reach us from the dashboard.
canonicalUrl, title, description, author, keywords, languageCode, openGraph, jsonLd, links, phones and emails. Every field is always there; one the page does not have is null or an empty list.
Yes. Each JSON-LD block on the page comes back as a JSON object, ready to read.
No. It is part of the same page load, so a request with metadata costs $0.001, like any other.
No. Metadata lives in the JSON envelope, so includeMetadata is ignored when unwrap is true. Leave unwrap off and read data.metadata.
Sign up in a minute and fetch your first 1,000 pages for free.