- The bottom line for link previews in your app
- Plain metadata APIs
- Rich embeds and wider URL toolkits
- Why paying for this beats parsing Open Graph tags yourself
- Caching, image proxies and what to keep
- How the request meters add up
- Cards you style yourself, or embeds that play
- A test with your own awkward links
A hosted metadata API that returns a page's title, description, image and favicon from one call is the right fit for chat, bookmark and CMS link cards. Move up to an oEmbed rich embed service only when you need playable videos, posts and maps inline, and choose a wider URL API if screenshots or markdown are also on your roadmap.
Writing your own unfurler looks like an afternoon's job: fetch the page, read the Open Graph tags, show a card. Then the edge cases arrive. Sites that block your server, pages that render their tags with JavaScript, redirects that end on a cookie wall, images too big to load, favicons hiding in five different places. A link preview API exists to absorb all of that, and the question is less whether to use one than which kind.
The bottom line for link previews in your app
For a chat app, a notes or bookmark tool, a comment box or an internal dashboard, I'd use a plain metadata API. You send a URL, you get JSON with a title, description, image and favicon, and you render your own card in your own styles. It's the simplest kind to cache and the easiest to replace later.
For a publishing platform or a CMS where writers paste a video, a social post or a map and expect it to play right there, a plain card isn't enough. You need an oEmbed-style rich embed service that returns ready-made embed HTML for supported providers, with a plain preview as the fallback.
If you're building for AI agents, or you know you'll want page screenshots or a markdown copy of a page next to the preview, pick a multi-purpose URL API from the start. And if your product already shortens and tracks links, check whether your link-management API has a metatags endpoint before adding another vendor at all.
Plain metadata APIs
LinkPreview.net
Does one thing: send a URL to its JSON API and get the title, description and preview image back.
Peekalink
A link preview API built for developers, with each plan defined by how many requests you can make per hour.
URL Meta
One API call returns a page's meta tags, description, favicon and logo, with screenshots and DNS records offered too.
Dub metatags API
Part of a link-management API, this endpoint retrieves the metatags of any URL, handy if your links already run through Dub.
Rich embeds and wider URL toolkits
Microlink
Normalised metadata for any URL, plus screenshots and PDFs, from an API that suits apps wanting several page outputs.
Iframely
Publishers and product teams use it for rich media embeds, link previews and URL data through one service.
Embedly
A single subscription covering three jobs on a URL: embedding it, extracting its content and displaying it.
OpenGraph.io
URL intelligence APIs for previews, markdown, screenshots and embeds, now with endpoints aimed at AI agents.
JsonLink
Small metadata API returning title, images and favicon, with separate markdown and screenshot APIs on the same credits.
Why paying for this beats parsing Open Graph tags yourself
The tags themselves are simple. The trouble is everything around them. Some sites expect a browser, so a bare server request gets a bot check, a consent page or an empty shell that fills in with JavaScript later. Some sites have no Open Graph tags at all and need a fallback to the HTML title, the first large image and the description meta tag. Others point their og:image at a file that's huge, missing or served from a domain that blocks hotlinking.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
Then there's your own exposure. If your server fetches any URL a user pastes, you've built a way for someone to make your server request internal addresses on your network, a classic server-side request forgery hole. Handing that fetch to an outside API moves it off your infrastructure. To me that alone is reason enough to pay, and it's a point worth raising with whoever reviews your security.
Caching, image proxies and what to keep
Whichever API you choose, call it once per URL, not once per view. Store the result with a timestamp, refresh it on a schedule that suits your content (news previews go stale faster than documentation links) and let users refresh a broken card by hand. That habit alone can keep you on a far smaller plan.
Proxy or copy the preview images through your own storage or CDN rather than hotlinking them. Hotlinked images break when the site changes, leak your users' IP addresses to every site they link to, and slow your page down. If links in your product are shortened and tracked anyway, it's worth knowing what metadata your URL shortener already collects, because the preview may be one field away.
How the request meters add up
Link preview APIs meter by requests, but the unit differs from vendor to vendor, and that's where buyers get caught out. Some free plans reset daily, some hourly, some monthly. Paid plans might be a monthly pack of hits with overage beyond it, an hourly ceiling that throttles bursts, or credits shared across previews, screenshots and markdown. An hourly cap hurts most when one user pastes a long list of links at once; a monthly pack hurts most when a post goes viral and every reader triggers a fresh lookup.
Read the licence line too. At least one vendor's free plan is for personal use only, with commercial use starting on a paid tier, so a free plan in production can break the terms even if it works. Figures for each sit on the vendor's pricing page, and they change, so check on the day. Then estimate your real volume as new unique URLs a month, not page views, because that's the number caching leaves you paying for.
Do you make link preview, unfurl or embed APIs? Tool makers can ask to be considered for a featured place on this list.
Cards you style yourself, or embeds that play
This is the fork that decides the shortlist. A metadata API gives you data and leaves the presentation to you. That's ideal when you want every card to look the same and match your brand, and when you'd rather a YouTube link showed a thumbnail you control than a player that loads its own scripts and cookies.
An oEmbed or rich embed service gives you HTML that the provider has blessed: a playable video, a full social post, an interactive map. It's what writers are used to on the big platforms. The cost is weight and control: third-party scripts on your pages, layouts that shift as embeds load, and privacy questions about what those providers set in your readers' browsers. Rich embed vendors tend to bill per hit or per URL, so a busy publication can find the meter turning faster than it expected.
You may well want both: rich embeds in long-form articles, plain cards in comments and chat. If that's you, one vendor that does both is simpler than two.
A test with your own awkward links
Take an hour and gather twenty or so links your users really paste. Include a news article behind a consent wall, a product page from a large online shop, a social post, a short link that redirects twice, a PDF, a page in a non-Latin script and a link to a site that's down. Send the same list through two shortlisted APIs and compare what comes back: is the title right, is there an image, is the image a sensible size, did the redirect resolve to the real page, and how long did each call take?
Also check what happens on failure. A good API returns a clear error and whatever partial data it has; a weak one times out and leaves your user staring at a spinner. If you'll want a visual capture of the page when there's no preview image, it's worth comparing the dedicated website screenshot tools against the screenshot add-ons these APIs offer.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.


