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);
    }
});


API Documentation

We've got what you need!


Preview links

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 is doing this work for you!


Get Started
...

Easy to use

Our servers will 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 either CORS or JSONP requests to bypass same-origin policy in your front-end application.


Documentation
...

Pricing


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

Free Plan


$ 0

Forever!

Personal Use
60 Requests / per hour
Unlimited API keys
SSL Requests
-
-

Get started

Basic Plan


$ 8

Per month

Personal Use
200 Requests / per hour
Unlimited API keys
SSL Requests
IP Whitelisting
Usage Analytics

Choose

Enterprise


$ 99

Per month

Commercial Use
5000 Requests / per hour
Unlimited API keys
SSL Requests
IP Whitelisting
Usage Analytics

Contact Us



Rate limits per requested domain may apply (max 1 request / per second / per domain)
All paid plans will be activated automatically after the purchase.
Our payment processor Paddle accepts PayPal, Apple Pay, and all major Credit/Debit Cards, local taxes may apply.

...


WordPress Plugin

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

Plugin operates in two different view modes - shortcode and Ajax tooltip on mouse over.



Download plugin