Raspador de conteúdo do TikTok API

API ID 15626

Dados públicos do TikTok: perfis, vídeos e apresentações de fotos, URLs de download sem marca d’água, legendas com texto, músicas e vídeos que usam um som, seguidores, republicações, hashtags e pesquisa paginada

Documentação da API

Endpoints

Requisição
Contas que seguem um usuário, página por página, com um continuation_token
Endpoint ID: 42197
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42197/get+user+followers
PARÂMETROS DE ENTRADA

Obter seguidores do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL
continuation_token Opcional To get Next page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
continuation_token
RESPOSTA DE EXEMPLO DA API
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"
}
Obter seguidores do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
Contas que um usuário segue, página por página, com um token de continuação .
Endpoint ID: 42198
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42198/get+user+following
PARÂMETROS DE ENTRADA

Obter usuários que segue — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL
continuation_token Opcional To get Next page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
continuation_token
RESPOSTA DE EXEMPLO DA API
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
}
Obter usuários que segue — TRECHOS DE CÓDIGO

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' 


    
Requisição
ID, descrição e contagens exatas de vídeos e visualizações de uma hashtag
Endpoint ID: 42199
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42199/get+hashtag+challenge+info
PARÂMETROS DE ENTRADA

Obter informações do Desafio de Hashtag — Recursos do endpoint

Objeto Descrição
tag Obrigatório Hashtag, with or without #

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

tag
RESPOSTA DE EXEMPLO DA API
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"
}
Obter informações do Desafio de Hashtag — TRECHOS DE CÓDIGO

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' 


    
Requisição
Vídeos marcados com uma hashtag (com ou sem #), primeiro os mais relevantes, no formato Search Videos, cerca de 10 a 20 por página com continuation_token. Eles vêm da busca do TikTok pela tag, mantendo apenas os vídeos que a incluem, portanto são os vídeos mais relevantes da tag, não o feed cronológico completo. Tags não latinas podem retornar poucos vídeos ou nenhum; uma tag desconhecida retorna 404. .
Endpoint ID: 42200
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42200/get+hashtag+videos
PARÂMETROS DE ENTRADA

Obter vídeos com hashtag — Recursos do endpoint

Objeto Descrição
tag Obrigatório Hashtag, with or without #
continuation_token Opcional continuation_token from the previous page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

tag
continuation_token
RESPOSTA DE EXEMPLO DA API
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"
}
Obter vídeos com hashtag — TRECHOS DE CÓDIGO

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' 


    
Requisição
Imagens (tamanho completo), descrição, estatísticas e autor de uma publicação de apresentação de fotos
Endpoint ID: 42201
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42201/get+photo+post+slideshow
PARÂMETROS DE ENTRADA

Obter apresentação de slides de fotos da publicação — Recursos do endpoint

Objeto Descrição
video_id Opcional Photo post id
url Opcional Photo post URL, instead of video_id
country_code Opcional Two-letter country code

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

video_id
url
country_code
RESPOSTA DE EXEMPLO DA API
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"
        ]
    }
}
Obter apresentação de slides de fotos da publicação — TRECHOS DE CÓDIGO

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' 


    
Requisição
Contabiliza uma consulta com seguidores, gostos e verificação, página por página
Endpoint ID: 42202
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42202/search+accounts
PARÂMETROS DE ENTRADA

Pesquisar contas — Recursos do endpoint

Objeto Descrição
query Obrigatório Search text
continuation_token Opcional continuation_token from the previous page (null: no more pages)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
continuation_token
RESPOSTA DE EXEMPLO DA API
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"
}
Pesquisar contas — TRECHOS DE CÓDIGO

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


    
Requisição
Vídeos e contas para uma consulta, página por página (continuation_token). Os vídeos têm o mesmo formato que Get User Videos. .
Endpoint ID: 42203
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42203/search+videos+and+accounts
PARÂMETROS DE ENTRADA

Pesquisar vídeos e contas — Recursos do endpoint

Objeto Descrição
query Obrigatório Search text
continuation_token Opcional continuation_token from the previous page (null: no more pages)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
continuation_token
RESPOSTA DE EXEMPLO DA API
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": []
        }
    ]
}
Pesquisar vídeos e contas — TRECHOS DE CÓDIGO

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' 


    
Requisição
Vídeos para uma consulta com estatísticas inteiras, capa, URL de download e autor, página por página; apresentações de fotos têm is_photo e imagens
Endpoint ID: 42204
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42204/search+videos
PARÂMETROS DE ENTRADA

Pesquisar vídeos — Recursos do endpoint

Objeto Descrição
query Obrigatório Search text
continuation_token Opcional continuation_token from the previous page (null: no more pages)

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

