Skip to Content
APIGeineAPIGeine

Batch

Preview several URLs in one request.

Subscribe on RapidAPI
export BASE_URL="https://link-preview-url-unfurling-open-graph-metadata4.p.rapidapi.com"
curl -X POST "$BASE_URL/link-preview/v1/preview/batch" \
  -H "content-type: application/json" \
  -d '{"urls":["https://example.com","https://github.com"]}'
{
  "success": true,
  "data": {
    "results": [
      { "url": "https://example.com", "success": true, "data": { "title": "Example Domain" } },
      { "url": "http://localhost/", "success": false, "error": { "code": "URL_BLOCKED", "message": "...", "details": null } }
    ],
    "summary": { "total": 2, "succeeded": 1, "failed": 1 }
  }
}
  • Up to 10 URLs per request by default.
  • Every URL follows the same rules as a single preview, with shared options.
  • One failed URL never fails the batch. Results are in input order and echo each input URL.
  • Duplicate URLs are processed once.
  • Page rendering is limited per batch; beyond that limit the standard result is returned.