TikTok Content Data API

API ID 4890

The TikTok Content Data API facilitates seamless integration by allowing users to download videos and retrieve key metadata from TikTok effortlessly.

100% uptime 332 ms avg response

API Documentation

Endpoints

Request

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

Endpoint ID: 6148
GET https://docs.zylalabs.com/api/4890/tiktok+content+data+api/6148/tiktok+extractor
INPUT PARAMETERS

TikTok Extractor — Endpoint Features

Object Description
url Required

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

url
API EXAMPLE RESPONSE
JSON
{"code":0,"msg":"success","processed_time":0.1605,"data":{"aweme_id":"v12044gd0000cafum43c77u65l2kj0jg","id":"7106658991907802411","region":"US","title":"which biome style are you? \ud83d\udef6\ud83d\udc20\ud83d\udd6f\ud83c\udfd4 #Minecraft","cover":"https:\/\/p16-sign.tiktokcdn-us.com\/tos-useast5-p-0068-tx\/bdcbc91de7a74ccda4195a6e164c9804~tplv-tiktokx-cropcenter:300:400.jpeg?dr=14579&nonce=26699&refresh_token=e0d02bcbe26bec5f8b598d723d48d0a0&x-expires=1734267600&x-signature=BH2XLOcsJ6v88H4whPygGdnWmpQ%3D&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","ai_dynamic_cover":"https:\/\/p16-sign.tiktokcdn-us.com\/tos-useast5-p-0068-tx\/65c6d1f23bfe4d0e88630a536f5fcacb_1654647989~tplv-tiktokx-origin.image?dr=14575&nonce=3104&refresh_token=1a4b0f5bbdcdecb39662f70228ea453f&x-expires=1734267600&x-signature=3qY5CpahBahO8ZbikpWLe7TLwGw%3D&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","origin_cover":"https:\/\/p16-sign.tiktokcdn-us.com\/tos-useast5-p-0068-tx\/8d1f933115514abbab4e3ce6a4d2b836_1654647988~tplv-tiktokx-360p.jpeg?dr=14555&nonce=6873&refresh_token=b8b1d739028b095aced30882925decce&x-expires=1734267600&x-signature=2sKFLOryWKPGTYZC4JwIRl1Eww4%3D&ftpl=1&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","duration":22,"play":"https:\/\/v16m-default.akamaized.net\/fc4d9dfbe1e75d6572cdf81867aea740\/675dd5ed\/video\/tos\/maliva\/tos-maliva-ve-0068c799-us\/4c875ae630294556bd3dd3810fd55c56\/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&cv=1&br=1366&bt=683&cs=0&ds=6&ft=XE5bCqT0m7jPD12XlwdJ3wUWrIyKMeF~O5&mime_type=video_mp4&qs=0&rc=aTU6NWQ5Z2lmaWU4N2hkOEBpajNubzk6Zjd4ZDMzZzczNEAvYl8wMzQxNV8xNDZjLjFiYSNnZy8ycjQwamNgLS1kMS9zcw%3D%3D&vvpl=1&l=20241214130038DB28CEFC1550F17F7727&btag=e000b8000","wmplay":"https:\/\/v16m-default.akamaized.net\/5f876098bb99823ac92bf152a39bbcc6\/675dd5ed\/video\/tos\/maliva\/tos-maliva-ve-0068c799-us\/eceab274c49b425bae240997e9764ff9\/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&cv=1&br=1394&bt=697&cs=0&ds=3&ft=XE5bCqT0m7jPD12XlwdJ3wUWrIyKMeF~O5&mime_type=video_mp4&qs=0&rc=OzRmOjgzaWhnOGdlaWU0OkBpajNubzk6Zjd4ZDMzZzczNEBgYWExNi0tXmIxXmFfYmM2YSNnZy8ycjQwamNgLS1kMS9zcw%3D%3D&vvpl=1&l=20241214130038DB28CEFC1550F17F7727&btag=e000b8000","size":1957413,"wm_size":1995988,"music":"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/ies-music-ttp-dup-us\/7106658973058599722.mp3","music_info":{"id":"7106658961021225774","title":"original sound - tiktok","play":"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/ies-music-ttp-dup-us\/7106658973058599722.mp3","cover":"https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/f466499a0ce9b5e30d6e1892201cd89f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&nonce=55828&refresh_token=4f01e6b4a31094142082f8583b3d4481&x-expires=1734267600&x-signature=z9qAkjdlFsmCy5k5OPyeg8gGrWY%3D&idc=maliva&ps=13740610&shcp=d05b14bd&shp=45126217&t=4d5b0474","author":"TikTok","original":true,"duration":22,"album":""},"play_count":639867,"digg_count":21560,"comment_count":1213,"share_count":447,"download_count":113,"collect_count":709,"create_time":1654647988,"anchors":null,"anchors_extras":"","is_ad":false,"commerce_info":{"adv_promotable":false,"auction_ad_invited":false,"branded_content_type":0,"with_comment_filter_words":false},"commercial_video_info":"","item_comment_settings":0,"mentioned_users":"","author":{"id":"107955","unique_id":"tiktok","nickname":"TikTok","avatar":"https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/f466499a0ce9b5e30d6e1892201cd89f~tplv-tiktokx-cropcenter:300:300.jpeg?dr=14577&nonce=22128&refresh_token=46a7f92a0868dbc50379c32fbbb280f7&x-expires=1734267600&x-signature=urY%2FMRiVbZVjUP8VNeesKjT%2B%2FjU%3D&idc=maliva&ps=13740610&shcp=d05b14bd&shp=45126217&t=4d5b0474"}}}
TikTok Extractor — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/4890/tiktok+content+data+api/6148/tiktok+extractor?url=https://www.tiktok.com/@tiktok/video/7106658991907802411' --header 'Authorization: Bearer YOUR_API_KEY' 


    

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 TikTok Content Data 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.

