{"status":"success","message":"Video information retrieved successfully","data":{"video":{"id":"1146626242986335","title":"Untitled","description":null,"type":"Video","duration_ms":496304,"thumbnail_url":"https://scontent-iad3-2.xx.fbcdn.net/v/t15.5256-10/419379176_344165311797476_4051680846756107387_n.jpg?stp=dst-jpg_s960x960&_nc_cat=109&ccb=1-7&_nc_sid=be8305&_nc_ohc=hhcyIH1Tz3cQ7kNvgF_CGZK&_nc_zt=23&_nc_ht=scontent-iad3-2.xx&_nc_gid=AD1nYJpfNzdayd5DUda89C-&oh=00_AYBuqV1HSlziZWmL4MxdZ97EUoxVWx8YAFz4lva9k8mi8A&oe=674508F2"},"download":{"sd":{"url":"https://video-iad3-2.xx.fbcdn.net/o1/v/t2/f2/m69/AQPKjWg4lpzBjKf_pK8WajCEIM_x8lAZUDWxljSwx20lVZL8WMrrIpSe3R9Y_OfYmTdBIQCmZZE4Yp5AETPkh4Pa.mp4?strext=1&_nc_cat=105&_nc_sid=8bf8fe&_nc_ht=video-iad3-2.xx.fbcdn.net&_nc_ohc=BaJxe1h-i70Q7kNvgFrmXEm&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuNjQwLnN2ZV9zZCIsInhwdl9hc3NldF9pZCI6MzQ2OTQxNDkxNjI1MDM3LCJ1cmxnZW5fc291cmNlIjoid3d3In0%3D&ccb=9-4&_nc_zt=28&oh=00_AYCQaBcw185hRqWZB2QZJho2uWphlam-JuAW8zzyqzWo4A&oe=67450784","quality":"SD"},"hd":{"url":"https://video-iad3-1.xx.fbcdn.net/o1/v/t2/f2/m69/AQMD4RhAyKh_1lDDfGhMECKauycqvyB7x11zZWGdlQlcPeGt67nNg8YGJBudXOAFcx_zWK7gSIi1dOdjEUcmBf49.mp4?efg=eyJ4cHZfYXNzZXRfaWQiOjM0Njk0MTQ5MTYyNTAzNywidmVuY29kZV90YWciOiJ4cHZfcHJvZ3Jlc3NpdmUuRkFDRUJPT0suLkMzLjEyODAuZGFzaF9oMjY0LWJhc2ljLWdlbjJfNzIwcCJ9&_nc_ht=video-iad3-1.xx.fbcdn.net&_nc_cat=106&strext=1&vs=a63f7ab16cd8be19&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HSUNXbUFEUzZXbTVIYXNFQUlSS2ZzNUNVWkZ4Ym1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dGS0lCeGxDaGVSLTVnRUZBRHdENVBFUDc3b09idjRHQUFBRhUCAsgBACgAGAAbAogHdXNlX29pbAExEnByb2dyZXNzaXZlX3JlY2lwZQExFQAAJprx7cXT4p0BFQIoAkMzLBdAfwTMzMzMzRgZZGFzaF9oMjY0LWJhc2ljLWdlbjJfNzIwcBEAdQIA&ccb=9-4&oh=00_AYBIYOPGyNuMgs271o6vfpjEZTrv9Dbp43M31Dyy7X4Sew&oe=67410AF1&_nc_sid=1d576d","quality":"HD"}}},"metadata":{"process_time_ms":1007,"api_version":"1.0","timestamp":"2024-11-21T13:44:42.096Z"}}
curl --location --request GET 'https://zylalabs.com/api/5557/facebook+media+fetcher+api/7200/extract+content?url=https://www.facebook.com/watch/?v=1146626242986335' --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 Media Fetcher 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 🎉)
Facebook Media Fetcher API simplifies the process of extracting and retrieving video content hosted on Facebook. With this API, users can easily add features to their applications or services that allow for video downloads, enabling offline viewing or other uses, all in compliance with Facebook's terms of service. This integration enhances Facebook's capabilities, offering users more flexibility in managing and interacting with the diverse content shared across the platform.
Essentially, Facebook Media Fetcher API serves as a link between users and the platform's extensive video library. By utilizing this API, users gain the tools needed to interact programmatically with Facebook's video infrastructure, simplifying video retrieval and privacy management within the platform.
To use this API, users will have to indicate the URL of a Facebook content to obtain its download.
The Facebook Media Fetcher API is a set of programming protocols that facilitates the extraction and retrieval of video content hosted on the Facebook platform.
There are different plans to suit all tastes, including a free trial for a small number of requests, but your rate is limited to avoid abuse of the service.
By using the API, you can download videos from Facebook immediately, making it easy to get relevant content for your specific needs. This streamlines the process of accessing specific videos, allowing you to quickly use them for a variety of applications, such as analytics, marketing, content creation or research.
The API uses API keys for authentication. To access the API, include your API key in the request header. The API key is provided upon registration and should be kept secure.
The Extract Content endpoint returns detailed information about a specified Facebook video, including its ID, title, description, duration, thumbnail URL, and download links for different quality formats.
Key fields in the response include "id" (video identifier), "title" (video title), "duration_ms" (length in milliseconds), "thumbnail_url" (link to the video thumbnail), and "download" (URLs for downloading the video in various qualities).
The response data is structured in a JSON format, with a top-level "status" and "message" indicating the success of the request, followed by a "data" object containing video details and download options.
The primary parameter for the Extract Content endpoint is the "url" of the Facebook video. Users must provide a valid video URL to retrieve its associated data.
Users can customize their requests by specifying different video URLs to extract information for various videos. The API does not support additional parameters for filtering or sorting results.
Typical use cases include content curation, video analytics, marketing campaigns, and research, where users need to access and utilize specific video content from Facebook.
Data accuracy is maintained through direct integration with Facebook's video infrastructure, ensuring that the information retrieved reflects the current state of the video content on the platform.
If users receive partial or empty results, they should verify the provided video URL for correctness and ensure that the video is publicly accessible on Facebook.
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