Get Download Link

Get direct download link from platform

Overview

Below is an example of how to use the API to get the video download link of the platforms.

Proxy is required to get the list of download links.

API Request

Endpoint: https://api.apify.com/v2/acts/wilcode~all-social-media-video-downloader/runs?token=<YOUR_API_TOKEN>

Method: POST

Headers:

{
  "Content-Type": "application/json"
}

Request Body:

{
  "url": "https://www.youtube.com/watch?v=HCjNJDNzw8Y",
  "proxySettings": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CA"
  }
}

cURL

JSON Results

The list of download links and resolutions will be listed in the formats attribute.

Other language examples

Fetch in JavaScript

Python

C#

Last updated