TikTok Data API

Unleash the TikTok Data API – your turbocharged gateway to TikTok's universe! Zoom into user profiles, unravel video insights, and more, all at warp speed. Fuel your applications with the freshest TikTok data and elevate your user experiences to meteoric heights!

About the API:

Introducing the TikTok Data API, a high-velocity solution that propels you into the heart of TikTok's dynamic ecosystem. As the swiftest TikTok Web API available, it redefines data retrieval with unparalleled speed. Seamlessly access a treasure trove of valuable insights, including comprehensive user profiles and intricate video details.

Unlock the power of user-centric intelligence with ease. The API offers swift access to user information, encompassing profiles, follower counts, engagement metrics, and more. Unearth audience demographics, influencers, and emerging trends to empower your marketing strategies or influencer collaborations.

Delve deeper into video analytics, extracting vital video information that drives informed decisions. Gather view counts, engagement rates, comments, and metadata to refine content strategies, gauge audience sentiment, and track campaign performance.

Built with efficiency in mind, the TikTok Data API delivers data in a structured JSON format, ensuring seamless integration into your applications and services. Whether you're creating data-rich dashboards, enhancing research endeavors, or innovating user experiences, this API provides the building blocks to achieve your goals.

Developers will appreciate the API's intuitive endpoints, enabling hassle-free data retrieval. Its speed is unmatched, accelerating your workflow and ensuring that real-time insights are always at your fingertips.

Stay ahead in the ever-evolving social media landscape by harnessing the TikTok Data API. Experience the exhilaration of rapid data access and elevate your applications with data-driven capabilities. From influencer marketing to trend analysis, audience segmentation to content optimization, this API amplifies your potential in harnessing TikTok's vast reservoir of information. Experience the future of TikTok data access and supercharge your innovation today.

 

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

Pass the username and video ID and receive relevant data. 

 

What are the most common use cases of this API?

  1. Influencer Marketing Platform: Create a platform that connects brands with TikTok influencers. Utilize the API to fetch detailed user information, engagement metrics, and video performance. Provide brands with valuable insights to identify the most suitable influencers for their campaigns based on audience demographics, engagement rates, and content resonance.

  2. Trend Analysis and Prediction: Develop a trend analysis tool that leverages the API to gather data on trending topics, hashtags, and challenges on TikTok. By analyzing video performance and engagement metrics, you can identify emerging trends and predict their potential longevity, helping marketers and content creators stay ahead of the curve.

  3. Audience Insights for Content Creation: Build an application that assists content creators in tailoring their content to their audience preferences. Utilize the API to extract user demographic data, engagement patterns, and popular content categories. Empower creators to produce content that resonates with their audience, thereby enhancing engagement and followership.

  4. Competitive Intelligence Platform: Create a competitive analysis tool that allows brands to monitor their competitors' performance on TikTok. Utilize the API to gather video views, likes, and comments for competitors' content. Provide insights that enable brands to benchmark their performance, understand their competition, and refine their strategy accordingly.

  5. Social Media Analytics Dashboard: Develop a comprehensive analytics dashboard that aggregates TikTok data alongside other social media platforms. The API can provide user data, engagement metrics, and video insights for TikTok content. Offer brands a centralized hub for tracking their social media performance and optimizing their overall digital strategy.

 

Are there any limitations to your plans?

 

10 requests per second in all plans.

API Documentation

Endpoints


To use this endpoint you must indicate the id of a user in the parameter.



                                                                            
GET https://zylalabs.com/api/2516/tiktok+data+api/2503/get+user+info
                                                                            
                                                                        

Get User Info - Endpoint Features

Object Description
user_id [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"code":-1,"msg":"userinfo is failed! Please check unique_id or user_id.","processed_time":0.0992}
                                                                                                                                                                                                                    
                                                                                                    

Get User Info - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2516/tiktok+data+api/2503/get+user+info?user_id=107955' --header 'Authorization: Bearer YOUR_API_KEY' 


    

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



                                                                            
GET https://zylalabs.com/api/2516/tiktok+data+api/2504/get+video+info
                                                                            
                                                                        

Get Video Info - Endpoint Features

