Quickstart
First request in two minutes.
tikdataapi.com is a read-only HTTP API for public TikTok data: profiles, videos, the videos of an account, comments, replies, hashtags, video and account search, follower and following lists, sounds and their videos, reposts, playlists, related videos, trending videos, sound, live and hashtag search, the live state of an account, and the transcripts of videos. One credit is one profile, one video, one comment, one hashtag, one sound, one playlist, one live room or one transcript returned. Empty results and failed requests cost nothing. You need no TikTok account, no TikTok login and no cookies. tikdataapi.com is not affiliated with TikTok or ByteDance.
1. Get a key
Sign in at tikdataapi.com/dashboard with your email. No password: you get a six-digit code. Create a key there. Every new account starts with 1,000 free credits.
2. Make a request
Send the key in the x-api-key header.
curl "https://api.tikdataapi.com/v1/users/tiktok" \
-H "x-api-key: tt_live_..."{
"data": {
"id": "107955",
"username": "tiktok",
"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"nickname": "TikTok",
"verified": true,
"private": false,
"followers": 92400000,
"following": 2,
"likes": 465300000,
"videos": 1180,
"collected_at": "2026-12-02T08:55:12Z"
},
"items": 1,
"credits_charged": 1,
"balance_remaining": 999,
"cache": "miss",
"request_id": "3d4f3d1c-..."
}Every response carries items, credits_charged, balance_remaining, cache and request_id.
Keep request_id when you report a problem.
Every object carries collected_at: the time we read it from TikTok, in UTC. Plays, likes and follower counts
change, so they are the counts of that moment. An object served from cache keeps the time of its own read.
3. Read the videos of an account
curl "https://api.tikdataapi.com/v1/users/tiktok/videos?count=16" \
-H "x-api-key: tt_live_..."Pinned videos come first, then the newest. 1 credit per video. The response has next_cursor while there are
more videos: send it back as cursor. See Pagination.
Endpoints
| Endpoint | Returns | Credits |
|---|---|---|
GET /v1/users/{user} | one profile, by username or sec_uid | 1 |
GET /v1/users/{user}/videos | the videos of an account, pinned first, then newest first | 1 per video |
GET /v1/videos/{id} | one video | 1 |
GET /v1/videos/{id}/comments | the comments of a video | 1 per comment |
GET /v1/videos/{id}/comments/{comment_id}/replies | the replies to a comment | 1 per reply |
GET /v1/hashtags/{name} | one hashtag, with the count of its videos and their plays | 1 |
GET /v1/hashtags/{name}/videos | the videos of a hashtag | 1 per video |
GET /v1/search/videos?query= | the videos that the general search of TikTok finds | 1 per video |
GET /v1/search/users?query= | the accounts that the account search of TikTok finds | 1 per account |
GET /v1/users/{user}/followers | the accounts that follow an account | 1 per profile |
GET /v1/users/{user}/following | the accounts that an account follows | 1 per profile |
GET /v1/users/{user}/reposts | the videos that an account reposted | 1 per video |
GET /v1/users/{user}/playlists | the playlists of an account | 1 per playlist |
GET /v1/playlists/{id}/videos | the videos of a playlist | 1 per video |
GET /v1/music/{id} | one sound, with the count of its videos (rounded by TikTok) | 1 |
GET /v1/music/{id}/videos | the videos that use a sound | 1 per video |
GET /v1/videos/{id}/related | the videos that TikTok shows next to a video, one page | 1 per video |
GET /v1/trending/videos | the explore feed of TikTok for a logged-out visitor, a new set on each read | 1 per video |
GET /v1/search/music?query= | the sounds that the sound search of TikTok finds | 1 per sound |
GET /v1/search/live?query= | the live rooms that match a keyword | 1 per room |
GET /v1/users/{user}/live | whether an account is live now: room, title, viewers, start time | 1 |
GET /v1/videos/{id}/transcript | the subtitles of a video, as segments and text | 1 |
GET /v1/search/hashtags?query= | the hashtags of the videos that the general search finds, most used first | 1 per hashtag |
POST /v1/users/batch | up to 100 profiles, by username | 1 per profile found |
POST /v1/videos/batch | up to 100 videos, by id | 1 per video found |
POST /v1/users/videos/batch | the latest videos of up to 20 accounts | 1 per video |
GET /v1/me | your balance and rate limit | 0 |
{user} takes a username, with or without @, or a sec_uid. Search is the general video search and the account
search of TikTok, and sound and live search. TikTok gives a logged-out visitor no hashtag search of its own:
hashtag search ranks the hashtags of the videos of the general search, and its counts are of those videos, not the
totals of TikTok. A live room is data, not a stream. Search, the follower lists, sounds, reposts, playlists,
related videos, trending videos, live, transcripts and hashtag search are new, and their limits are not measured
yet. What you can read has the
full list. The full contract is in the API reference.