query
continuation_token
RESPOSTA DE EXEMPLO DA API
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"
}
Pesquisar vídeos — TRECHOS DE CÓDIGO

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


    
Requisição
Seguidores seguindo curtidas contagem de vídeos biografia link da biografia avatar e selo de verificação
Endpoint ID: 42205
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42205/get+user+info
PARÂMETROS DE ENTRADA

Obter informações do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
RESPOSTA DE EXEMPLO DA API
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"
    ]
}
Obter informações do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
ID numérico de usuário de um nome de usuário, @handle ou URL de perfil
Endpoint ID: 42206
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42206/get+user+id
PARÂMETROS DE ENTRADA

Obter ID do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
RESPOSTA DE EXEMPLO DA API
JSON
{
    "username": "tiktok",
    "user_id": "107955"
}
Obter ID do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
Vídeos que usam um som, 30 por página, com o título do som, o autor e o URL do áudio
Endpoint ID: 42207
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42207/get+music+videos
PARÂMETROS DE ENTRADA

Obter vídeos musicais — Recursos do endpoint

Objeto Descrição
music_id Obrigatório Sound id (music_id of a video, or the number in tiktok.com/music/<name>-<id>)
continuation_token Opcional continuation_token from the previous page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

music_id
continuation_token
RESPOSTA DE EXEMPLO DA API
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
}
Obter vídeos musicais — TRECHOS DE CÓDIGO

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' 


    
Requisição
Para obter os vídeos que um usuário republicou, página por página
Endpoint ID: 42208
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42208/get+user+reposts
PARÂMETROS DE ENTRADA

Obter republicações do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL
continuation_token Opcional To get Next page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
continuation_token
RESPOSTA DE EXEMPLO DA API
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
}
Obter republicações do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
Vídeos mais recentes com estatísticas, capa, URL de download, hashtags e menções, além do perfil e de um continuation_token
Endpoint ID: 42209
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42209/get+user+videos
PARÂMETROS DE ENTRADA

Obter vídeos do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
RESPOSTA DE EXEMPLO DA API
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"
        }
    ]
}
Obter vídeos do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
Próxima página de Obter vídeos do usuário: passe o secondary_id e o continuation_token que ela retornou
Endpoint ID: 42210
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42210/get+user+videos+next+page
PARÂMETROS DE ENTRADA

Obter próxima página de vídeos do usuário — Recursos do endpoint

Objeto Descrição
username Obrigatório Username, @handle or profile URL
secondary_id Obrigatório secondary_id from Get User Videos
continuation_token Obrigatório continuation_token from the previous page

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

username
secondary_id
continuation_token
RESPOSTA DE EXEMPLO DA API
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"
        }
    ]
}
Obter próxima página de vídeos do usuário — TRECHOS DE CÓDIGO

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' 


    
Requisição
URL do vídeo sem marca d’água com os cookies exigidos pela CDN do TikTok (envie-os no cabeçalho Cookie; sem eles, a CDN responde com 403), capa, duração, tamanho e faixas de legenda
Endpoint ID: 42211
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42211/download+video+no+watermark
PARÂMETROS DE ENTRADA

Baixar vídeo sem marca d’água — Recursos do endpoint

Objeto Descrição
video_id Opcional TikTok Video id
url Opcional Video URL or share link, instead of video_id
country_code Opcional Two-letter country code

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

video_id
url
country_code
RESPOSTA DE EXEMPLO DA API
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
}
Baixar vídeo sem marca d’água — TRECHOS DE CÓDIGO

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' 


    
Requisição
Descrição estatísticas inteiras (reproduções curtidas comentários compartilhamentos salvamentos) horário de criação autor capa URL de download duração hashtags menções localização música e faixas de legenda
Endpoint ID: 42212
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42212/get+video+details
PARÂMETROS DE ENTRADA

Obter detalhes do vídeo — Recursos do endpoint

Objeto Descrição
video_id Opcional TikTok Video id
url Opcional Video URL or vm.tiktok.com share link, instead of video_id
country_code Opcional Two-letter country code

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

video_id
url
country_code
RESPOSTA DE EXEMPLO DA API
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
            }
        ]
    }
}
Obter detalhes do vídeo — TRECHOS DE CÓDIGO

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' 


    
Requisição
O som que um vídeo usa: identificador, título, autor, duração, URL do áudio e capa
Endpoint ID: 42213
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42213/get+video+music+sound
PARÂMETROS DE ENTRADA

Obter vídeo música som — Recursos do endpoint

Objeto Descrição
video_id Opcional TikTok Video id
url Opcional Video URL, instead of video_id

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

