{
"ok": true,
"data": {
"id": "7664638705177150477",
"secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"bio": "Making the seemingly impossible, possible.",
"bioLink": "science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report",
"verified": true,
"isPrivate": false,
"avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"followers": 2186160,
"following": 23,
"likes": 11711252,
"videos": 66,
"friends": 17,
"language": "en",
"region": null,
"isOrganization": true,
"isSeller": false,
"isBusiness": false,
"scrapedAt": "2026-11-15T06:05:51.322Z",
"latestVideos": [
{
"id": "7707774305056083213",
"url": "https://www.tiktok.com/@nasa/video/7707774305056083213",
"text": "From MAX POWER to Mars, it was a week to remember at NASA!",
"textLanguage": "en",
"createTime": 1794606078,
"createTimeISO": "2026-11-13T21:41:18.000Z",
"hashtags": [],
"mentions": [],
"playCount": 145200,
"diggCount": 9771,
"shareCount": 412,
"commentCount": 111,
"collectCount": 1004,
"repostCount": 0,
"duration": 58,
"isSlideshow": false,
"images": [],
"isPinned": null,
"isAd": false,
"isAIGenerated": false,
"locationCreated": "US",
"location": null,
"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7707774305056083213-cover.image",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7707774305056083213-origin.image",
"dynamicCoverUrl": null,
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7707774305056083213/",
"width": 718,
"height": 1276,
"definition": "720p",
"subtitles": [],
"effects": [],
"categories": [
"Science",
"Education"
],
"music": {
"id": "7707774345707555598",
"title": "original sound - NASA",
"authorName": "NASA",
"album": null,
"isOriginal": false,
"duration": 58,
"coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"playUrl": "https://v19.tiktokcdn-us.com/audio/7707774345707555598/"
},
"author": {
"id": "7664638705177150477",
"secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"verified": true,
"isPrivate": false,
"bio": "Making the seemingly impossible, possible.",
"avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"followers": 2186160,
"following": 23,
"likes": 11711252,
"videos": 66
}
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoidmlkZW9zIiwidSI6Im5hc2EiLCJzIjoiTVM0d0xqQUJB..."
}
curl --location --request GET 'https://zylalabs.com/api/14957/tiktok+real-time+api/39195/get+profile?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"username": "nasa",
"items": [
{
"id": "7695060950394703118",
"url": "https://www.tiktok.com/@nasa/video/7695060950394703118",
"text": "We just released hundreds of new images and hours of new audio from our Artemis II mission around the Moon this spring.",
"textLanguage": "en",
"createTime": 1791646017,
"createTimeISO": "2026-10-10T15:26:57.000Z",
"hashtags": [],
"mentions": [],
"playCount": 968300,
"diggCount": 81700,
"shareCount": 2766,
"commentCount": 3512,
"collectCount": 5173,
"repostCount": 0,
"duration": 43,
"isSlideshow": false,
"images": [],
"isPinned": null,
"isAd": false,
"isAIGenerated": false,
"locationCreated": "US",
"location": null,
"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-cover.image",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-origin.image",
"dynamicCoverUrl": null,
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7695060950394703118/",
"width": 718,
"height": 1276,
"definition": "720p",
"subtitles": [
{
"language": "eng-US",
"format": "webvtt",
"url": "https://v16m-webapp.tiktokcdn-us.com/7695060950394703118/subtitles.vtt",
"isAutoGenerated": true
}
],
"effects": [],
"categories": [
"Science",
"Education"
],
"music": {
"id": "7695060940479384334",
"title": "original sound - NASA",
"authorName": "NASA",
"album": null,
"isOriginal": false,
"duration": 43,
"coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"playUrl": "https://v19.tiktokcdn-us.com/audio/7695060940479384334/"
},
"author": {
"id": "7664638705177150477",
"secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"verified": true,
"isPrivate": false,
"bio": "Making the seemingly impossible, possible.",
"avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"followers": 2186160,
"following": 23,
"likes": 11711252,
"videos": 66
}
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoidmlkZW9zIiwidSI6Im5hc2EiLCJzIjoiTVM0d0xqQUJB..."
}
curl --location --request GET 'https://zylalabs.com/api/14957/tiktok+real-time+api/39196/get+profile+videos?username=nasa' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"id": "7695060950394703118",
"url": "https://www.tiktok.com/@nasa/video/7695060950394703118",
"text": "We just released hundreds of new images and hours of new audio from our Artemis II mission around the Moon this spring.",
"textLanguage": "en",
"createTime": 1791646017,
"createTimeISO": "2026-10-10T15:26:57.000Z",
"hashtags": [],
"mentions": [],
"playCount": 968300,
"diggCount": 81700,
"shareCount": 2766,
"commentCount": 3512,
"collectCount": 5173,
"repostCount": 0,
"duration": 43,
"isSlideshow": false,
"images": [],
"isPinned": null,
"isAd": false,
"isAIGenerated": false,
"locationCreated": "US",
"location": null,
"coverUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-cover.image",
"originalCoverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/7695060950394703118-origin.image",
"dynamicCoverUrl": null,
"playUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/7695060950394703118/",
"width": 718,
"height": 1276,
"definition": "720p",
"subtitles": [
{
"language": "eng-US",
"format": "webvtt",
"url": "https://v16m-webapp.tiktokcdn-us.com/7695060950394703118/subtitles.vtt",
"isAutoGenerated": true
}
],
"effects": [],
"categories": [
"Science",
"Education"
],
"music": {
"id": "7695060940479384334",
"title": "original sound - NASA",
"authorName": "NASA",
"album": null,
"isOriginal": false,
"duration": 43,
"coverUrl": "https://p19-common.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"playUrl": "https://v19.tiktokcdn-us.com/audio/7695060940479384334/"
},
"author": {
"id": "7664638705177150477",
"secUid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6",
"username": "nasa",
"nickname": "NASA",
"url": "https://www.tiktok.com/@nasa",
"verified": true,
"isPrivate": false,
"bio": "Making the seemingly impossible, possible.",
"avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/nasa-avatar.jpeg",
"followers": 2186160,
"following": 23,
"likes": 11711252,
"videos": 66
},
"scrapedAt": "2026-11-15T06:06:01.374Z"
},
"next_cursor": null
}
curl --location --request GET 'https://zylalabs.com/api/14957/tiktok+real-time+api/39197/get+video+details?url=https://www.tiktok.com/@nasa/video/7695060950394703118' --header 'Authorization: Bearer YOUR_API_KEY'
{
"ok": true,
"data": {
"videoId": "7695060950394703118",
"commentId": null,
"total": 3512,
"items": [
{
"id": "7695100936662565646",
"text": "Our home",
"createTime": 1791655343,
"createTimeISO": "2026-10-10T18:02:23.000Z",
"diggCount": 1768,
"replyCount": 74,
"parentId": null,
"likedByAuthor": true,
"pinnedByAuthor": false,
"language": "en",
"author": {
"id": "1234567890123456789",
"username": "sample.account",
"nickname": "Sample Account",
"url": "https://www.tiktok.com/@sample.account",
"avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/sample-avatar.jpeg"
}
}
]
},
"next_cursor": "eyJ2IjoxLCJrIjoiY29tbWVudHMiLCJpIjoiNzY5NTA2MDk1MDM5NDcwMzExOCIs..."
}
curl --location --request GET 'https://zylalabs.com/api/14957/tiktok+real-time+api/39198/get+video+comments?url=https://www.tiktok.com/@nasa/video/7695060950394703118' --header 'Authorization: Bearer YOUR_API_KEY'
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 Real-Time API simply include your bearer token in the Authorization header.
| 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.
Public TikTok data in real time as JSON: profiles with exact counts, a profile's videos, one video or photo post with its statistics, and comments with their replies.
No. The API reads public data only, with no login. Private accounts are not available.
List endpoints return next_cursor. Pass it back as the cursor parameter to get the next page, until next_cursor is null.
Yes. Call the comments endpoint with the comment_id of a comment to get its replies.
The API answers 404 with an error code and message instead of data.
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.
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.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund