Comparisons

Best link preview API

The best link preview API is Exabase: 20,000 free previews a month, JavaScript rendering and full image details. Iframely is best for rich embeds.

Last updated December 2026

The best link preview API for most developers is Exabase, because it gives 20,000 link previews a month free with no credit card, renders JavaScript-heavy pages before parsing, and returns the title, description, image and favicon with dimensions, file size and MIME type already filled in. Iframely is the stronger choice when you need rich embed HTML for videos and social posts, and Microlink when you also want screenshots from the same API.

We make Exabase, so read our ranking with that in mind. This page explains why we think its Link Preview API is the best starting point, and gives a fair view of six other services, with prices checked on each vendor’s site this month.

What a link preview API does

A link preview is the card that appears when someone pastes a URL into a chat, a CMS or a social feed: a title, a short description, an image and the site’s favicon. Building one means fetching the page, reading its meta tags, and falling back sensibly when they are missing. Most sites publish Open Graph tags, many also publish Twitter Cards, and some offer oEmbed endpoints for embeddable players. A link preview API does that work for you and returns clean URL metadata as JSON.

It sounds simple until you run it in production. Single-page apps built with React or Next.js often ship an empty HTML shell, so a plain HTTP fetch sees no tags at all; you need JavaScript rendering in a headless browser. Shortened links pass through a redirect chain before reaching the real page, and the canonical URL may differ again. The og:image can be missing, tiny, or several megabytes, and you need its dimensions before you can lay out the card. Some URLs point at malware or adult content you do not want shown to users. And popular links get pasted thousands of times, so caching matters for both speed and cost.

That is why “parse the HTML ourselves” tends to grow into a small service of its own. The APIs below differ in how much of this they handle, how they price it, and what they add on top: embeds, screenshots, or full page content.

Verdict

Best overall: Exabase, for 20,000 free previews a month, JavaScript rendering, image details and caching.

Best for rich embeds: Iframely, built around oEmbed and embed HTML.

Best for previews plus screenshots: Microlink.

Best for high volume on a budget: JSONLink, from $15 a month for 50,000 credits.

Best for simple hourly limits: LinkPreview.net.

Best for steady hourly throughput: Peekalink.

Best for Open Graph plus scraping credits: OpenGraph.io.

At a glance

API

Free tier

Entry paid plan

JavaScript rendering

Image details

Verdict

Exabase

20,000 previews a month

Free tier covers most apps

Yes

Dimensions, size, MIME type

Best overall

Iframely

2,000 hits a month

Business $49 a month for 25,000 hits

Not stated

Varies

Best for embeds

Microlink

25 requests a day

Pro $49 a month for 46,000 requests

Yes

Yes

Best with screenshots

JSONLink

100 credits a month

Hobbie $15 a month for 50,000 credits

Not stated

Basic

Best budget volume

LinkPreview.net

60 requests an hour, personal use

Pro $25 a month for commercial use

Not stated

Basic

Best simple limits

Peekalink

50 requests an hour

Startup $42 a month billed yearly

Not stated

Basic

Best hourly throughput

OpenGraph.io

100 requests

Developer $25 a month for 50,000 credits

Yes, extra credits

Basic

Best with scraping

1. Exabase: the best link preview API overall

What it is. Exabase is infrastructure for AI agents, and its Link Preview API is a lightweight, synchronous endpoint: GET /v2/link?url=... (API reference). It fetches the page and returns url, title, description, siteName, a detected type, an image and a favicon, each with a pre-signed URL, width and height, plus provider-specific metadata. No resource or job is created, so it returns in one call.

Why it wins. The free tier is 20,000 link previews a month with no credit card needed to sign up, which covers most products’ entire volume. Pages are rendered with JavaScript before parsing, and if Open Graph tags are missing it falls back to the page title, meta description and first usable image. Redirects are followed and the final and canonical URLs are both returned. Image dimensions, file size and MIME type come back with the preview, so you can lay out the card without fetching the image yourself. Repeat URLs return instantly from a cache of up to 24 hours. Providers such as YouTube, Amazon, Twitter, Airbnb, Vimeo, SoundCloud, Giphy and major news sites return richer data; Spotify links include the track, artist, audio stream URL and embed player URL. An optional safe-content filter blocks malware and adult URLs.