video_id
url
RESPOSTA DE EXEMPLO DA API
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
}
Obter vídeo música som — TRECHOS DE CÓDIGO

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' 


    
Requisição
Faixas de legenda (URL WebVTT, idioma, fonte) com o texto simples de cada faixa
Endpoint ID: 42214
GET https://zylalabs.com/api/15626/tiktok+content+scraper+api/42214/get+video+subtitles+captions
PARÂMETROS DE ENTRADA

Obter legendas do vídeo Captions — Recursos do endpoint

Objeto Descrição
video_id Opcional TikTok Video id
url Opcional Video URL, instead of video_id
language Opcional Only this language, e.g. eng-US or eng

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

video_id
url
language
RESPOSTA DE EXEMPLO DA API
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."
        }
    ]
}
Obter legendas do vídeo Captions — TRECHOS DE CÓDIGO

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' 


    

Chave de acesso à API e autenticação

Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Raspador de conteúdo do TikTok API basta incluir seu token Bearer no cabeçalho Authorization.

Cabeçalhos
Cabeçalho Descrição
Authorization Obrigatório Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.

Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.

A partir de
$10.000/Ano


  • Volume personalizado
  • Limite de taxa personalizado
  • Suporte ao cliente especializado
  • Monitoramento de API em tempo real

Visão Geral

Dados públicos do TikTok: perfis, vídeos e apresentações de slides de fotos, URLs de download sem marca d’água, legendas com texto, música e vídeos que usam um som, seguidores, republicações, hashtags e pesquisa paginada

Raspador de conteúdo do TikTok API FAQs

As informações do usuário retornam o nome de usuário do perfil, o ID do usuário, o apelido, o avatar, a biografia, o número de contas seguidas e de seguidores, o número de vídeos, o total de curtidas, o status de verificação e os links. A busca de contas retorna campos semelhantes para cada conta correspondente; alguns campos podem ser nulos.

Use o token de continuação do endpoint de uma resposta para solicitar a próxima página. Os resultados de seguidores e seguindo incluem resumos de contas; os resultados de republicações contêm registros de vídeos. Um token nulo indica que não há próxima página. .

Os resultados são vídeos relevantes encontrados por meio da busca do TikTok e filtrados para incluir a hashtag solicitada; eles não constituem um feed cronológico completo da hashtag. Cada vídeo pode incluir sua legenda, autor, horário de criação, estatísticas de engajamento, capa e URL de download

Os resultados da pesquisa de vídeos podem incluir publicações com fotos. Verifique o campo `is_photo` e, quando presente, o campo `images` para ver as imagens da apresentação de slides. As publicações com fotos podem não ter um URL de download de vídeo nem detalhes de mídia específicos de vídeo

O objeto `statistics` informa contagens inteiras de comentários, corações (curtidas), reproduções, republicações e salvamentos Esses valores descrevem o engajamento do vídeo e podem ser usados para comparar resultados, mas são contagens, não taxas

Passe tanto o `secondary_id` quanto o `continuation_token` retornados por Get User Videos para Get User Videos next page A resposta inclui outra página de vídeos e pode fornecer um novo token um token nulo ou ausente significa que não há mais páginas disponíveis

O campo `video` da resposta é a URL da mídia e `cookies` contém valores a serem enviados no cabeçalho `Cookie` da solicitação ao buscá-la A resposta também pode incluir capa duração e faixas de legenda URLs de download e de legendas podem expirar

As respostas de legendas listam as faixas disponíveis com idioma, formato, origem, URL e texto simples, quando fornecido. As faixas podem ser geradas por reconhecimento de fala (`ASR`); use os campos de idioma e origem para selecionar uma faixa adequada e verifique `expires_at` antes de acessar a URL delas

Perguntas Frequentes Gerais

O Zyla API Hub é como uma grande loja de APIs, onde você pode encontrar milhares delas em um só lugar. Também oferecemos suporte dedicado e monitoramento em tempo real de todas as APIs. Após se cadastrar, você pode escolher quais APIs deseja usar. Lembre-se apenas de que cada API precisa de sua própria assinatura. Mas se você se inscrever em várias, usará a mesma chave para todas elas, facilitando as coisas para você.
Os preços são listados em USD (Dólar Americano), EUR (Euro), CAD (Dólar Canadense), AUD (Dólar Australiano) e GBP (Libra Esterlina). Aceitamos todos os principais cartões de débito e crédito. Nosso sistema de pagamento usa a mais recente tecnologia de segurança e é operado pela Stripe, uma das empresas de pagamento mais confiáveis do mundo. Se tiver problemas para pagar com cartão, entre em contato conosco em [email protected]

