TikTok Content Scraper API

API ID 15626

Public TikTok data: profiles, videos and photo slideshows, no-watermark download URLs, captions with text, music and the videos using a sound, followers, reposts, hashtags and paginated search.

API Documentation

Endpoints

Request
Accounts following a user, page by page, with a continuation_token.
Endpoint ID: 42197
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42197/get+user+followers
INPUT PARAMETERS

Get User Followers — Endpoint Features

Object Description
username Required Username, @handle or profile URL
continuation_token Optional To get Next page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "username": "tiktok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "total": 96296949,
    "count": 30,
    "followers": [
        {
            "user_id": "10000001",
            "username": "example_user_1",
            "nickname": "Example User 1",
            "sec_uid": "example_id_1",
            "verified": false,
            "is_private": true,
            "description": null,
            "profile_image": "https://example.com/media/1.jpg",
            "followers": 1,
            "following": 6,
            "total_heart": 0,
            "total_videos": 0
        },
        {
            "user_id": "10000002",
            "username": "example_user_2",
            "nickname": "Example User 2",
            "sec_uid": "example_id_2",
            "verified": false,
            "is_private": false,
            "description": "Example text.",
            "profile_image": "https://example.com/media/2.jpg",
            "followers": 4048,
            "following": 11,
            "total_heart": 19100,
            "total_videos": 227
        }
    ],
    "continuation_token": "1792212951"
}
Get User Followers — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42197/get+user+followers?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Accounts a user follows, page by page, with a continuation_token.
Endpoint ID: 42198
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42198/get+user+following
INPUT PARAMETERS

Get User Following — Endpoint Features

Object Description
username Required Username, @handle or profile URL
continuation_token Optional To get Next page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "username": "tiktok",
    "sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "total": 1,
    "count": 1,
    "following": [
        {
            "user_id": "10000001",
            "username": "example_user_1",
            "nickname": "Example User 1",
            "sec_uid": "example_id_1",
            "verified": true,
            "is_private": false,
            "description": "Example text.",
            "profile_image": "https://example.com/media/1.jpg",
            "followers": 9000000,
            "following": 570,
            "total_heart": 33800000,
            "total_videos": 1162
        }
    ],
    "continuation_token": null
}
Get User Following — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42198/get+user+following?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Id, description and exact video and view counts of a hashtag.
Endpoint ID: 42199
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42199/get+hashtag+challenge+info
INPUT PARAMETERS

Get Hashtag Challenge Info — Endpoint Features

Object Description
tag Required Hashtag, with or without #

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

tag
API EXAMPLE RESPONSE
JSON
{
    "hashtag_id": "12827",
    "name": "space",
    "description": "Look to the stars and tell us what you see.",
    "video_count": 3458306,
    "view_count": 95577468461,
    "is_commerce": false,
    "cover": "https://p16-common-sign.tiktokcdn.com/musically-maliva-obj/29c301fb7d0904a45a86623a19812ef7.jpeg~tplv-tiktokx-origin.image"
}
Get Hashtag Challenge Info — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42199/get+hashtag+challenge+info?tag=space' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos tagged with a hashtag (with or without #), most relevant first, in the Search Videos shape, about 10-20 per page with continuation_token. They come from TikTok search for the tag, keeping only videos that carry it, so this is the tag's most relevant videos, not its full chronological feed. Non-Latin tags can return few or no videos; an unknown tag answers 404.
Endpoint ID: 42200
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42200/get+hashtag+videos
INPUT PARAMETERS

Get Hashtag Videos — Endpoint Features

Object Description
tag Required Hashtag, with or without #
continuation_token Optional continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

