{
"success": true,
"id": "09a5d71a0a436f77096bce941737b4674d926c1f",
"image": "https://www.facebook.com/images/fb_icon_325x325.png",
"progress_url": "https://fb-download.zylalabs.com/api/progress?id=09a5d71a0a436f77096bce941737b4674d926c1f",
"message": "Job started. Poll progress_url every 3–5 seconds until progress is 100, then use download_url."
}
curl --location --request GET 'https://zylalabs.com/api/11351/facebook+data+capture+api/31786/download?url=https://www.facebook.com/reel/1716864869572990/&format=mp4' --header 'Authorization: Bearer YOUR_API_KEY'
{
"success": true,
"post_id": "1716864869572990",
"title": "11K views · 88 reactions | ⚠️ ADVERTENCIA: Cada detalle de esta publicación ha sido creado para que sientas el placer de conducir 🙂↕️ #OMODA5SHS | Omoda Jaecoo España",
"duration": 15,
"author": null,
"views": null,
"likes": 73,
"image": "https://scontent-lga3-3.xx.fbcdn.net/v/t51.82787-15/783144007_18064358021738741_5417564166543599844_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=a27664&_nc_ohc=CTsW4kYpElQQ7kNvwG2Exca&_nc_oc=AdoZh4Z0kATuz9mWt-Ftpfo8tdf06RFgx1nUKwKdhTZaA8Ty8mJ5sJvOhjOpgQnLFMc&_nc_zt=23&_nc_ht=scontent-lga3-3.xx&_nc_gid=X9jcO2KEtwiq2fCni03KeQ&_nc_ss=79289&oh=00_AQJubdw4UZD5pnNnxr6zk2AOFxM_y5_2AfDx21OKmBIscA&oe=6AB34343",
"media_kind": "video",
"url": "https://www.facebook.com/reel/1716864869572990/"
}
curl --location --request GET 'https://zylalabs.com/api/11351/facebook+data+capture+api/31792/video+information?url=https://www.facebook.com/reel/1716864869572990/' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Facebook Data Capture API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Facebook Data Capture API retrieves downloadable media from public Facebook Reels and videos.
How it works (Download):
1. Call Download with a Facebook URL and format. You receive an id and progress_url.
2. Poll progress_url every 3–5 seconds until progress is 100.
3. Use download_url from the progress response to retrieve the media (typically MP4 via Facebook CDN).
Video Information returns metadata (post/video ID, title, author, duration, engagement metrics when available, thumbnail) without completing a full media download workflow when cached/available.
Scope:
- Supported: public Reels (/reel/…), Watch (/watch/?v=), Videos (/videos/…), and fb.watch/… links.
- Not supported: Facebook Stories, private/login-required content.
- format is required for Hub compatibility (mp4, 720, 1080, etc.); the API returns the best available Facebook CDN URL (no server-side quality conversion or audio extraction).
- Progress polling uses the progress_url from Download (not a separate marketplace endpoint).
Use the download_url from progress to fetch the file. Do not expect the Hub to proxy binary media responses.
The Facebook Data Capture API allows users to download public Facebook Reels, videos from Watch, and videos from specific URLs. It does not support Facebook Stories or any private/login-required content.
To download media, you first call the Download endpoint with a Facebook URL and desired format. The API then provides an id and a progress_url. You need to poll the progress_url every 3-5 seconds until the progress reaches 100%. Finally, you can use the download_url from the progress response to retrieve the media.
The Video Information feature provides metadata such as post/video ID, title, author, duration, engagement metrics (when available), and thumbnail images without requiring a full media download.
The API requires a format specification (like mp4, 720, 1080, etc.) for compatibility. It returns the best available Facebook CDN URL for the specified format without performing server-side quality conversion or audio extraction.
The API can be used for various applications such as content archiving, media analysis, creating video compilations, or integrating Facebook video content into other platforms or applications, all while ensuring compliance with Facebook's public content policies.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund