Merge Audio & Video for Instagram/Facebook

Merge video and audio from Instagram/Facebook and other sources

Overview

The difference between Get Direct Link and Download and Merge is that the video will be downloaded, audio and video will be merged and then the share link will be created

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.facebook.com/reel/1231817508603093",
  "proxySettings": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CA"
  },
  "mergeAV": true
}

cURL

JSON Results

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

The download url is the file saved in your Storage (Apify), this link will be automatically generated

Other language examples

Fetch in JavaScript

Python

C#

Last updated