tag
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "tag": "space",
    "count": 17,
    "videos": [
        {
            "video_id": "7592231402440051990",
            "description": "Yes I know I’m goated you don’t have to keep telling me #space #spacetok #irobot #galaxy #star @Casceto ",
            "create_time": 1767704134,
            "author": "joe.music161",
            "author_id": "7541112080059270166",
            "author_name": "Joe",
            "statistics": {
                "number_of_comments": 32600,
                "number_of_hearts": 3300000,
                "number_of_plays": 20300000,
                "number_of_reposts": 405000,
                "number_of_saves": 512388
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-no1a-p-0037-no/oQBCki2BwdXAxMbif60ICAA9E6dMkrIqoMUJUy~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-68c811-euttp/ocwC2fodbwFIBdNEQx9iAMAyBCriIksM0dM6lZ/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 519207,
            "duration": 210,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/f16fae1663439523d4f2fd9e02e1fb93~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "carti_my_evil_twinn"
            ],
            "hashtags": [
                "space",
                "spacetok"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "6997815379075352577"
        },
        {
            "video_id": "7684024076658232609",
            "description": "How do you feel when you look up and look at the nightsky?  — #space #universe #astronomy #astrophotography ",
            "create_time": 1789076275,
            "author": "squaashii_",
            "author_id": "7188211760049931270",
            "author_name": "squaashii_",
            "statistics": {
                "number_of_comments": 284,
                "number_of_hearts": 66300,
                "number_of_plays": 496500,
                "number_of_reposts": 4530,
                "number_of_saves": 12495
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0037-euttp/oMfiIyxmoCDFlkqEAIuA7AAFfBMQzqixDERjEC~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068-euttp/oQKUzIYEBwvCZAIxoif5ACQ6FiyuL1BCz9cINj/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 1451117,
            "duration": 67,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/c30b22211668632517852ddd679fb0f7~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "space",
                "universe"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7684024121683987232"
        }
    ],
    "continuation_token": "eyJvIjoyNCwicyI6IjIwMjYxMDE3MTI1ODQ4NEU1M0NDN0JGNDYxRjA4NTIwMkMifQ"
}
Get Hashtag Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42200/get+hashtag+videos?tag=space' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Images (full size), description, stats and author of a photo slideshow post.
Endpoint ID: 42201
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42201/get+photo+post+slideshow
INPUT PARAMETERS

Get Photo Post Slideshow — Endpoint Features

Object Description
video_id Optional Photo post id
url Optional Photo post URL, instead of video_id
country_code Optional Two-letter country code

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
country_code
API EXAMPLE RESPONSE
JSON
{
    "photo_id": "7693212611755871490",
    "details": {
        "photo_id": "7693212611755871490",
        "description": "Some of the most unbelievable images ever captured weren't created by artists or computers. They're real photographs of the universe. From dying stars surrounded by glowing clouds of gas and dust to entire galaxies colliding across unimaginable distances, NASA's space telescopes have revealed scenes that look more like science fiction than reality. But these structures are very real. Nebulae form enormous clouds of gas and dust where stars are born or reach the final stages of their lives. Galaxies contain billions of stars, and when they interact, gravity can stretch, twist, and reshape them over millions of years. What makes these images even more fascinating is how far away they are. Some of the light captured by our telescopes has travelled for hundreds, thousands, or even millions of years before reaching us. That means we're not simply looking at distant places. We're looking into the past. The light arriving today began its journey long before modern technology existed, carrying information about objects and events that happened across enormous stretches of cosmic history. And yet, with the right instruments, we can turn that faint light into images that reveal the incredible structures hidden throughout space. Some of these places are so distant that humanity may never physically reach them. But through astronomy, we can still observe them, study them, and begin to understand what exists beyond our own small corner of the universe. The most extraordinary part is that these images aren't imagination. They're glimpses of a universe that has been out there all along. #nasa #space #spacethings #spacetok #universe ",
        "author": "lucasvisual",
        "author_id": "7189952220045444102",
        "author_name": "Lucas Visuals",
        "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-avt-0068-euttp/2dc851452e7fca03061b89c291a79cb9~tplv-tiktokx-cropcenter:100:100.jpeg",
        "create_time": "1791215652",
        "statistics": {
            "number_of_comments": 915,
            "number_of_hearts": 33600,
            "number_of_plays": 811600,
            "number_of_reposts": 2356,
            "number_of_saves": "4064"
        },
        "images": [
            "https://p16-common-sign.tiktokcdn.com/tos-no1a-i-photomode-no/afccf07340e84541908452014d115a9c~tplv-photomode-image.jpeg",
            "https://p16-common-sign.tiktokcdn.com/tos-no1a-i-photomode-no/6fd6de508b38476f82095f3ae8334143~tplv-photomode-image.jpeg"
        ]
    }
}
Get Photo Post Slideshow — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42201/get+photo+post+slideshow?video_id=7693212611755871490&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Accounts for a query with followers, likes and verification, page by page.
Endpoint ID: 42202
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42202/search+accounts
INPUT PARAMETERS

Search Accounts — Endpoint Features

Object Description
query Required Search text
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "query": "nasa",
    "users": [
        {
            "username": "nasa",
            "nickname": "NASA",
            "user_id": "7664638705177150477",
            "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:100:100.webp",
            "following": null,
            "followers": 2100000,
            "total_videos": null,
            "total_heart": 11098678,
            "verified": true,
            "description": "Making the seemingly impossible, possible.✨",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        },
        {
            "username": "example_user_1",
            "nickname": "Example User 1",
            "user_id": "10000001",
            "profile_image": "https://example.com/media/1.jpg",
            "following": 9067,
            "followers": 318500,
            "total_videos": 2431,
            "total_heart": 2200000,
            "verified": false,
            "description": "Example text.",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODM1MzAxRTMxRkQwOEQ2NEY4QjY1REQifQ"
}
Search Accounts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42202/search+accounts?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos and accounts for a query, page by page (continuation_token). Videos have the same shape as Get User Videos.
Endpoint ID: 42203
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42203/search+videos+and+accounts
INPUT PARAMETERS

Search Videos and Accounts — Endpoint Features

Object Description
query Required Search text
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "query": "nasa",
    "videos": [
        {
            "video_id": "7697489566466428174",
            "description": "Mars surface has a strange opening with an object enmbeded inside.#Mars#NASA#Rover#Strange#Mysterious",
            "create_time": 1792211477,
            "author": "mauricioruiz2482",
            "author_id": "7158240211184223275",
            "author_name": "Social Media USA",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 1,
                "number_of_plays": 149,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast5-p-0068-tx/osGFILOjCrTeuSSGhrulAkIljFQRQ6KeGferIA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oUrG9GIQkQLfOZTeRASlrIrjeWGKSAl1IIeFgh/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 420513,
            "duration": 188,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/6f12700c6f931d0cd32853da84b706d1~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "mars",
                "nasa"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7697489665917569806"
        },
        {
            "video_id": "7697470753020693780",
            "description": "🌎🌊 La NASA difundió nuevas imágenes satelitales que muestran cómo han evolucionado las temperaturas del océano Pacífico desde agosto de 2024 hasta el 13 de octubre de 2026, en medio de un fenómeno de El Niño que continúa intensificándose. Según las proyecciones científicas difundidas por la NASA, existe un 83% de probabilidad de que El Niño de 2026 sea el más intenso desde 1950, con temperaturas superficiales en el Pacífico oriental que ya superan en aproximadamente 1,7 °C sus valores habituales. 🌧️ El fenómeno alcanzaría su máxima intensidad hacia diciembre y se mantendría fuerte durante el verano de 2027, con posibles efectos climáticos hasta el otoño.  #LaBatallaDeMaipú #ElNiño #NASA #Chile #Clima",
            "create_time": 1792207075,
            "author": "labatalla.cl",
            "author_id": "7372745245597746181",
            "author_name": "Diario La Batalla de Maipú",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 10,
                "number_of_plays": 580,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okOBiBWgXB3ARDRSEAAMifihU6ap1IAnFgFKw3~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oooSVubHqIpHCZBk6B0FEziEEeDQoZAN6gftPh/",
            "video_definition": "480p",
            "format": "mp4",
            "bitrate": 1432530,
            "duration": 43,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/09cc0dbd64021e7b8ce6d5991995f45b~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7697471016105642772"
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODE1MzIwMjUzMjFCNjMyNEY5NTQ1MEUifQ",
    "users": [
        {
            "username": "nasa",
            "nickname": "NASA",
            "user_id": "7664638705177150477",
            "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:100:100.webp",
            "following": null,
            "followers": 2100000,
            "total_videos": null,
            "total_heart": 11098667,
            "verified": true,
            "description": "Making the seemingly impossible, possible.✨",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        },
        {
            "username": "example_user_1",
            "nickname": "Example User 1",
            "user_id": "10000001",
            "profile_image": "https://example.com/media/1.jpg",
            "following": 9067,
            "followers": 318500,
            "total_videos": 2431,
            "total_heart": 2200000,
            "verified": false,
            "description": "Example text.",
            "region": null,
            "bio_link": null,
            "profile_links": [],
            "description_links": []
        }
    ]
}
Search Videos and Accounts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42203/search+videos+and+accounts?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos for a query with integer stats, cover, download URL and author, page by page; photo slideshows have is_photo and images.
Endpoint ID: 42204
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42204/search+videos
INPUT PARAMETERS

Search Videos — Endpoint Features

Object Description
query Required Search text
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "query": "nasa",
    "videos": [
        {
            "video_id": "7697489566466428174",
            "description": "Mars surface has a strange opening with an object enmbeded inside.#Mars#NASA#Rover#Strange#Mysterious",
            "create_time": 1792211477,
            "author": "mauricioruiz2482",
            "author_id": "7158240211184223275",
            "author_name": "Social Media USA",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 1,
                "number_of_plays": 149,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast5-p-0068-tx/osGFILOjCrTeuSSGhrulAkIljFQRQ6KeGferIA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oUrG9GIQkQLfOZTeRASlrIrjeWGKSAl1IIeFgh/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 420513,
            "duration": 188,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/6f12700c6f931d0cd32853da84b706d1~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [
                "mars",
                "nasa"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7697489665917569806"
        },
        {
            "video_id": "7697470753020693780",
            "description": "🌎🌊 La NASA difundió nuevas imágenes satelitales que muestran cómo han evolucionado las temperaturas del océano Pacífico desde agosto de 2024 hasta el 13 de octubre de 2026, en medio de un fenómeno de El Niño que continúa intensificándose. Según las proyecciones científicas difundidas por la NASA, existe un 83% de probabilidad de que El Niño de 2026 sea el más intenso desde 1950, con temperaturas superficiales en el Pacífico oriental que ya superan en aproximadamente 1,7 °C sus valores habituales. 🌧️ El fenómeno alcanzaría su máxima intensidad hacia diciembre y se mantendría fuerte durante el verano de 2027, con posibles efectos climáticos hasta el otoño.  #LaBatallaDeMaipú #ElNiño #NASA #Chile #Clima",
            "create_time": 1792207075,
            "author": "labatalla.cl",
            "author_id": "7372745245597746181",
            "author_name": "Diario La Batalla de Maipú",
            "statistics": {
                "number_of_comments": 1,
                "number_of_hearts": 10,
                "number_of_plays": 582,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okOBiBWgXB3ARDRSEAAMifihU6ap1IAnFgFKw3~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037/oooSVubHqIpHCZBk6B0FEziEEeDQoZAN6gftPh/",
            "video_definition": "480p",
            "format": "mp4",
            "bitrate": 1432530,
            "duration": 43,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/09cc0dbd64021e7b8ce6d5991995f45b~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7697471016105642772"
        }
    ],
    "continuation_token": "eyJvIjoxMiwicyI6IjIwMjYxMDE3MTI1ODI0NjM2RDkyNjZEMTU3OTI4QTREOEYifQ"
}
Search Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42204/search+videos?query=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Followers, following, likes, video count, bio, bio link, avatar and verified flag.
Endpoint ID: 42205
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42205/get+user+info
INPUT PARAMETERS

Get User Info — Endpoint Features

Object Description
username Required Username, @handle or profile URL

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{
    "username": "tiktok",
    "user_id": "107955",
    "profile_image": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
    "description": "Your next discovery is waiting on TikTok.",
    "nickname": "TikTok",
    "following": 1,
    "followers": 96300000,
    "total_videos": 1512,
    "total_heart": 465700000,
    "verified": true,
    "links": [
        "tiktok.com/discovermore"
    ]
}
Get User Info — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42205/get+user+info?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Numeric user id of a username, @handle or profile URL.
Endpoint ID: 42206
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42206/get+user+id
INPUT PARAMETERS

Get User ID — Endpoint Features

Object Description
username Required Username, @handle or profile URL

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{
    "username": "tiktok",
    "user_id": "107955"
}
Get User ID — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42206/get+user+id?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos that use a sound, 30 per page, with the sound's title, author and audio URL.
Endpoint ID: 42207
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42207/get+music+videos
INPUT PARAMETERS

Get Music Videos — Endpoint Features

Object Description
music_id Required Sound id (music_id of a video, or the number in tiktok.com/music/<name>-<id>)
continuation_token Optional continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

music_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "music_id": "7694797733856660255",
    "music": {
        "music_id": "7694797733856660255",
        "title": "original sound",
        "author": "TikTok",
        "is_original": true,
        "duration": 49,
        "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
        "album": null,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "is_copyrighted": false
    },
    "count": 14,
    "videos": [
        {
            "video_id": "7694797676306615583",
            "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
            "create_time": 1791584711,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "statistics": {
                "number_of_comments": 3321,
                "number_of_hearts": 8389,
                "number_of_plays": 979900,
                "number_of_reposts": 820,
                "number_of_saves": 864
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oYVByKNA3WRD70yngSfR1RflErEFKgEqAQ8IRD/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1641943,
            "duration": 49,
            "is_photo": false,
            "images": [],
            "location": null,
            "mentions": [
                "mccallmirabella"
            ],
            "hashtags": [],
            "music_id": "7694797733856660255"
        },
        {
            "video_id": "7694968743998393620",
            "description": "#foryoupage #quickeditsforviralchallengevideos #foryou #foryoupage ",
            "create_time": 1791624533,
            "author": "pro.pamela6",
            "author_id": "7397503537990075397",
            "author_name": "pro Pamela",
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-alisg-avt-0068/3258f546dde695e82eb962b18f7654bc~tplv-tiktokx-cropcenter:100:100.jpeg",
            "statistics": {
                "number_of_comments": 0,
                "number_of_hearts": 35,
                "number_of_plays": 274,
                "number_of_reposts": 0,
                "number_of_saves": 1
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/ooUDAKJZEfIBQVFgqYZAnBgfCUwRBREyKQB7Wc~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oQGEc2FyZQDaRwgAUAugfWECqUIeRonBUC2gCB/",
            "video_definition": "540p",
            "format": "mp4",
            "bitrate": 493219,
            "duration": 9,
            "is_photo": false,
            "images": [],
            "location": null,
            "mentions": [],
            "hashtags": [
                "foryoupage",
                "quickeditsforviralchallengevideos"
            ],
            "music_id": "7694797733856660255"
        }
    ],
    "continuation_token": null
}
Get Music Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42207/get+music+videos?music_id=7694797733856660255' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
To get Videos a user reposted, page by page.
Endpoint ID: 42208
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42208/get+user+reposts
INPUT PARAMETERS

Get User Reposts — Endpoint Features

Object Description
username Required Username, @handle or profile URL
continuation_token Optional To get Next page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "username": "nasa",
    "count": 6,
    "videos": [
        {
            "video_id": "7694813092256959774",
            "description": "POV: home from ~250 miles up 🚀 Swipe for some pretty wild views from low Earth orbit. #GoogleDoodle #WorldSpaceWeek @NASA ",
            "create_time": 1791588297,
            "author": "google",
            "author_id": "6949137531950842886",
            "author_name": "Google",
            "statistics": {
                "number_of_comments": 297,
                "number_of_hearts": 18300,
                "number_of_plays": 142200,
                "number_of_reposts": 727,
                "number_of_saves": 2154
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/20610549439f4b7ba7f06822006d2976~tplv-photomode-image.jpeg",
            "download_url": null,
            "video_definition": null,
            "format": null,
            "bitrate": null,
            "duration": null,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/4ef0c27fa949cb7595b0b195d45f8f13~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "nasa"
            ],
            "hashtags": [
                "googledoodle",
                "worldspaceweek"
            ],
            "is_photo": true,
            "images": [
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/20610549439f4b7ba7f06822006d2976~tplv-photomode-image.jpeg",
                "https://p16-common-sign.tiktokcdn.com/tos-maliva-i-photomode-us/8b4211e9dcfd4a2c9852eba4cab5c872~tplv-photomode-image.jpeg"
            ],
            "music_id": "7541020694864693264"
        },
        {
            "video_id": "7694341613870501150",
            "description": "You’d need to line up 100 million Moons just to stretch across the black hole TON 618 🤯 Get more mind-blowing space facts with @Google Search  #SpaceWeek #SpaceFacts ",
            "create_time": 1791478543,
            "author": "google",
            "author_id": "6949137531950842886",
            "author_name": "Google",
            "statistics": {
                "number_of_comments": 274,
                "number_of_hearts": 11500,
                "number_of_plays": 154800,
                "number_of_reposts": 537,
                "number_of_saves": 1288
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oQECHi1tfBAZivBhIPudAKAAi4yABY5CoDLAIw~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/oonXAqhtJMAGL2MfE5XUIjVAYI5AiCNjit8ffQ/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 707518,
            "duration": 19,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/4ef0c27fa949cb7595b0b195d45f8f13~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "googlesearch"
            ],
            "hashtags": [
                "spaceweek",
                "spacefacts"
            ],
            "is_photo": false,
            "images": [],
            "music_id": "7694341736717355807"
        }
    ],
    "continuation_token": null
}
Get User Reposts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42208/get+user+reposts?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Latest videos with stats, cover, download URL, hashtags and mentions, plus the profile and a continuation_token.
Endpoint ID: 42209
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42209/get+user+videos
INPUT PARAMETERS

Get User Videos — Endpoint Features

Object Description
username Required Username, @handle or profile URL

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
API EXAMPLE RESPONSE
JSON
{
    "user": {
        "username": "tiktok",
        "nickname": "TikTok",
        "user_id": "107955",
        "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "following": 1,
        "followers": 96300000,
        "total_videos": 1512,
        "total_heart": 465700000,
        "verified": true,
        "description": "Your next discovery is waiting on TikTok.",
        "region": null,
        "bio_link": "tiktok.com/discovermore",
        "profile_links": [
            {
                "link": "tiktok.com/discovermore",
                "risk": 0
            }
        ],
        "description_links": []
    },
    "username": "tiktok",
    "secondary_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "continuation_token": "1787930211000",
    "videos": [
        {
            "video_id": "7694797676306615583",
            "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
            "create_time": 1791584711,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 3319,
                "number_of_hearts": 8386,
                "number_of_plays": 979800,
                "number_of_reposts": 817,
                "number_of_saves": 864
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ow8RyyEuRR0ugSVeENlR0VAQDfAlFEgrRB7qWI/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1641943,
            "duration": 49,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "mccallmirabella"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7694797733856660255"
        },
        {
            "video_id": "7693184538704416031",
            "description": "Real conversations happen on TikTok, and protecting the integrity of elections is a top priority. 🗳️🔐 Through dedicated in-app Election Centers and global fact-checking partnerships, TikTok connects you to authoritative voting information while actively fighting harmful misinformation. An informed community is a stronger community.",
            "create_time": 1791209149,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 3121,
                "number_of_hearts": 12400,
                "number_of_plays": 397600,
                "number_of_reposts": 1264,
                "number_of_saves": 1305
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oUqGIH7EADEdBAAAQXXCfFX46EVf7QkZR6wJMA~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ooRjNEpyAeQEMQsqG6VFE5XwIBuf5FwDFADrEG/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 701105,
            "duration": 68,
            "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7693184700604599071"
        }
    ]
}
Get User Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42209/get+user+videos?username=tiktok' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Next page of Get User Videos: pass the secondary_id and continuation_token it returned.
Endpoint ID: 42210
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42210/get+user+videos+next+page
INPUT PARAMETERS

Get User Videos next page — Endpoint Features

Object Description
username Required Username, @handle or profile URL
secondary_id Required secondary_id from Get User Videos
continuation_token Required continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

username
secondary_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "user": {
        "username": "tiktok",
        "nickname": "TikTok",
        "user_id": "107955",
        "profile_image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
        "following": 1,
        "followers": 96300000,
        "total_videos": 1512,
        "total_heart": 465700000,
        "verified": true,
        "description": "Your next discovery is waiting on TikTok.",
        "region": null,
        "bio_link": "tiktok.com/discovermore",
        "profile_links": [
            {
                "link": "tiktok.com/discovermore",
                "risk": 0
            }
        ],
        "description_links": []
    },
    "username": "tiktok",
    "secondary_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
    "continuation_token": "1784908569000",
    "videos": [
        {
            "video_id": "7678745502359342366",
            "description": "she first connected with fans on TikTok. now @Bella Kay is meeting them on \"Behind the Breakthrough.\"",
            "create_time": 1787847286,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 1433,
                "number_of_hearts": 13400,
                "number_of_plays": 327100,
                "number_of_reposts": 733,
                "number_of_saves": 1227
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/o0fMIAgIjqfe9TEkxAAMpQAIIAjV9JGtZrOILE~tplv-tiktokx-origin.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ocQQEoAIiRhGBU2pBApXagYiIQQBpI3IPVEVE/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1210805,
            "duration": 122,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "itsbellakaymusic"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7678952565630946079"
        },
        {
            "video_id": "7678328024898489630",
            "description": "@Bella Kay had her first \"pinch me\" moment on TikTok. now she's giving fans their own. this is \"Behind the Breakthrough\"",
            "create_time": 1787750068,
            "author": "tiktok",
            "author_id": "107955",
            "author_name": "TikTok",
            "statistics": {
                "number_of_comments": 1408,
                "number_of_hearts": 40300,
                "number_of_plays": 540700,
                "number_of_reposts": 1050,
                "number_of_saves": 3167
            },
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/oIAlv1jIRrwiCm77E5csoAaIiAZ2OlALBEnAB~tplv-tiktokx-dmt-logom:tos-useast8-i-0068-tx2/o0CBoBAACmiASI16ELRBsAaFaOEvsAmr75ilt.image",
            "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/osb7x8uQxfjvBRcgfCXVAm4MAcquTIze8cHIpS/",
            "video_definition": "720p",
            "format": "mp4",
            "bitrate": 1308313,
            "duration": 145,
            "avatar_thumb": "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
            "location": null,
            "mentions": [
                "itsbellakaymusic"
            ],
            "hashtags": [],
            "is_photo": false,
            "images": [],
            "music_id": "7678328003637562142"
        }
    ]
}
Get User Videos next page — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42210/get+user+videos+next+page?username=tiktok&secondary_id=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&continuation_token=1787930211000' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
No-watermark video URL with the cookies TikTok's CDN requires (send them as the Cookie header; without them the CDN answers 403), cover, duration, size and caption tracks.
Endpoint ID: 42211
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42211/download+video+no+watermark
INPUT PARAMETERS

Download Video No Watermark — Endpoint Features

Object Description
video_id Optional TikTok Video id
url Optional Video URL or share link, instead of video_id
country_code Optional Two-letter country code

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
country_code
API EXAMPLE RESPONSE
JSON
{
    "video_id": "7694797676306615583",
    "video": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ogJEilqISNrDaBR0ARVeWfEVFEAR2gyyu8R0TQ/",
    "cookies": "_wafchallengeid=example_value; tt_chain_token=example_value; tt_csrf_token=example_value; ttwid=example_value; msToken=example_value; _waftokenid=example_value",
    "subtitles": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
    "subtitle_tracks": [
        {
            "language": "eng-US",
            "language_id": "2",
            "format": "webvtt",
            "source": "ASR",
            "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
            "expires_at": 1792385908
        }
    ],
    "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
    "duration": 49,
    "width": 720,
    "height": 1280
}
Download Video No Watermark — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42211/download+video+no+watermark?video_id=7694797676306615583&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Description, integer stats (plays, likes, comments, shares, saves), create_time, author, cover, download URL, duration, hashtags, mentions, location, music and caption tracks.
Endpoint ID: 42212
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42212/get+video+details
INPUT PARAMETERS

Get Video Details — Endpoint Features

Object Description
video_id Optional TikTok Video id
url Optional Video URL or vm.tiktok.com share link, instead of video_id
country_code Optional Two-letter country code

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
country_code
API EXAMPLE RESPONSE
JSON
{
    "video_id": "7694797676306615583",
    "details": {
        "video_id": "7694797676306615583",
        "description": "this summer gave us pop songs, glam routines, and a few main-character habits. @McCall Mirabella breaks down this summer's souvenirs 🐬☀️",
        "create_time": 1791584711,
        "author": "tiktok",
        "author_id": "107955",
        "author_name": "TikTok",
        "statistics": {
            "number_of_comments": 3319,
            "number_of_hearts": 8388,
            "number_of_plays": 979800,
            "number_of_reposts": 817,
            "number_of_saves": 864
        },
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2/osDEKIayAATxid4XIifhL1BBXAZ8wiCZcATiAJ~tplv-tiktokx-origin.image",
        "download_url": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alisg-ve-37c799-sg/ow8RyyEuRR0ugSVeENlR0VAQDfAlFEgrRB7qWI/",
        "video_definition": "720p",
        "format": "mp4",
        "bitrate": 1641943,
        "duration": 49,
        "avatar_thumb": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:100:100.jpeg",
        "location": null,
        "mentions": [
            "mccallmirabella"
        ],
        "hashtags": [],
        "is_photo": false,
        "images": [],
        "music_id": "7694797733856660255",
        "music": {
            "music_id": "7694797733856660255",
            "title": "original sound",
            "author": "TikTok",
            "is_original": true,
            "duration": 49,
            "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
            "album": null,
            "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
            "is_copyrighted": false
        },
        "subtitles": [
            {
                "language": "eng-US",
                "language_id": "2",
                "format": "webvtt",
                "source": "ASR",
                "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
                "expires_at": 1792385880
            }
        ]
    }
}
Get Video Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42212/get+video+details?video_id=7694797676306615583&country_code=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
The sound a video uses: id, title, author, duration, audio URL and cover.
Endpoint ID: 42213
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42213/get+video+music+sound
INPUT PARAMETERS

Get Video Music Sound — Endpoint Features

Object Description
video_id Optional TikTok Video id
url Optional Video URL, instead of video_id

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
API EXAMPLE RESPONSE
JSON
{
    "video_id": "7694797676306615583",
    "music_id": "7694797733856660255",
    "title": "original sound",
    "author": "TikTok",
    "is_original": true,
    "duration": 49,
    "play_url": "https://v16m.tiktokcdn.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-2370c799-sg/os9zaqADfCBoAMDJUcAJnhEACFJlWyYAfVEEEG/",
    "album": null,
    "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/ba67b11de451691939223e9d978e613a~tplv-tiktokx-cropcenter:1080:1080.jpeg",
    "is_copyrighted": false
}
Get Video Music Sound — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42213/get+video+music+sound?video_id=7694797676306615583' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Caption tracks (WebVTT URL, language, source) with each track's plain text.
Endpoint ID: 42214
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42214/get+video+subtitles+captions
INPUT PARAMETERS

Get Video Subtitles Captions — Endpoint Features

Object Description
video_id Optional TikTok Video id
url Optional Video URL, instead of video_id
language Optional Only this language, e.g. eng-US or eng

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
language
API EXAMPLE RESPONSE
JSON
{
    "video_id": "7694797676306615583",
    "count": 1,
    "subtitles": [
        {
            "language": "eng-US",
            "language_id": "2",
            "format": "webvtt",
            "source": "ASR",
            "url": "https://v16-webapp.tiktok.com/example_signature/00000000/video/tos/alisg/tos-alisg-v-37c799-sg/3556003e75fe4dc8aae5aeb9a73bd504/",
            "expires_at": 1792385900,
            "text": "If you had to show someone what the pop girl mindset actually looks like, what would you show them? Honestly, this. See this whole glam routine? We got it from TikTok. What's your pop Girl song of the Summer? Expectations by Olivia Rodrigo. It's also kind of been my single girl summer, and TikTok got me through it. Everyone's been posting these uplifting little single and thriving videos to that sound and it just hit differently. If you had to choose one item from your closet that represents pop girl summer, what would you choose? My wedding reception dress. It honestly reminded me of all those pop girl TikTok edits, like something a pop star would wear on stage. This is what a real pop girl summer feels like."
        }
    ]
}
Get Video Subtitles Captions — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15626/tiktok+content+scraper+api/42214/get+video+subtitles+captions?video_id=7694797676306615583&language=eng-US' --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 Scraper 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.

Starts at
$10,000/Year


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

Overview

Public TikTok data: profiles, videos and photo slideshows, no-watermark download URLs, captions with text, music and the videos using a sound, followers, reposts, hashtags and paginated search.

TikTok Content Scraper API FAQs

User info returns a profile’s username, user ID, nickname, avatar, bio, following and follower counts, video count, total likes, verification status, and links. Account search returns similar fields for each matching account; some fields may be null.

Use the endpoint’s continuation token from a response to request the next page. Follower and following results include account summaries; repost results contain video records. A null token indicates there is no next page.

Results are relevant videos found through TikTok search and filtered to include the requested hashtag; they are not a complete chronological hashtag feed. Each video can include its caption, author, creation time, engagement statistics, cover, and download URL.

Search video results can include photo posts. Check the `is_photo` field and, when present, the `images` field for slideshow images. Photo posts may not have a video download URL or video-specific media details.

The `statistics` object reports integer counts for comments, hearts (likes), plays, reposts, and saves. These values describe the video’s engagement and can be used to compare results, but they are counts rather than rates.

Pass both the `secondary_id` and `continuation_token` returned by Get User Videos to Get User Videos next page. The response includes another video page and may provide a new token; a null or absent token means no further page is available.

The response’s `video` field is the media URL, and `cookies` contains values to send in the request’s `Cookie` header when fetching it. The response may also include cover, duration, and subtitle tracks. Download and subtitle URLs can expire.

Caption responses list available tracks with language, format, source, URL, and plain text when provided. Tracks may be generated by speech recognition (`ASR`); use the language and source fields to select a suitable track, and check `expires_at` before fetching its URL.

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