Facebook and TikTok Video Download API

API ID 3581

"The Facebook and TikTok Video Download API makes it easy to download videos seamlessly from Facebook and TikTok, giving users easy access to their favorite content."

100% uptime 4,104 ms avg response

API Documentation

Endpoints

Request

To use this endpoint you must indicate the URL of a video in the parameter.

Endpoint ID: 6359
POST https://zylalabs.com/api/3581/facebook+and+tiktok+video+download+api/6359/all+downloader
INPUT PARAMETERS

All downloader — Endpoint Features

Object Description
Request Body Required Json

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

API EXAMPLE RESPONSE
JSON
{"url":"https://www.facebook.com/PlacidoDomingo/videos/rafael-nadal/988027342996901/","source":"facebook","title":"Rafael Nadal | ¡Que inmenso placer y sorpresa haberte saludado antes del concierto  querido Rafa! SANI FESTIVAL Sani Resort Rafa Nadal 🙏🏻😉 | By Placido DomingoFacebook","thumbnail":"https://scontent.fhan5-10.fna.fbcdn.net/v/t15.5256-10/450148150_490381933349156_4874010941045248560_n.jpg?stp=dst-jpg_s960x960&_nc_cat=111&ccb=1-7&_nc_sid=cb5bf7&_nc_ohc=dqCbdPwtbrUQ7kNvgGf7xJF&_nc_ht=scontent.fhan5-10.fna&_nc_gid=Ap7RhCpGXSnURen-Ee5MGNq&oh=00_AYBXhk3zhMySzumHYBPGzblSzibck-lw47LD7IW40rkLmw&oe=66E4DEE8","duration":27200,"medias":[{"url":"https://video.fhan5-8.fna.fbcdn.net/o1/v/t2/f2/m69/An864_CSxQ8AOXHT0ehQ-6P51tgH7lN22ebvcVYnulKN0v2v6rILSgVza_m6HS05AzZ2ppWHSt5EBhnDlrCopQA.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=video.fhan5-8.fna.fbcdn.net&_nc_cat=109&strext=1&vs=c5e2c124cbbb7ea0&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HUGMzMWhxblZDSmh1RXNjQUpnQWpsaF9hdkZlYm1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91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lbmNvZGluZ3MA&ccb=9-4&oh=00_AYCoyZao9N6goc7Kj6aMtgTOVEs_8c7vHdidQ0...","quality":"HD","extension":"mp4","type":"video"},{"url":"https://video.fhan5-2.fna.fbcdn.net/v/t42.1790-2/450118821_446814714830471_2918823216450358718_n.mp4?_nc_cat=102&ccb=1-7&_nc_sid=55d0d3&efg=eyJybHIiOjQ1NywicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIiwidmlkZW9faWQiOjk4ODAyNzM0Mjk5NjkwMX0%3D&_nc_ohc=LJLhrlNYD7IQ7kNvgHCUZLu&rl=457&vabr=254&_nc_ht=video.fhan5-2.fna&_nc_gid=Ap7RhCpGXSnURen-Ee5MGNq&oh=00_AYBeuDTwAQdra0oR3bCsJ-oM50FcxoCJz9UevEAVlnPcvQ&oe=66E4F19B","quality":"SD","extension":"mp4","type":"video"},{"url":"https://video.fhan5-11.fna.fbcdn.net/v/t39.25447-2/450277126_1007796534044327_5646634788762370147_n.mp4?_nc_cat=100&ccb=1-7&_nc_sid=9a5d50&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfYXVkaW9fYWFjcF82NF9mbm9ybTE0X2ZyYWdfMl9hdWRpbyIsInZpZGVvX2lkIjo5ODgwMjczNDI5OTY5MDF9&_nc_ohc=sJmidxgVYgsQ7kNvgFk4Zrr&_nc_ht=video.fhan5-11.fna&_nc_gid=Ap7RhCpGXSnURen-Ee5MGNq&oh=00_AYBPhP0-GLaIYDj1JUaxWEoDc5Ecxcaa9jDvxaxSzUu2tQ&oe=66E50B32","quality":"Audio","extension":"mp3","type":"audio"}],"type":"multiple","error":false}
All downloader — CODE SNIPPETS