Object Description
url [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"code":0,"msg":"success","processed_time":0.1249,"data":{"aweme_id":"v0f044gc0000cre9c7fog65jnvapac0g","id":"7411964588809342241","region":"US","title":"I promise they work ,believe me #learnfromkhaby #comedy ","cover":"https:\/\/p16-sign-useast2a.tiktokcdn.com\/tos-useast2a-p-0037-euttp\/0ab2a4df2f3e4e7cbf1bf608ab06b2f1_1725732501~tplv-tiktokx-cropcenter:300:400.jpeg?dr=14579&nonce=65427&refresh_token=9aea266d719084df5d9274b28296cd15&x-expires=1731999600&x-signature=dkCKBmZ%2F67a1DfhpAW40QISENkQ%3D&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","ai_dynamic_cover":"https:\/\/p16-sign-useast2a.tiktokcdn.com\/tos-useast2a-p-0037-euttp\/b54bb125ad6846459bd1404bbf03b587_1725732501~tplv-tiktokx-origin.image?dr=14575&nonce=41592&refresh_token=8b7d250d511a4cbb8c1329c0a50ccf6f&x-expires=1731999600&x-signature=IKZBYEw9oceYdcC4%2FuiUBCg0Pf0%3D&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","origin_cover":"https:\/\/p16-sign-useast2a.tiktokcdn.com\/tos-useast2a-p-0037-euttp\/392dab565cd240ee8198842eee82f2ee_1725732501~tplv-tiktokx-360p.image?dr=14555&nonce=57368&refresh_token=72f4b12b53dcdf32a5131157bd8a4b5e&x-expires=1731999600&x-signature=6SRjjA5wGwkMeDE2Vb3Dzc7%2BeLQ%3D&ftpl=1&idc=maliva&ps=13740610&s=AWEME_DETAIL&shcp=34ff8df6&shp=d05b14bd&t=4d5b0474","duration":48,"play":"https:\/\/v16m-default.akamaized.net\/2997546c59642e2962bed3cd8fa3ae05\/673b4213\/video\/tos\/useast2a\/tos-useast2a-ve-0068-euttp\/oc8hJszEc9MBIAWloOnqkfiGiCAITQbzABVvHI\/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&cv=1&br=2402&bt=1201&cs=0&ds=6&ft=XE5bCqT0m7jPD127WDQJ3wU8MYyKMeF~O5&mime_type=video_mp4&qs=0&rc=Ozk3aGU0PDlnNGUzOjc5ZkBpamZzeW05cjo8dTMzZjczM0AzYzU0LzBfX2AxMDReMi0uYSMtXl5rMmRjYGJgLS1kMWNzcw%3D%3D&vvpl=1&l=20241118073218381E39F9AF4778004113&btag=e00088000","wmplay":"https:\/\/v16m-default.akamaized.net\/08d1e2176ce3fc1cd483034daa7c33e6\/673b4213\/video\/tos\/useast2a\/tos-useast2a-ve-0068-euttp\/okAcA6MbciLHvCkQIziBzCfBEWz7osW9hncOVI\/?a=0&bti=OUBzOTg7QGo6OjZAL3AjLTAzYCMxNDNg&ch=0&cr=0&dr=0&er=0&lr=all&net=0&cd=0%7C0%7C0%7C0&cv=1&br=2468&bt=1234&cs=0&ds=3&ft=XE5bCqT0m7jPD127WDQJ3wU8MYyKMeF~O5&mime_type=video_mp4&qs=0&rc=NWY2ODZmN2RpODpkaTQ5NkBpamZzeW05cjo8dTMzZjczM0BfXjVgNTU2NTMxYzEwYi81YSMtXl5rMmRjYGJgLS1kMWNzcw%3D%3D&vvpl=1&l=20241118073218381E39F9AF4778004113&btag=e00088000","size":7492108,"wm_size":7702655,"music":"https:\/\/sf16-ies-music.tiktokcdn.com\/obj\/ies-music-euttp\/7411964680018627361.mp3","music_info":{"id":"7411964674525121312","title":"original sound - khaby.lame","play":"https:\/\/sf16-ies-music.tiktokcdn.com\/obj\/ies-music-euttp\/7411964680018627361.mp3","cover":"https:\/\/p16-sign-useast2a.tiktokcdn.com\/tos-useast2a-avt-0068-euttp\/e755d298d36b3175a2ca87d603b5dc2d~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&nonce=86813&refresh_token=f26a70aa442656860eceedc90b6457ef&x-expires=1731999600&x-signature=X%2B3CvByauxW1rIViPqGavp40RJw%3D&idc=maliva&ps=13740610&shcp=d05b14bd&shp=45126217&t=4d5b0474","author":"Khabane lame","original":true,"duration":48,"album":""},"play_count":31321614,"digg_count":1305261,"comment_count":18883,"share_count":12541,"download_count":5796,"collect_count":43569,"create_time":1725732496,"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":"127905465618821121","unique_id":"khaby.lame","nickname":"Khabane lame","avatar":"https:\/\/p16-sign-useast2a.tiktokcdn.com\/tos-useast2a-avt-0068-euttp\/e755d298d36b3175a2ca87d603b5dc2d~tplv-tiktokx-cropcenter:300:300.jpeg?dr=14577&nonce=24181&refresh_token=d19be0f0d19f42f3a8e033e0f6cb1607&x-expires=1731999600&x-signature=H%2BkfI1m0uuRjocddweMSDlnslXw%3D&idc=maliva&ps=13740610&shcp=d05b14bd&shp=45126217&t=4d5b0474"}}}
                                                                                                                                                                                                                    
                                                                                                    

Get Video Info - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/2516/tiktok+data+api/2504/get+video+info?url=https://www.tiktok.com/@khaby.lame/video/7411964588809342241?lang=en' --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 Data API REST 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.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise

Starts at
$ 10,000/Year


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

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

The TikTok Data API is a web-based interface that grants developers access to TikTok's data. It offers various data points including user profiles, video information, engagement metrics, and more, allowing you to integrate TikTok data into your applications and services.

To access the API, you'll need to apply for API credentials from TikTok's developer portal. Upon approval, you'll receive an API key that you'll use to authenticate your requests and access the API's functionalities.

No, the API only processes one user or video per request.

The frequency of data updates can vary depending on TikTok's internal processes. It's recommended to consult the API documentation or monitoring tools for insights into data refresh intervals.

The API primarily provides real-time and recent data.

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, look at the ‘X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

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 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

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]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

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 trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
96%
 Response Time
221ms

Category:


Related APIs