apyhub
Back
▣ MEDIA KIT

Bulk Link Preview API

What it does

The Bulk Link Preview API turns up to 50 links into preview card data in one call. For each link, you get back the title, description, preview image with its size, favicon, site name and content type. It works for web pages, images, PDFs and videos.

Send the links in urls. A link without https:// gets it added. Every link returns its own row, in the order sent. Each row includes the Open Graph and Twitter Card tags, the canonical link, the language, publish dates and any schema.org types found on the page. A broken or private link returns a row with an error such as http_404. One bad link never breaks the call. Private, internal and localhost addresses are always refused.

The API reads only the page's own public meta tags. It does not log in, run JavaScript or use proxies.

Chat and social apps use this link preview API to show rich cards when users paste links. Content tools use it to fill in titles and images for saved links. Marketing teams use it to check how their pages look when shared.

To also see what a site is built with, pair it with the Bulk Website Tech Stack Lookup API.

▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.