Create a link preview
Fetches a public webpage and returns normalized preview metadata: title, description, icon, preview image, page type and related fields. `title` is required for a successful response; when no title can be found, the API returns `EXTRACTION_FAILED` with whatever was found in `error.details.partial`. `description` is `null` when the page publishes no description metadata.
Subscribe on RapidAPIFetches a public webpage and returns normalized preview metadata: title, description, icon, preview image, page type and related fields. title is required for a successful response; when no title can be found, the API returns EXTRACTION_FAILED with whatever was found in error.details.partial. description is null when the page publishes no description metadata.
application/json- body
url*stringPublic http(s) URL of the page. A missing scheme defaults to https.
1 <= length <= 2048options?{ "renderJs": "auto", "includeImages": true, "includeArticle": true, "includeStructuredData": false, "cache": true, "allowPartial": true}Preview extracted.
application/json- response
success*truetruedata*curl -X POST 'https://link-preview-url-unfurling-open-graph-metadata4.p.rapidapi.com/link-preview/v1/preview' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://example.com/blog/hello-world"}'{ "success": true, "data": { "url": "string", "resolvedUrl": "string", "canonicalUrl": "string", "domain": "string", "siteName": "string", "title": "string", "description": "string", "icon": "string", "image": { "url": "http://example.com", "width": 1, "height": 1, "alt": "string", "source": "string" }, "type": "website", "language": "string", "themeColor": "string", "keywords": [ "string" ], "author": "string", "publishedAt": "string", "modifiedAt": "string", "article": { "section": "string", "tags": [ "string" ], "wordCount": 0 }, "product": { "productName": "string", "price": "string", "currency": "string", "availability": "string", "brand": "string", "sku": "string", "rating": 0, "reviewCount": 0 }, "video": { "videoUrl": "string", "videoType": "string", "duration": "string", "thumbnailUrl": "string", "uploadDate": "string" }, "metadata": { "ogType": "string", "schemaType": "string", "twitterCard": "string", "generator": "string", "robots": "string", "viewport": "string", "favicon": "string", "feedUrl": "string", "oEmbedUrl": "string", "manifestUrl": "string" }, "structuredData": { "openGraph": { "property1": [ "string" ], "property2": [ "string" ] }, "twitter": { "property1": [ "string" ], "property2": [ "string" ] }, "jsonLd": [ null ] }, "partial": true, "partialReason": "blocked", "fetch": { "method": "http", "browserFallbackUsed": true, "statusCode": 0, "redirects": 0, "truncated": true, "httpStatusCode": 0, "fallbackReason": "http_403", "browserError": "string", "cacheStatus": "hit", "cachedAt": "string" } }}Create link previews for several URLs POST
Preview up to 10 URLs in one request, with the same rules and options as a single preview. A failed URL never fails the batch: each entry in `results` has either `data` or `error`, in input order. Duplicate URLs are processed once. Page rendering is limited per batch; beyond that limit the standard result is returned.
Health check GET
Reports that the service is available. No authentication required.