TikTok Video Insights API

TikTok Video Insights API

Access video details, engagement metrics, and trends. Enhance content strategy, marketing, and research with TikTok data.

About the API:  

In today's digital landscape, TikTok has become a cultural phenomenon that captivates audiences around the world with its short, engaging and often viral videos. With millions of users and an ever-expanding library of content, TikTok has become a treasure trove of creativity, entertainment and cultural trends. TikTok Video Insights API opens the door to this vast world of video content, giving users unprecedented access to video insights, engagement metrics and the ability to leverage the potential of TikTok's thriving ecosystem.

TikTok's influence on social media and pop culture cannot be overstated. It has redefined the way people consume and create video content, generating countless trends, challenges and viral sensations. TikTok videos range from funny dances and comedic skits to informative tutorials and candid moments, making them a dynamic platform for self-expression and connection.

As TikTok continues to shape the digital landscape, the TikTok Video Insights API serves as a strategic tool for those looking to tap into the world of viral videos, influencers and trends. This API provides a bridge to understand and leverage TikTok's captivating content for a variety of applications and industries.

The TikTok Video Insights API integration is designed to be user-friendly for users, ensuring that accessing TikTok video insights is a straightforward process. Users can make API calls to retrieve real-time data and seamlessly incorporate it into their applications, websites or platforms. Full documentation and developer support resources are available to assist with integration.

The TikTok Video Insights API serves as a gateway to the vibrant world of TikTok video. It enables users, businesses and content creators to unlock the potential of TikTok's engaging video content across diverse industries and applications. At a time when short-form video content dominates social media and cultural trends are born on platforms like TikTok, this API enables data-driven decision making, content strategy refinement and engagement optimization. Whether you're in social media management, marketing, research, education, or entertainment, TikTok's video insights API is your passport to

 

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 analytics: Tracks video performance metrics to analyze audience engagement and refine content strategy.

  2. Influencer marketing: Identifies TikTok influencers by analyzing the engagement and reach of their videos, which helps target influencers for marketing campaigns.

  3. Trend analysis: Monitor trending topics, hashtags and challenges on TikTok to stay on top of viral content and capitalize on emerging trends.

  4. Competitor analysis: Research competitors' TikTok content and engagement metrics to gain insights and inform your own content strategy.

  5. Content Curation: Curate and display trending TikTok videos on your website or app to keep users engaged with up-to-date and popular content.

Are there any limitations to your plans? 

  • Basic Plan: 900 requests per minute.

  • Pro Plan: 900 requests per minute.

  • Pro Plus Plan: 900 requests per minute.

  • Premium Plan: 1,800 requests per minute.

API Documentation

Endpoints


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



                                                                            
GET https://zylalabs.com/api/4620/tiktok+video+insights+api/5693/video+information
                                                                            
                                                                        