curl --location --request POST 'https://zylalabs.com/api/3581/facebook+and+tiktok+video+download+api/6359/all+downloader' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "url": "https://www.facebook.com/PlacidoDomingo/videos/rafael-nadal/988027342996901/"
}'

    

API Access Key & Authentication

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 and TikTok Video Download API simply include your bearer token in the Authorization header.

Headers
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 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

About the API:  

In the era of social media dominance, platforms like Facebook and TikTok have become titans in the realm of video content creation and sharing. As users around the world interact with these platforms to share their stories, moments and creative expressions, the need for tools that enable seamless access to this content has become increasingly pronounced. Enter the Facebook and TikTok Video Download API, a powerful solution designed to give users the ability to download videos from these popular social media platforms, encouraging content accessibility and improving user experiences.

In essence, the Facebook and TikTok Video Download API serves as a bridge between users and the vast repository of video content hosted on Facebook and TikTok. By leveraging this API, both developers and users can retrieve videos from specific posts, profiles, or hashtags and seamlessly integrate them into their apps, websites, or personal collections. This capability not only enriches the content ecosystem but also allows users to interact with their favorite videos in new and innovative ways.

One of the key features of the Facebook and Facebook and TikTok Video Download API is its simplicity and ease of use. With a simple interface and intuitive methods for querying video content, users can retrieve videos from desired sources with minimal effort. Whether downloading a single video or retrieving a collection of videos based on specific criteria, the API offers flexibility and convenience to meet various use cases and requirements.

Additionally, the Facebook and TikTok Video Download API prioritizes reliability and performance, ensuring a seamless user experience across multiple platforms and devices. The API delivers fast and efficient video downloads, regardless of the volume or complexity of the requested content. This reliability is essential for users who depend on constant access to video content for their applications or personal use.

In conclusion, the Facebook and Facebook and TikTok Video Download API represents a significant advance in the area of ​​content accessibility and user empowerment. By providing seamless access to video content from two of the most popular social media platforms, the API improves the digital experience for both users and developers. With its simplicity, reliability, and compliance with platform guidelines, the API embodies the spirit of democratizing access to content and fostering a more inclusive digital ecosystem.

 

What this API receives and what your API provides (input/output)?

It will receive parameters and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Content Sharing Platforms: API integration into content sharing platforms to allow users to download videos from Facebook and TikTok to repost or share on other social media platforms.

    Content Aggregation Apps – Developing apps that aggregate popular videos from Facebook and TikTok, allowing users to download and watch them offline.

    Video Editing Software – API integration into video editing software to make it easy to import Facebook and TikTok videos for editing purposes.

    Educational platforms: Allow educators to download instructional videos from Facebook and TikTok to use in presentations and educational materials.

    Research and Analysis: Analysis of trends and user engagement by downloading and analyzing Facebook and TikTok videos for market research or academic studies.

     

Are there any limitations to your plans?

Besides the number of API calls per plan, there are no other limitations.

Facebook and TikTok Video Download API FAQs

To use this API you must indicate the URL of a TikTok or Facebook video to download it.

The Facebook and TikTok Video Download API allows users to programmatically download videos from the Facebook and TikTok platforms.

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.

Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.

The endpoint returns a JSON object containing details about the requested video, including its URL, source (Facebook or TikTok), title, thumbnail, duration, and media links for downloading.

Key fields in the response include "url" (video link), "source" (platform), "title" (video title), "thumbnail" (image link), "duration" (length in seconds), and "medias" (array of downloadable video links).

The returned data is structured as a JSON object. It includes nested objects and arrays, allowing easy access to various attributes like video details and media links.

The primary parameter required is the "URL" of the video you wish to download. This URL must point to a valid Facebook or TikTok video.

Users can customize requests by providing different video URLs to download specific content. The API will return data relevant to the provided URL.

The response data is organized in a hierarchical structure, with top-level fields for general video information and nested arrays for media links, making it easy to parse and utilize.

Typical use cases include integrating video downloads into content sharing platforms, aggregating videos for offline viewing, and importing videos into editing software for content creation.

Data accuracy is maintained by directly accessing the video content from Facebook and TikTok, ensuring that the information retrieved reflects the most current state of the videos.

General FAQs

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

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.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

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.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs