The URLPreview API allows you to retrieve clean, structured metadata for any public URL, including title, description, images, and favicon.
GET https://app.urlpreview.com/api/v1/preview
All requests must include your API key as a query parameter:
?url=https://example.com&apiKey=YOUR_API_KEY
You can get an API key in your dashboard after signing up.
url
(required): The full URL you want to preview.apiKey
(required): Your unique API key.curl "https://app.urlpreview.com/api/v1/preview?url=https://example.com&apiKey=YOUR_API_KEY"
{
"url": "https://example.com",
"title": "Example Domain",
"description": "This domain is for use in illustrative examples in documents.",
"image": "https://example.com/og-image.jpg"
}
Your plan determines your monthly quota:
On error, the API responds with a JSON object containing an
error
field.
{
"error": "Invalid or unreachable URL"
}
For help, contact us at support@urlpreview.com.