How it works in practice. Call the endpoint from your server with your API key, or use the TypeScript SDK: api.linkPreview.get({ url }). The developer guide covers the response shape. Return the JSON to your client and render the card. Pages behind a login or paywall return the login page’s metadata or an error, as with every service here, and a URL with no preview data returns 404.

Real-world example. A team chat app unfurls every URL posted in a channel. Its backend calls Exabase once per new URL; a link to a Next.js product page that ships an empty HTML shell still comes back with title, description and a 1200 by 630 image, and the 50th paste of a viral link returns from cache. At its current volume the app stays inside the free 20,000 a month.

When you need more than metadata. If you want the full page content as text, not just the card, send the URL to Extract, which returns the page as text chunks, or save it as a bookmark in Resources so it is fetched, indexed and searchable with Deep Search. Our post on why we built a free link preview API explains how the pieces fit.

Where others are stronger. Exabase returns preview metadata, and an embed player URL for Spotify, but it does not generate general embed HTML for every provider the way Iframely does. It does not take screenshots through this endpoint; Microlink and OpenGraph.io do. Our pricing page covers volume beyond the free tier.

2. Iframely: best for rich embeds

What it is. A service built around oEmbed and responsive embed HTML for a wide range of providers. Starter is free for 2,000 hits a month; Business is $49 a month for 25,000 hits, Editorial $149 a month for 100,000 and Enterprise $399 a month for 500,000, all billed monthly.

Best for. Publishing platforms and CMSs that need playable videos, posts and maps inline.

Compared with Exabase. Iframely is the specialist for embeds. Exabase gives ten times more free previews and simpler metadata for cards. See Exabase vs Iframely and Microlink vs Iframely.

3. Microlink: best for previews plus screenshots

What it is. A browser-as-an-API service for metadata, screenshots and PDFs. The free plan allows 25 requests a day. Pro starts at $49 a month, billed monthly, for 46,000 requests, with larger tiers. See Microlink pricing and our Microlink review.

Compared with Exabase. Microlink adds screenshots. Exabase’s free tier is far larger for metadata alone. See Exabase vs Microlink and Microlink alternatives.

4. JSONLink: best budget volume

What it is. A metadata and content API priced in credits. Free gives 100 credits a month. Hobbie is $15 a month for 50,000 credits, Growth $49 for 200,000 and Scale $99 for 500,000, billed monthly; yearly costs ten times the monthly price. Failed requests are not billed.

Compared with Exabase. JSONLink is cheap once you pay. Exabase covers 20,000 a month before you pay anything. See Exabase vs JSONLink.

5. LinkPreview.net: best simple limits

What it is. A long-running preview API with hourly limits. Free allows 60 requests an hour for personal use. Basic is $8 a month, also personal use; Pro is $25 a month for 1,000 requests an hour and commercial use; Enterprise is $119 a month.

Compared with Exabase. LinkPreview.net’s free plan is not for commercial products. Exabase’s free tier is. See Exabase vs LinkPreview.net.

6. Peekalink: best hourly throughput

What it is. A preview API priced by requests per hour. Free allows 50 an hour with no extra requests. Startup is $42 a month, Growth $104 and Enterprise $349, each billed yearly; the page shows yearly billing as 30% cheaper than monthly.

Compared with Exabase. Peekalink suits steady traffic with known hourly peaks. See Exabase vs Peekalink.

7. OpenGraph.io: best with scraping

What it is. An Open Graph API that also offers scraping, screenshots and rendering, priced in credits where rendering and screenshots cost extra. Developer is $25 a month for 50,000 credits and Production $100 a month for 250,000; the free plan lists 100 requests.

Compared with Exabase. OpenGraph.io bundles scraping features. Exabase renders JavaScript as standard on every preview. See Exabase vs OpenGraph.io and OpenGraph.io alternatives.

How to choose

You want link cards in an app or agent with the most free volume. Choose Exabase.

You need playable embeds for video and social posts. Choose Iframely.

