LinkPreview API

Get basic website information from any given URL, in JSON format, for Free!

LinkPreview Banner

Used by thousands of developers all around the world:

Basic Example

 

API Request (GET):

http://api.linkpreview.net/?key=123456&q=https://www.google.com
 

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\/"
}
 

Nice, clean, secure

Build your own custom previews with our data, no more iframes.

 
preview
Vacation Rentals, Homes, Experiences & Places - Airbnb
Unforgettable trips start with Airbnb. Find adventures nearby or in faraway places and access unique homes, experiences, and places around the world.
https://www.airbnb.com/
preview
Ratched | Netflix Official Site
In 1947, Mildred Ratched begins working as a nurse at a leading psychiatric hospital. But beneath her stylish exterior lurks a growing darkness.
https://www.netflix.com/rs/title/80213445
preview
ItamaratyGovBr on Flickr
Dia do Diplomata – Cerimônia de Formatura da Turma João Cabral de Melo Neto (2019-2020) do Instituto Rio Branco e imposição de insígnias da Ordem de Rio Branco
https://www.flickr.com/photos/mrebrasil/sets/72157716571782516/
preview
zooeydeschanel on Instagram
A post shared by Zooey Deschanel (@zooeydeschanel)
http://instagram.com/p/V8UMy0LjpX/
preview
Canadanewsmedia on Twitter
Elon Musk’s SpaceX Launches Four Astronauts Into Orbit in NASA Mission - The Wall Street Journal has been published on Canada News Media - https://t.co/4WcSPl9UB7 #news https://t.co/JvHN2USNTE
https://twitter.com/canadanewsmedia/status/1329221548000079873
preview
Forgot what happened in The Mandalorian’s first season? Disney has you covered
Disney has made a short video to remind us what happened during The Mandalorian’s first season.
https://www.theverge.com/2020/10/28/21538716/mandalorian-season-1-recap-video-disney-plus-baby-yoda-moff-gideon-premiere-date
preview
On the horizon: the end of oil and the beginnings of a low-carbon planet
With demand and share prices dropping, Europe’s fossil fuel producers recognise that peak oil is probably now behind them
https://www.theguardian.com/business/2020/nov/01/end-of-oil-and-beginnings-of-a-low-carbon-planet
preview
Lucy King: How bees can keep the peace between elephants and humans
In this engaging talk, zoologist Lucy King shares her solution to the rising conflict: fences made from beehives that keep elephants at bay while also helping farmers establish new livelihoods.
https://www.ted.com/talks/lucy_king_how_bees_can_keep_the_peace_between_elephants_and_humans

Frontend Example

We got what you need!

Link preview generator

Link previews have made their way into almost every social media app. Whenever a link contains news or YouTube video, it gets shared on various messaging apps such as WhatsApp or Telegram, the recipient can see the content of the link shared with them.

Furthermore, the recipient does not have to directly click on the link which naturally makes things easier for everyone because the users do not have to leave the app to view the content.

Get Started for Free

LinkPreview Card
 
LinkPreview Card

Preview without being blocked

We support many popular websites and content providers through our direct integrations. Our provider list includes Amazon, Youtube, Twitter, Facebook, Instagram, Wikipedia, Airbnb, The New York Times, The Guardian, Soundcloud, Ted Talks, Vimeo, Giphy, and many others.

We have built those custom integrations for you so you can focus on your own thing. Check our docs and add a link preview feature to your app or website today!

See Examples

Pricing

You can start with our Free Plan to see if this service can meet all your needs.

 
Free Plan
$0/month
Personal Use
Cloud API
60 Requests / per hour
Unlimited API keys
-
-
Basic Plan
$8/month
Personal Use
Cloud API
200 Requests / per hour
Unlimited API keys
IP Allow List
Usage Analytics
Pro Plan
$25/month
Commercial Use
Cloud API
1000 Requests / per hour
Unlimited API keys
IP Allow List
Usage Analytics
Enterprise Plan
$199/month
Commercial Use
Cloud API
100 Requests / per minute
Unlimited API keys
IP Allow List
Usage Analytics
Self Hosted
Contact us
Enterprise customers
On-premise, VPS or Lambda
Unlimited requests
License key
N/A
N/A

All paid plans will be activated automatically after the purchase. You can cancel at any time. Local taxes may apply.
Our order process is conducted by our online reseller Paddle.com. Paddle.com is the Merchant of Record for all our orders. Paddle provides all customer service inquiries and handles 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

Got a question? We've got answers. If you have some other questions, contact us using email.

Some sites return wrong or blank summary information?

Our service is based on well-known web page standards. Unfortunately, some webmasters do not follow best practices and therefore we cannot guarantee the correct response data for every URL.

What if I don't want LinkPreview to crawl my site?

Our service adheres to robots.txt rules so all you have to do is tell us using your robots.txt file. LinkPreview API identifies itself as “linkpreview” in the HTTP “User-agent” header field.

For some URLs response time is way too long

Our API response time depends on external websites that we cannot control. Some sites are simply slow and we must wait for them to load in order to get and process the data.

How the API rate is calculated?

The hourly counters for your API key reset on a rolling basis. Example for PRO Plan: If you made 500 requests at 10:15AM and 500 requests at 10:25AM, your API key would become temporarily blocked. This temporary block of your API key would cease at 11:15AM, at which point you could make 500 requests. At 11:25AM, you could then make another 500 requests.

Some websites are throwing 423 "Forbidden by robots.txt" error

Some websites do not allow 3rd party services to access their site and collect data. This is configured in their robots.txt file and that's why the error is thrown.

I am getting 4xx error on response

Please check our documentation for the exact error code reference and description here.

Have a question?

Drop us a line