Create link previews for several URLs
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.
Subscribe on RapidAPIPreview 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.
application/json- body
urls*array<>URLs to preview, up to 10 per request.
1 <= items <= 25options?{ "renderJs": "auto", "includeImages": true, "includeArticle": true, "includeStructuredData": false, "cache": true, "allowPartial": true}Batch processed. Individual URLs may still have failed; check each result's success.
application/json- response
success*truetruedata*curl -X POST 'https://link-preview-url-unfurling-open-graph-metadata4.p.rapidapi.com/link-preview/v1/preview/batch' \ -H 'Content-Type: application/json' \ -d '{ "urls": [ "https://example.com", "https://github.com", "https://news.ycombinator.com" ]}'{ "success": true, "data": { "results": [ { "url": "string", "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" } } } ], "summary": { "total": 0, "succeeded": 0, "failed": 0 } }}Errors and limits
Error codes, HTTP statuses and request limits.
Create a link preview POST
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.