LinkPreview API

Preview Web Links with our Free API service. Get JSON Response for any URL.

LinkPreview Banner

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

jQuery Ajax:

$.ajax({
    url: "https://api.linkpreview.net?key=123456&q=https://www.google.com",
    success: function(result){
        console.log(result);
    }
});
 

We got what you need!

Link preview generator

I guess we all know what happens on Facebook when you paste an URL into a post?

Facebook's server automatically grabs the title, description, and picks a thumbnail image from the original website.

Our API service will do this work for you!

Get Started for Free

LinkPreview Card
 
LinkPreview Card

Reliable and easy to use

Building features is expensive. Building reliability is even more expensive.

Our battle-tested service will politely inspect any requested URL and return JSON formatted summary with a title, description and preview image.

Bypassing same-origin policy is handled automatically. You can use CORS or JSONP requests to bypass same-origin policy in your front-end application.

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
60 Requests / per hour
Unlimited API keys
SSL Requests
-
-
Basic Plan
$8/month
Personal Use
200 Requests / per hour
Unlimited API keys
SSL Requests
IP Allow List
Usage Analytics
Pro Plan
$25/month
Commercial Use
1000 Requests / per hour
Unlimited API keys
SSL Requests
IP Allow List
Usage Analytics
Enterprise
$99/month
Commercial Use
Pay As You Go
Unlimited API keys
SSL Requests
IP Allow List
Usage Analytics

*Rate limits per requested domain may apply (max 1 request / per second / per domain)
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.

Wordpress Plugin

It’s very convenient to show link preview info on your WordPress site. Filip Stepanov created a WordPress plugin using our service.

We would love to know what you come up with, so give it a try and show us what you’ve made.

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 like facebook are throwing "Forbidden by robots.txt" error

Some webistes like Facebook do not allow 3rd party services to access their site and collect data as you can see here. This is configured in their robots.txt file and that's why the error is thrown.

Can I request refund?

Unfortunately, not. No refunds, partial or otherwise, will be issued for any used or unused portion of any billing cycle or late cancellations.

Have a question?

Drop us a line