Endpoints
Extract metadata
Get the title, description, images, favicon and site name of any URL as JSON — the data behind link previews.
GET
https://jsonlink.io/api/extractParameters
urlstringRequiredThe full URL of the page, including https://. URL-encode it.
api_keystringRequiredYour API key. See Authentication.
Response
titlestringPage title, from the HTML <title>, og:title or twitter:title.
descriptionstringSummary from og:description, twitter:description or the meta description.
imagesstring[]Preview images (og:image, twitter:image), best first. Absolute URLs. Empty when the page has none.
sitenamestringSite name, from og:site_name or derived from the title.
faviconstringAbsolute URL of the site icon.
domainstringDomain of the page.
urlstringThe URL you requested.
durationnumberHow long the extraction took, in milliseconds.
Errors
Pages that time out return {"error": "REQUEST_TIMEOUT"} and are not billed. See Errors for every error.
Tips
- Cache results: page metadata rarely changes, and a cache saves credits and latency.
- Pages are retried with a browser and a proxy when a plain request is blocked, so slower responses are normal on some sites.
- Building previews? The link preview generator shows how this data renders as a card.