Link Preview API

Build beautiful link previews with Open Graph images, titles, and metadata

One API call returns everything needed for rich link previews: OG images, titles, descriptions, favicons, and logos. Perfect for chat apps, social platforms, and bookmarking tools.

Get 1000 free credits when you create an account.

What goes into a great link preview

Every element needed for rich, engaging link previews — from one API call.

OG Image Extraction
Get the perfect preview image from Open Graph tags (og:image). Brandohue detects the highest-resolution OG image for rich visual link previews.
Title & Description
Extract page title, meta description, and Open Graph title/description. Build previews with the same information social platforms and messaging apps display.
Favicon & Logo
Add domain favicons and company logos to your link previews for instant brand recognition. Differentiate links visually with favicons next to URLs.
Any URL, Any Platform
Works with any public URL regardless of the target platform. Extract metadata from blogs, news sites, SaaS pages, e-commerce, and company websites.

Platforms that benefit from link previews

Any app where users share URLs can use rich link previews.

Slack & Discord
Build rich unfurls with OG images for chat apps. Display website previews when users share links in channels and direct messages.
iMessage & Messaging
Generate rich link previews for messaging apps. Show title, description, and preview image when users share URLs.
Social Media
Create consistent link previews for Twitter, LinkedIn, Facebook, and other social platforms that display link cards.
Task & Project Management
Enrich links shared in Notion, Linear, Jira, Trello, and other project management tools with automatic previews.
Bookmarking & Read-Later
Build beautiful bookmark previews with title, description, and thumbnail for Pocket, Instapaper, and custom reading apps.
Email Clients
Generate link previews in email signatures, newsletter links, and email content — like Gmail and Outlook do for popular sites.

Frequently Asked Questions

How do I build link previews with Brandohue?
When a user shares a URL, call Brandohue's /api/v1/extract with that URL. The API returns ogImage (the preview image), title, description, and faviconUrl. Use these fields to construct your link preview UI — show the OG image as a thumbnail, the title as the headline, the description as the body, and the favicon next to the domain name.
What if a website doesn't have Open Graph tags?
Brandohue handles this gracefully: if og:image is not set, the response field will be null so your app can show a fallback (text-only preview or a generic placeholder). If og:title is missing, Brandohue falls back to the HTML <title> tag. The API always returns the best available data — your app just needs to handle null fields in the UI.
How fast is metadata extraction for link previews?
Most extractions complete in under 3 seconds. For link previews where speed is critical, enable caching (useCache: true) — cached responses are near-instant and cost 0 credits. Set an appropriate cache TTL based on how often the target content changes.
Can I use this for Slack unfurls and Discord embeds?
Yes. Brandohue provides all the fields needed for rich link unfurling: title, description, og:image (or twitter:image as fallback), and favicon. Integrate with Slack's unfurl API or Discord's embed system to automatically generate previews when users share links.
Does Brandohue handle JavaScript-rendered pages?
Yes. Brandohue uses a headless browser to render pages (including JavaScript-generated content) before extracting metadata. This means Open Graph tags, meta descriptions, and JSON-LD blocks are detected even on React, Vue, and other SPA websites that render metadata client-side.
What is the difference between link preview and brand metadata APIs?
The Brand Metadata API is the underlying capability that extracts OG tags, Twitter cards, and meta descriptions. Link preview is a use case — one of the most popular ways to apply that metadata. Brandohue returns all metadata in every API call, so you get link preview data and brand enrichment data from the same request.
How much does it cost to generate link previews?
Each link preview extraction costs 1 credit. Cached extractions (when the same URL was recently extracted and useCache is enabled) cost 0 credits. New accounts get 1000 free credits. For high-volume applications, consider caching results locally or using Brandohue's built-in cache to minimize credit usage.
Ready to get started?
Create a free account and get 1000 credits to start extracting brand intelligence from any website.