Facebook data API

Facebook Downloader API

Send a temporary Facebook CDN link from any reel, video, post or story response to POST /v1/facebook/downloads and receive a time-limited direct download link for a stored MP4, merged HD video, MP3 audio or JPEG image.

Request

POST /v1/facebook/downloads · 1 to 2 credits per successful call

cURL
curl -X POST "https://api.igramapi.com/v1/facebook/downloads" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"video","url":"https://video.xx.fbcdn.net/v/example/clip-hd.mp4","filename":"fb-reel"}'

Response

200 OK · application/json
{
  "download_url": "https://download.example.com/files/fb-reel.mp4?signature=example",
  "expires_at": "2026-11-25T12:00:00Z",
  "filename": "fb-reel.mp4",
  "content_type": "video/mp4",
  "size_bytes": 4250000
}

All values above are made-up examples. Media links are temporary Facebook CDN addresses.

Parameters

NameInDescription
typerequired body video, audio, or image.
urlrequired body A Facebook CDN media URL from another endpoint response.
audio_url body Optional audio track URL to merge with a video-only DASH stream.
filename body Preferred filename for the download (extension added automatically).

Response fields

FieldTypeDescription
download_urlstringTime-limited direct download link (no API key needed).
expires_atstringISO 8601 expiry timestamp.
filename / content_type / size_bytesstring / integerFile name, MIME type and byte size.

HD DASH audio-video merge

Pass a high-resolution video-only track in url and its audio track in audio_url to receive one combined MP4.

MP3 extraction

Set type: "audio" to turn any video stream into a standalone MP3 file.

Browser-ready links

Returns a clean download_url that works directly in browsers with no extra headers or API key.

Fast repeat calls

Repeated requests for the same media reuse the stored copy.

When to use the Facebook Downloader

Facebook CDN links expire after a short window and highest-resolution DASH formats separate video and audio into two tracks. Send the link (and optional audio_url) to POST /v1/facebook/downloads to stage a single ready-to-save file.

Frequently asked questions

How many credits does a Facebook download cost?

Videos (including merged HD streams) cost 2 credits; MP3 audio and images cost 1 credit.

Which URLs can I pass to url?

Pass a valid HTTPS Facebook CDN link returned by /v1/facebook/reels, /videos, /posts or /stories.

Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.

Try the Facebook Downloader API free

Create a key and make your first request in minutes. 100 free credits every month.