Overview
Extract preview metadata from any public webpage.
Subscribe on RapidAPIThe Link Preview API fetches a public URL and returns normalized metadata for link cards, bookmarks, social sharing and website directories.
What you get
- Always:
title,icon, anddescriptionwhen the page publishes one. - Preview image: Open Graph and Twitter images first, then Schema.org, then the best image on the page, scored by size, position and context. Logos, avatars and tracking pixels are skipped.
- Page type:
website,article,product,video,recipe,event,profileand more, from structured data and Open Graph. Never guessed from URL keywords. - Details by type: author and dates for articles; price, currency, availability, brand and rating for products; video URL, duration and thumbnail for videos.
- Site metadata: canonical URL, site name, language, theme colour, keywords, feeds, oEmbed and manifest URLs.
How pages are fetched
Most pages are read with a fast, standard request. When a page only shows its content after loading JavaScript, or does not return usable metadata, the API renders it once and reads the result. See Page rendering.
Endpoints
| Method | Path | Purpose |
|---|---|---|
POST | /link-preview/v1/preview | Preview one URL |
POST | /link-preview/v1/preview/batch | Preview several URLs in one request |
GET | /link-preview/health | Service status |
POST | /link-preview/mcp | MCP tools for AI assistants |
Next: Quickstart.