Além disso, se você já tiver uma assinatura ativa em qualquer uma dessas moedas (USD, EUR, CAD, AUD, GBP), essa moeda será mantida para assinaturas subsequentes. Você pode alterar a moeda a qualquer momento, desde que não tenha assinaturas ativas.
A moeda local exibida na página de preços é baseada no país do seu endereço IP e é fornecida apenas como referência. Os preços reais são em USD (Dólar Americano). Ao efetuar o pagamento, a cobrança aparecerá no extrato do seu cartão em USD, mesmo que você veja o valor equivalente em sua moeda local em nosso site. Isso significa que você não pode pagar diretamente com sua moeda local.
Ocasionalmente, o banco pode recusar a cobrança devido às configurações de proteção contra fraude. Sugerimos contatar seu banco inicialmente para verificar se estão bloqueando nossas cobranças. Você também pode acessar o Portal de Cobrança e alterar o cartão associado para realizar o pagamento. Se isso não funcionar e precisar de mais ajuda, entre em contato com nossa equipe em [email protected]
Os preços são determinados por uma assinatura recorrente mensal ou anual, dependendo do plano escolhido.
As chamadas de API são descontadas do seu plano com base nas requisições bem-sucedidas. Cada plano possui um número específico de chamadas por mês. Apenas chamadas bem-sucedidas, indicadas por uma resposta com Status 200, serão contabilizadas, garantindo que falhas não afetem sua cota mensal.
O Zyla API Hub funciona com um sistema de assinatura mensal recorrente. Seu ciclo de cobrança começa no dia em que você compra um dos planos pagos e será renovado no mesmo dia do mês seguinte. Portanto, cancele sua assinatura com antecedência se quiser evitar cobranças futuras.
Para fazer upgrade do seu plano atual, acesse a página de preços da API e selecione o novo plano desejado. O upgrade é instantâneo, permitindo aproveitar imediatamente os recursos do novo plano. Observe que as chamadas restantes do plano anterior não serão transferidas; você será cobrado pelo valor integral do novo plano.
Para verificar quantas chamadas de API restam para o mês atual, consulte o campo 'X-Zyla-API-Calls-Monthly-Remaining' no cabeçalho da resposta. Por exemplo, se seu plano permite 1.000 requisições por mês e você usou 100, este campo no cabeçalho da resposta indicará 900 chamadas restantes.
Para ver o número máximo de requisições de API que seu plano permite, verifique o cabeçalho de resposta 'X-Zyla-RateLimit-Limit'. Por exemplo, se seu plano inclui 1.000 requisições por mês, este cabeçalho exibirá 1.000.
O cabeçalho 'X-Zyla-RateLimit-Reset' mostra o número de segundos até seu limite de taxa ser redefinido. Isso informa quando sua contagem de requisições começará do zero. Por exemplo, se exibir 3.600, significa que restam 3.600 segundos até o limite ser redefinido.
Sim, você pode cancelar seu plano a qualquer momento acessando sua conta e selecionando a opção de cancelamento na página de Cobrança. Observe que upgrades, downgrades e cancelamentos têm efeito imediato. Além disso, após o cancelamento, você não terá mais acesso ao serviço, mesmo que ainda tenha chamadas restantes na sua cota.
Para oferecer a oportunidade de experimentar nossas APIs sem compromisso, oferecemos um teste gratuito de 7 dias que permite realizar até 50 chamadas de API sem custo. Esse teste pode ser usado apenas uma vez; recomendamos aplicá-lo à API que mais interessa. Embora a maioria das APIs ofereça teste gratuito, algumas podem não oferecer. O teste termina após 7 dias ou quando você atingir 50 requisições, o que ocorrer primeiro. Se atingir o limite, será necessário "Iniciar seu plano pago" para continuar. Você encontra esse botão no perfil em Assinatura -> Escolha a API -> aba Preços. Se não cancelar até o 7º dia, sua assinatura será cobrada automaticamente, liberando todas as chamadas do plano.
Após 7 dias, será cobrado o valor total do plano ao qual você estava inscrito durante o teste. Portanto, é importante cancelar antes do término do período. Solicitações de reembolso por esquecimento de cancelamento não são aceitas.
Ao assinar um teste gratuito de API, você pode fazer até 50 chamadas. Se desejar fazer chamadas adicionais além desse limite, a API solicitará que você "Inicie seu plano pago". Você encontra o botão no perfil em Assinatura -> Escolha a API -> aba Preços.
As Ordens de Pagamento são processadas entre os dias 20 e 30 de cada mês. Se você enviar sua solicitação antes do dia 20, seu pagamento será processado dentro desse período.
Você pode nos contatar via chat para receber assistência imediata. Estamos online de 8h às 17h (EST). Se nos contatar após esse horário, retornaremos o mais rápido possível. Além disso, você pode enviar um e-mail para [email protected]

APIs relacionadas