LinkPreview API
Extract website preview data from any URL with a fast, reliable JSON API.
Used by thousands of developers around the world
Basic Example
API Request (GET):
curl "https://api.linkpreview.net/?q=https://google.com" -H "X-Linkpreview-Api-Key: 123456"
API Response (JSON):
{
"title":"Google",
"description":"Search webpages, images, videos and more.",
"image":"https://www.google.com/images/logo.png",
"url":"https://www.google.com/"
}
Scalable and cost-effective
Operational since 2014, serving millions of requests each day
Everything you need
Link preview generator
Link previews are now part of almost every social app. When someone shares a news article or a YouTube video in WhatsApp, Telegram, or similar apps, the recipient can see what the link contains before they open it.
They don’t have to tap the link or leave the app just to understand what’s being shared.
Skip the usual roadblocks
We support many popular websites and content providers through our direct integrations. Our provider list includes Amazon, YouTube, X, Wikipedia, Airbnb, The New York Times, The Guardian, SoundCloud, TED, Vimeo, Giphy, and many others.
We maintain those integrations so you can focus on your product. Read the docs and add link previews to your app or website today.
Pricing
You can start with our Free Plan to see if this service can meet all your needs.
All paid plans are activated automatically after purchase. You can cancel at any time. Local taxes may apply.
Checkout is handled by our reseller Paddle.com, the Merchant of Record for all orders. Paddle handles customer service and returns.
*Rate limits per requested domain may apply to protect smaller websites (max 1 request per second per unique domain)
Direct integrations
We support many popular content providers and always keep our custom integrations up to date.
Frequently Asked Questions
If you have another question, contact us by email.
Why do some sites return a blank or incorrect summary?
Our API follows common web page standards. Some sites do not follow those standards, so we cannot guarantee complete data for every URL.
Can I cancel at any time?
Yes. You can cancel at any time. Sign in, open your Profile, and cancel from there.
Why are some URLs slow to respond?
Response time depends on the target website. If that site is slow to load, we have to wait before we can return a preview.
How is the rate limit calculated?
Hourly counters for your API key reset on a rolling basis. Example for the Pro Plan: if you make 500 requests at 10:15 AM and 500 more at 10:25 AM, your key is temporarily blocked. That block lifts at 11:15 AM, when you can make 500 requests again. At 11:25 AM you can make another 500.
Why do I get a 423 "Forbidden by robots.txt" error?
Some websites do not allow third-party services to fetch their pages. That is configured in their robots.txt file, which is why this error is returned.
Why am I getting a 4xx error?
See the error reference in our documentation for each status code and what it means.