Video Downlaoder API Documentation

Downloader API

Get direct links to download video or audio and images files from almost any hosting website, like Youtube, Instagram, Facebook, Tiktok, etc with download API.
Download any videos, audios, and images from multiple websites in HD quality


Parameters

Parameters Details
API Key You need an API key to API our database. Your API Key is the unique key that is passed into the API base URL's api_key parameter to authenticate with the Keep Save It API.
URL Set your video download url like https://vimeo.com/259411563 please set url encode form.
Output
(Optional)
Set your API response format.
Default: JSON
Valid Values: JSON, JSONP, object, XML, serialize and array

Supported Sites (26)

  • Youtube video or audio (mp3) download.
  • Instagram video or images download.
  • Imgur video or images download.
  • 9gag video or images download.
  • Pinterest video or images download.
  • Tiktok with watermark or without watermark video download.
  • Like with watermark or without watermark video download.

All List: Youtube, Facebook, Instagram, Ok.ru, Twitter, Tiktok, Like, Kwai, 9gag, Vimeo, Imgur, Pinterest, Bandcamp, Flickr, FThis, Gfycat, Abcnews, Izlesene, Liveleak, Mashable, Newsflare, TED, Tumblr, Videoclip, WWE, Vigovideo.


Get Started

API Access Key
You need an access key in order to access our database. Your access Key is the unique key that is passed into the API base URL's api_key parameter in order to authenticate with the Keep Save It API.

Sample API:

http://keepsaveit.com/api/?api_key=DEMO_KEY&url=https%3A%2F%2Fvimeo.com%2F259411563
Sign up for a free using the button below to use the our Quick start tool.
Signup


API Response

Online video downloader api free use and multiple supported sites.

Example Response: Below you will find an example API response carrying many common download URLs, all relative to the URL download and time-stamped at the exact time they were collected.

{ 
  "status": true,
  "code": 200,
  "msg": "Successfully",
  "domain": "Vimeo",
  "response": {
    "title": "A Love Letter to Winter",
    "thumbnail": "https://i.vimeocdn.com/video/687867313_1280.jpg",
    "links": [
      {

        "ext": "mp4",
        "resolution": "1080p",
        "url": "https://vod-progressive.akamaized.net/exp=1584862482~acl=%2A%2F952891821.mp4%2A~hmac=4f73fd51b033b45f9158662ef0e79ad55217dde5343c606276e4edde3362ae6a/vimeo-prod-skyfire-std-us/01/1882/10/259411563/952891821.mp4",
        "size": "93.47 MB"
      },
      {

        "ext": "mp4",
        "resolution": "720p",
        "url": "https://vod-progressive.akamaized.net/exp=1584862482~acl=%2A%2F952891829.mp4%2A~hmac=0b12a627bebecf9e94bc67e5c878017e65c242e29fe45515ca797908d76e3217/vimeo-prod-skyfire-std-us/01/1882/10/259411563/952891829.mp4",
        "size": "50.09 MB"
      },
      {
and more},
    ]
  }
}

Sample Code PHP (GET Request)

Download video URL: Find below a simple PHP example for getting download links data via the Keepsaveit API.

$api_key = "DEMO_KEY"; // Your API access key, Signup to get API KEY 
$url = urlencode("https://vimeo.com/259411563");

// Enter your API URL below
$api_url = "http://keepsaveit.com/api/?api_key=".$api_key."&url=".$url;

// Initialize CURL:
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$json = curl_exec($ch); // Store the data
curl_close($ch);

$data = json_decode($json, true); // convert JSON into Array
foreach ($data['response'] as $key => $value) {
  echo "<br>URL Video Download: ".$value['url'];
}

Sample Code PHP (POST Request)

$api_key = "DEMO_KEY"; // Your API access key, Signup to get API KEY 
$url = urlencode("https://vimeo.com/259411563");

// Enter your API URL below
$api_url = "http://keepsaveit.com/api/";
$post_data = "api_key=".$api_key."&url=".$url;

// Initialize CURL:
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
$json = curl_exec($ch); // Store the data
curl_close($ch);

$data = json_decode($json, true); // convert JSON into Array
foreach ($data['response'] as $key => $value) {
  echo "<br>URL Video Download: ".$value['url'];
}

Sample Code jQuery.ajax

Download video URL: Find below a simple jQuery.ajax example of getting video URL's data via the keepsaveit API.

<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> 
<script>
api_key = "DEMO_KEY"; // Your API access key, Signup to get API KEY
url = encodeURIComponent("https://vimeo.com/259411563");

$.ajax({
    url:
"http://keepsaveit.com/api/?api_key=" + api_key + "&url=" + url,
    type:
"GET", // GET or POST
    dataType: "json",
    success: function(data) {
        console.log("URL Video Download: " + data.response[0].url);
    }
});

</script>

Errors

There are multiple errors that help you to understand issue with your API response.

Code Details
200 Your API is working. Response successfully
212 Access block for you, You have reached maximum 5 limit per minute hits, please stop extra hits. Restriction remove after 1 minute.
101 API Key error : Your access key is wrong, Please login in your dashboard and get your API KEY.
102 Your Account is not activated, Please check your email to activate it.
103 Your account is suspend for some resons, Please contact us, to activate it.
104 API Key error : You have not set your api_key in parameters.
111 Full access is not allow with DEMO API key, so please signup and get your api key to unlock full access.
112 Sorry, Something wrong, or an invalid link. Please try again or check your url.
113 Sorry this website is not supported.
404 The link you followed may be broken, or the page may have been removed.
405 You can't download media in private profile. Looks like the video you want to download is private and it is not accessible from our server.