Video information - Endpoint Features
Object Description
link [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
    "ok": true,
    "added_sound_music_info": {
        "album": "",
        "artists": [],
        "audition_duration": 0,
        "author": "G-HIKARU",
        "author_deleted": false,
        "author_position": null,
        "binded_challenge_id": 0,
        "can_not_reuse": false,
        "collect_stat": 0,
        "commercial_right_type": 2,
        "cover_hd": {
            "height": 720,
            "uri": "tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674",
            "url_list": [
                "https:\/\/p16-va-default.akamaized.net\/img\/tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674~c5_1080x1080.jpeg"
            ],
            "url_prefix": null,
            "width": 720
        },
        "cover_large": {
            "height": 720,
            "uri": "tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674",
            "url_list": [
                "https:\/\/p16-va-default.akamaized.net\/img\/tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674~c5_720x720.jpeg"
            ],
            "url_prefix": null,
            "width": 720
        },
        "cover_medium": {
            "height": 720,
            "uri": "tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674",
            "url_list": [
                "https:\/\/p16-va-default.akamaized.net\/img\/tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674~c5_200x200.jpeg"
            ],
            "url_prefix": null,
            "width": 720
        },
        "cover_thumb": {
            "height": 720,
            "uri": "tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674",
            "url_list": [
                "https:\/\/p16-va-default.akamaized.net\/img\/tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674~c5_100x100.jpeg"
            ],
            "url_prefix": null,
            "width": 720
        },
        "dmv_auto_show": false,
        "duration": 145,
        "duration_high_precision": {
            "audition_duration_precision": 0,
            "duration_precision": 145.53,
            "shoot_duration_precision": 0,
            "video_duration_precision": 0
        },
        "end_time": 0,
        "external_song_info": [],
        "extra": "{\"amplitude_peak\":0,\"beats\":{\"audio_effect_onset\":\"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/90cc61f8357540e9886e8c89e4d193c6\",\"beats_tracker\":\"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/4c78e1cc584f421a95704341083bfc33\",\"energy_trace\":\"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/93f36f01739143399f45fd4cda8b0515\",\"merged_beats\":\"https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/cc2d072f0e0247618677550cb5d7ee44\"},\"can_read\":true,\"can_reuse\":true,\"erase_type\":0,\"erase_uid\":0,\"from_user_id\":-1,\"full_song_beat_info\":{},\"full_song_beats\":{},\"has_edited\":0,\"is_batch_take_down_music\":false,\"is_ugc_mapping\":false,\"is_used\":0,\"loudness_lufs\":0,\"music_vid\":\"v10ad6g50000c8p957bc77uchrspmt10\",\"owner_id\":0,\"resource_status\":0,\"review_unshelve_reason\":0,\"reviewed\":0,\"schedule_search_time\":0}",
        "has_commerce_right": false,
        "id": 7075879182663698434,
        "id_str": "7075879182663698434",
        "is_audio_url_with_cookie": false,
        "is_author_artist": false,
        "is_commerce_music": true,
        "is_del_video": false,
        "is_matched_metadata": false,
        "is_original": false,
        "is_original_sound": false,
        "is_pgc": true,
        "is_play_music": false,
        "is_restricted": false,
        "is_shooting_allow": true,
        "is_video_self_see": false,
        "lyric_short_position": null,
        "matched_song": {
            "author": "G-HIKARU",
            "chorus_info": {
                "duration_ms": 36288,
                "start_ms": 11712
            },
            "cover_medium": {
                "height": 720,
                "uri": "tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674",
                "url_list": [
                    "https:\/\/p16-va-default.akamaized.net\/img\/tos-useast2a-v-2774\/4eaf554cdff64cadb38754abeac45674~c5_200x200.jpeg"
                ],
                "url_prefix": null,
                "width": 720
            },
            "full_duration": 145530,
            "h5_url": "",
            "id": "7075879182466549761",
            "performers": null,
            "title": "Cool hip hop beat(1208554)"
        },
        "meme_song_info": [],
        "mid": "7075879182663698434",
        "multi_bit_rate_play_info": null,
        "music_release_info": {
            "group_release_date": 0,
            "is_new_release_song": false
        },
        "mute_share": false,
        "offline_desc": "",
        "owner_handle": "",
        "owner_nickname": "",
        "play_url": {
            "height": 720,
            "uri": "https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-ve-2774\/07690bedb0fe48a38c5b1d45f4919119",
            "url_list": [
                "https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-ve-2774\/07690bedb0fe48a38c5b1d45f4919119"
            ],
            "url_prefix": null,
            "width": 720
        },
        "position": null,
        "prevent_download": false,
        "prevent_item_download_status": 0,
        "preview_end_time": 0,
        "preview_start_time": 0,
        "reason_type": 0,
        "recommend_status": 100,
        "redirect": false,
        "schema_url": "",
        "search_highlight": null,
        "shoot_duration": 0,
        "source_platform": 10033,
        "start_time": 0,
        "status": 1,
        "strong_beat_url": {
            "height": 720,
            "uri": "https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/3c6cbf1c43a8471d9844d7d6e345a940",
            "url_list": [
                "https:\/\/sf16-ies-music-va.tiktokcdn.com\/obj\/tos-useast2a-v-2774\/3c6cbf1c43a8471d9844d7d6e345a940"
            ],
            "url_prefix": null,
            "width": 720
        },
        "tag_list": null,
        "title": "Cool hip hop beat(1208554)",
        "tt_to_dsp_song_infos": null,
        "uncert_artists": null,
        "user_count": 0,
        "video_duration": 0
    },
    "aigc_info": {
        "aigc_label_type": 0,
        "created_by_ai": false
    },
    "anchors": null,
    "animated_image_info": {
        "effect": 0,
        "type": 0
    },
    "author": {
        "accept_private_policy": false,
        "account_labels": null,
        "account_region": "",
        "ad_cover_url": null,
        "advance_feature_item_order": null,
        "advanced_feature_info": null,
        "apple_account": 0,
        "authority_status": 0,
        "avatar_168x168": {
            "height": 720,
            "uri": "tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac",
            "url_list": [
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_168x168.webp?lk3s=45126217&nonce=62981&refresh_token=b8dacda4fa03736657c013889a10cb01&x-expires=1720717200&x-signature=OfJh8LnizGAknBFOFKtCXKdfqy0%3D&shp=45126217&shcp=-",
                "https:\/\/p77-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_168x168.webp?lk3s=45126217&nonce=44677&refresh_token=ecf1c6f67f99bb6c8452535fec71d5d8&x-expires=1720717200&x-signature=s7ABZgO2W%2FQgGNpQXH0ySmko2CI%3D&shp=45126217&shcp=-",
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_168x168.jpeg?lk3s=45126217&nonce=15992&refresh_token=7d1eb6307f85947d20a80bcbd4716135&x-expires=1720717200&x-signature=0bHAuQ9aQvcguNtlP5i%2Fj0rKxRg%3D&shp=45126217&shcp=-"
            ],
            "url_prefix": null,
            "width": 720
        },
        "avatar_300x300": {
            "height": 720,
            "uri": "tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac",
            "url_list": [
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_300x300.webp?lk3s=45126217&nonce=46031&refresh_token=b7d25eeb500a8db31e5f547b9d7e3e56&x-expires=1720717200&x-signature=QUSI0T3gmVQM35NkdQvFN10AD8o%3D&shp=45126217&shcp=-",
                "https:\/\/p77-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_300x300.webp?lk3s=45126217&nonce=2116&refresh_token=7e3ec72e7626b22dada820d14d57348f&x-expires=1720717200&x-signature=ee5Khr6fx0kY1kTp764ggpPL324%3D&shp=45126217&shcp=-",
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_300x300.jpeg?lk3s=45126217&nonce=80211&refresh_token=185b3ea78a0d8861f741574e9e2d8a68&x-expires=1720717200&x-signature=k8orNNMijA9MHDPpHID%2FsSGzKS8%3D&shp=45126217&shcp=-"
            ],
            "url_prefix": null,
            "width": 720
        },
        "avatar_larger": {
            "height": 720,
            "uri": "tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac",
            "url_list": [
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_1080x1080.webp?lk3s=45126217&nonce=53572&refresh_token=bbd9bd34ead6e9def54097ce7abd2f0e&x-expires=1720717200&x-signature=7A74VLa7FA2PtzLoNP6j%2BHYw3s8%3D&shp=45126217&shcp=-",
                "https:\/\/p77-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_1080x1080.webp?lk3s=45126217&nonce=83358&refresh_token=037f1b8f420187041b28114ae6419827&x-expires=1720717200&x-signature=xSMa7RxD2bVwj%2F76ntqypyWMgPw%3D&shp=45126217&shcp=-",
                "https:\/\/p16-sign-va.tiktokcdn.com\/tos-maliva-avt-0068\/d5f924354408a0f92fee9599376292ac~c5_1080x1080.jpeg?lk3s=45126217&nonce=51458&refresh_token=d4e94a8b1c0b0dd47a48c501e8918135&x-expires=1720717200&x-signature=M1wTab82awxH3K93Jj8haW50TX8%3D&shp=45126217&shcp=-"
            ],
            "url_prefix": null,
            "width": 720
       ...
                                                                                                                                                                                                                    
                                                                                                    

Video information - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/4620/tiktok+video+insights+api/5693/video+information?link=https://www.tiktok.com/@lukegerr/video/7270009973608844586?q=lionel%20messi%20best%20moves&t=1695927064605' --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 Video Insights 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
  • Dedicated account manager
  • Service-level agreement (SLA)

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

To use this API the user must indicate the URL of a tiktok video.

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.

It is an API that provides information about Tiktok video metrics to users.

The TikTok Video Insights API provides crucial details such as audio and music information, accurate video duration, matching song data, commercial rights and more. Essential for understanding and managing music content on the platform.

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
100%
 Response Time
789ms

Category:


Related APIs