(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: 

TikTok Content Data API is a robust and adaptable tool designed to extract video content and metadata from the popular social networking platform TikTok. It provides a simple way to integrate TikTok videos and associated data into various applications, allowing you to easily download videos and retrieve essential information.

In essence, the TikTok Content Data API simplifies the process of accessing TikTok videos, providing an efficient method for incorporating this content into your applications. By using the API, developers can enhance the user experience, streamline content management, and increase participation in the TikTok ecosystem.

A key feature of the API is its ability to programmatically download TikTok videos. Users can enter a TikTok video URL to initiate the retrieval and storage of video content, enabling seamless integration across different platforms. This capability opens up new opportunities for creativity and innovation by leveraging TikTok's diverse media offerings.

In addition, the API provides valuable metadata associated with TikTok videos. This metadata includes video titles, descriptions, engagement metrics, and more - crucial information for content curation, audience analytics, and further integration into larger applications.

In short, the TikTok Content Data API enriches applications with TikTok content effortlessly. It supports video downloads and provides comprehensive metadata, fostering creative projects, enhancing content management, and enabling data-driven insights. Its user-friendly design and efficient performance make it an essential tool for developers who want to integrate engaging TikTok content into their projects.

 

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

It will receive a parameter and provide you with a JSON.

 

What are the most common uses cases of this API?

  1. Content Aggregation: Aggregate TikTok videos programmatically for curated content in applications or platforms.

    Content Analysis: Extract metadata for analyzing engagement metrics, trends, and user behaviors on TikTok.

    Social Media Integration: Seamlessly integrate TikTok content into social media applications or platforms for enhanced user experiences.

    Marketing Campaigns: Utilize TikTok videos for marketing campaigns by programmatically accessing and incorporating relevant content.

    User Engagement Analytics: Retrieve engagement metrics to analyze the impact and popularity of TikTok videos within applications.

 

Are there any limitations to your plans?

10 requests per second in all plans.

TikTok Content Data API FAQs

To use this API users will have to indicate the URL of a TikTok video to download it and get information about the video.

The TikTok Content Data API is a tool designed for developers to programmatically retrieve media content from TikTok, including videos and associated metadata.

There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent 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.

You need the TikTok Content Data API to integrate TikTok data seamlessly into apps, enabling content curation, audience insights, and enhanced engagement strategies effortlessly.

The TikTok Extractor endpoint returns a JSON object containing video metadata, including the video ID, title, cover images, and engagement metrics. This data allows developers to analyze and display TikTok content effectively.

Key fields in the response include "aweme_id" (video ID), "title" (video title), "cover" (thumbnail image URL), and engagement metrics. These fields provide essential information for content curation and analysis.

The response data is structured in a JSON format with a top-level object containing a "code" for status, a "msg" for messages, and a "data" object that holds the video details. This organization facilitates easy parsing and integration.

The TikTok Extractor endpoint provides information such as video titles, descriptions, cover images, and engagement metrics like likes and shares. This data is crucial for content analysis and user engagement strategies.

Users can customize their requests by providing different TikTok video URLs as parameters. Each URL will yield specific metadata and video content, allowing for tailored data retrieval based on user needs.

The data is sourced directly from TikTok's platform, ensuring that the information retrieved is current and relevant. This direct access helps maintain data accuracy and reliability for developers.

Typical use cases include content aggregation for social media platforms, analyzing engagement metrics for marketing strategies, and enhancing user experiences by integrating TikTok videos into applications.

Users can utilize the returned data by integrating it into their applications for displaying video content, analyzing trends, and generating insights on user engagement, thereby enhancing overall user interaction with TikTok content.

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