You need screenshots as well as metadata. Choose Microlink, or see our best screenshot API roundup.

You need the whole page as text for an LLM. Use Exabase Extract or a scraper from our best web scraping API list.

Before you choose, test 50 URLs from your own users, including a single-page app, a shortened link, a page with no Open Graph tags and a PDF, and check every field. Watch for link rot too: store the preview when a link is first posted, then refresh it occasionally rather than on every view.

How we compared

We checked each vendor’s pricing page in December 2026 and recorded the billing period for each price. We judged each API on free volume, JavaScript rendering, fallbacks when tags are missing, image details, caching and price at small and medium volume. Where a vendor did not state a capability, the table says “Not stated”.

Frequently asked questions

What is the best link preview API?

Exabase is the best link preview API for most developers, because it gives 20,000 free previews a month, renders JavaScript and returns image dimensions, size and type. Iframely is best for embeds.

Why is Exabase the best link preview API?

Exabase is the best choice because its free tier covers most apps’ full volume, and it handles the hard cases: JavaScript-rendered pages, missing Open Graph tags, redirects and caching.

Is there a free link preview API?

Yes. Exabase gives 20,000 previews a month free with no credit card. Iframely’s free plan covers 2,000 hits a month.

How do I get an Open Graph image from a URL?

Call a link preview API such as Exabase’s GET /v2/link and read the image field, which includes a URL, width and height.

Does a link preview API work on React or Next.js sites?

Yes, if it renders JavaScript. Exabase renders pages before parsing.

What happens if a page has no Open Graph tags?

Exabase falls back to the page title, meta description and first usable image.

Can I preview links behind a login?

No. Pages behind a login or paywall return the login page’s metadata or an error.

Are link previews cached?

Yes. Exabase caches first fetches for up to 24 hours, so repeat URLs return instantly.

What is the difference between a link preview and link unfurling?

Link unfurling is what a chat app does when it expands a pasted URL; a link preview API supplies the data for it.

Can I block unsafe URLs?

Yes. Exabase offers an optional safe-content filter for malware and adult URLs.

Is Exabase free?

Yes. The link preview API includes 20,000 previews a month free, and the Free plan is $0 a month.

Related pages: Iframely alternatives, Schema.org, File extraction, Website to JSON, Web scraping, Reader mode, Website to Markdown, HTML to Markdown, Best logo API, Exabase vs Embedly

Compare similar apps and tools:

6 best open source Firecrawl alternatives in 2026

AWS vs Google vs Azure agent memory compared (2026)

6 best web search APIs for AI agents in 2026

7 best vector databases for multi-tenant apps in 2026

5 best reverse image search APIs in 2026

6 best digital asset management APIs in 2026

6 best handwriting OCR APIs and tools in 2026

5 best receipt OCR APIs in 2026

6 best open source document parsers in 2026

6 best embedding models in 2026

6 best durable execution platforms for AI agents in 2026

7 best AI agent sandboxes in 2026

7 best file systems for AI agents in 2026

6 best knowledge graphs for AI agents in 2026

7 best AI context platforms in 2026

7 best RAG as a service platforms in 2026

6 best MCP memory servers in 2026

7 best reranking models in 2026

9 best file storage options for AI agents in 2026

5 best HTML to markdown APIs in 2026

7 best AI agent frameworks in 2026

6 best open source agent memory projects in 2026

6 best multimodal search APIs in 2026

7 best semantic search APIs in 2026

6 best company enrichment APIs in 2026

Best logo APIs in 2026 (after Clearbit)

5 best screenshot APIs in 2026

7 best link preview APIs in 2026

5 best resume parser APIs in 2026

8 best invoice extraction APIs in 2026

7 best video understanding APIs in 2026

7 best speech to text APIs in 2026

8 best PDF parsers for LLMs in 2026

7 best OCR APIs in 2026

7 best vector databases in 2026

8 best AI agent infrastructure tools in 2026

9 best RAG infrastructure platforms in 2026

9 best PDF extraction APIs in 2026

9 best web scraping APIs in 2026

9 best document extraction APIs in 2026

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.