What you can read
What the API reads from TikTok, what it cannot read, and how to find accounts, sounds, playlists, live rooms and hashtags.
tikdataapi.com reads what a logged-out visitor of tiktok.com can see. You need no TikTok account, no TikTok login and no cookies, and we use none for you. tikdataapi.com is not affiliated with TikTok or ByteDance.
What you can read
| Data | Endpoint | Notes |
|---|---|---|
| A profile | GET /v1/users/{user} | by username or sec_uid: bio, verified and private state, counts of followers, following, likes and videos |
| Up to 100 profiles | POST /v1/users/batch | by username |
| The videos of an account | GET /v1/users/{user}/videos | pinned videos first, then newest first |
| The latest videos of up to 20 accounts | POST /v1/users/videos/batch | 1 to 16 videos for each account |
| A video | GET /v1/videos/{id} | caption, author, sound, hashtags, mentions, counts of plays, likes, comments, shares and saves |
| Up to 100 videos | POST /v1/videos/batch | by id |
| The comments of a video | GET /v1/videos/{id}/comments | in the order of TikTok: pinned first, then the most relevant |
| The replies to a comment | GET /v1/videos/{id}/comments/{comment_id}/replies | oldest first |
| A hashtag | GET /v1/hashtags/{name} | how many videos use it, and how many plays they have |
| The videos of a hashtag | GET /v1/hashtags/{name}/videos | in the order of the hashtag page on TikTok: popular, not newest first |
| Videos for a keyword | GET /v1/search/videos?query= | the general ("Top") search of TikTok, in the order of TikTok; videos only |
| Accounts for a keyword | GET /v1/search/users?query= | the account search of TikTok (the "Users" tab), in the order of TikTok; each entry is a short profile |
| The followers of an account | GET /v1/users/{user}/followers | newest first, as TikTok gives them; each entry is a profile |
| The accounts an account follows | GET /v1/users/{user}/following | newest first, as TikTok gives them; each entry is a profile |
| A sound | GET /v1/music/{id} | title, author, album, duration, whether it is an original sound, the account of the artist or of the maker, and how many videos use it (rounded by TikTok) |
| The videos of a sound | GET /v1/music/{id}/videos | the videos that use the sound, in the order of TikTok |
| The reposts of an account | GET /v1/users/{user}/reposts | the videos that an account reposted, in the order of TikTok |
| The playlists of an account | GET /v1/users/{user}/playlists | id, name, count of videos, cover and author of each playlist |
| The videos of a playlist | GET /v1/playlists/{id}/videos | in the order of the playlist |
| Related videos | GET /v1/videos/{id}/related | the videos that TikTok shows next to a video: one page of up to 16, with no next page |
| Trending videos | GET /v1/trending/videos | the explore feed of TikTok for a logged-out visitor: up to 50 in one call, with no pages |
| Sounds for a keyword | GET /v1/search/music?query= | the sound search of TikTok, in the order of TikTok: id, title, author, album, duration and cover of each sound |
| Live rooms for a keyword | GET /v1/search/live?query= | the live search of TikTok, in the order of TikTok: room id, title, viewers now, start time, cover and host of each room |
| Whether an account is live | GET /v1/users/{user}/live | live: true with the room id, title, viewers now and start time, or live: false |
| The transcript of a video | GET /v1/videos/{id}/transcript | the subtitles of a video, as segments with start and end times and as one text; lang picks a language |
| Hashtags for a keyword | GET /v1/search/hashtags?query= | the hashtags of the videos that the general search finds, most used first: name, how many of those videos use it, and the sum of their plays |
A photo post is a video with "type": "photo": a set of images with a sound. Its duration is the length of the
sound.
Search and follower lists are new
Video search and the follower and following lists are new on 2026-12-02, and account search is new on the same day. Tests showed that TikTok gives them to a logged-out reader. Their limits are not measured yet:
- how many reads TikTok allows before it asks for a captcha or blocks a reader;
- how many pages of one search, and how deep a follower list, TikTok lets us read;
- what TikTok gives for a private account, or for an account that hides the accounts it follows.
The status page does not check these four reads yet. A read that TikTok refuses is a 503 with
Retry-After, and costs nothing, as for every other read.
Sounds, reposts, playlists, related and trending videos are new
These seven reads are new on 2026-12-03. A test that day showed that TikTok gives them to a logged-out reader. Their limits are not measured yet, and the status page does not check them yet. What to know:
- Sounds. The id of a sound is the number at the end of its address,
tiktok.com/music/<name>-<id>, and theidof themusicof a video.videos, the count of videos that use the sound, is rounded by TikTok (for example 73900).artist_usernameis the official account of the artist of a song;author_usernameis the account that made an original sound. - Playlists. The
idof an entry of/v1/users/{user}/playlistsis the id for/v1/playlists/{id}/videos. The playlists and the reposts of a private account are an empty list, and free. - Related videos. TikTok gives one page of up to 16 videos, and no next page: there is no
cursor. - Trending videos. This is the explore feed of TikTok for a logged-out visitor. It has no cursor and no
pages: each read of TikTok gives a new set of videos. A call with
countabove 16 reads more sets and drops the videos it has already given, up to 50. A call inside the cache time (2 minutes) gets the same set from cache at half price;fresh=truereads a new set.
Sound search, live and transcripts are new
These four reads are new on 2026-12-03. A test that day showed that TikTok gives them to a logged-out reader. Their limits are not measured yet, and the status page does not check them yet. What to know:
- Sound search. A page of TikTok holds 12 sounds. The
idof an entry is the id for/v1/music/{id}and/v1/music/{id}/videos.originalandvideos, the count of videos that use the sound, are there only when TikTok gives them. - Live rooms. A live room is the data about a live broadcast:
room_id,title,viewers(the viewers now),started_at,cover_urland the host asauthor. There is no stream URL: you get the data about the room, not the stream. A page of live search holds at most 12 rooms, often fewer. For an account that is not live,/v1/users/{user}/livegiveslive: falseand no room, and costs 1 credit, as every answer does. Both reads stay in cache for 1 minute. - Transcripts. A transcript is the subtitles that TikTok has for a video, often made by speech recognition
(
source: "ASR").segmentsholds each line with itsstartandendin seconds, andtextis all the lines in one string.languageslists the languages of the video.langpicks one, by its full code (eng-US) or its first part (eng); with nolangyou get the speech-recognition transcript, else the first one. A video with no subtitles is a404not_foundwith the reasonunavailable, and costs nothing.
Hashtag search is new
Hashtag search is new on 2026-12-03. TikTok gives a logged-out visitor no hashtag search of its own, so
/v1/search/hashtags reads about 24 videos of the general search (two TikTok pages, as /v1/search/videos) and
ranks the hashtags of those videos. What to know:
- Order. By
result_videos, the number of those videos that use the hashtag, then byresult_plays, the sum of their plays, then by first use. - Counts.
result_videosandresult_playsare of those search videos only, not the totals of TikTok. For the totals, read/v1/hashtags/{name}with thenameof an entry. - Pages.
countis 1 to 30, 10 by default; a larger number gives 30. There is no cursor and no next page. - Cache. The answer stays in cache for 5 minutes, apart from the cache of
/v1/search/videos.
What you cannot read
| Not available | Why |
|---|---|
| Filters and sorting of the Videos tab of search | TikTok ignores them for a logged-out visitor: other sort orders and dates gave the same videos. Video search here is the general ("Top") search, in the order of TikTok. |
| Liked videos | TikTok gives a logged-out visitor no items, also for public accounts. |
| Video files and live streams | The API gives the data about a video or a live room, and its cover image, not the video file or the stream. There is no download endpoint. |
| Posting, liking, following, commenting, direct messages | The API is read-only. It changes nothing on TikTok and reads no messages. |
| The videos of a private account | TikTok shows them only to the followers of the account. The profile comes back with private: true, and its video list is empty and free. |
If you need the filters of the Videos tab, tikdataapi.com does not have them. The list of TikTok APIs compares the providers.
How to find accounts
- From a keyword.
/v1/search/usersgives the accounts that the account search of TikTok finds for it, each with itsusernameandsec_uid. - From an address. The username is in the address of a profile:
tiktok.com/@tiktok. The id of a video is the number at the end of its address:tiktok.com/@tiktok/video/7106594312292453675. - From a video.
authoris the account that posted it,mentionsholds the usernames in the caption, andhashtagsholds its hashtags. - From a hashtag.
/v1/hashtags/{name}/videosgives the videos that TikTok shows for it, each with itsauthor. - From the videos of a keyword.
/v1/search/videosgives the videos that TikTok finds for it, each with itsauthor. - From an account.
/v1/users/{user}/followersand/v1/users/{user}/followinggive the accounts around it, each with itsusernameandsec_uid. - From comments. Each comment has its
author, withusernameandsec_uid. - From a sound.
/v1/music/{id}givesartist_usernameorauthor_username, and/v1/music/{id}/videosgives the videos that use the sound, each with itsauthor. - From live search.
/v1/search/livegives the live rooms for a keyword, each with its host asauthor.
Put the usernames you collect into /v1/users/batch, 100 in one call.
How fresh the data is
Every object carries collected_at: the time we read it from TikTok, in UTC. The counts are those of that
moment. An object from cache keeps the time of its own read.
| Read | In cache for |
|---|---|
| Profile | 10 minutes |
| Video | 5 minutes |
| Videos of an account, comments, replies | 2 minutes |
| Hashtag | 10 minutes |
| Videos of a hashtag | 5 minutes |
| Video search, account search, followers, following | 5 minutes |
| Sound, playlists of an account | 10 minutes |
| Videos of a sound, videos of a playlist, related videos | 5 minutes |
| Reposts of an account, trending videos | 2 minutes |
| Sound search | 5 minutes |
| Live search, live state of an account | 1 minute |
| Transcript | 10 minutes |
| Hashtag search | 5 minutes |
A cache hit costs half. fresh=true reads TikTok again: 2x for an item that has a cached copy, the normal price
for one that has none.
How exact the counts are
TikTok rounds some counts before it sends them. We pass on the most exact number that TikTok gives:
| Object | Counts |
|---|---|
A profile from GET /v1/users/{user} or POST /v1/users/batch | exact |
The author of a video | rounded: read the profile for the exact counts |
| An entry of a follower or following list | may be rounded: read the profile for the exact counts |
| An entry of account search | followers is rounded (for example 1100000), likes is exact; there is no following, no videos count and no private flag: read the profile for them |
| A video, alone or in a list | plays, likes, comments and shares of 10,000 or more are rounded to hundreds; saves is exact |
| A hashtag | exact |
| An entry of hashtag search | result_videos and result_plays count the videos of the search only, not all of TikTok: read the hashtag for its totals |
| A sound | videos is rounded by TikTok (for example 73900) |
Images
avatar_url, cover_url and the other image addresses point to the image servers of TikTok. They carry a
signature and stop working after some days. Store the image, not the address. In account search, avatar_url is
the small avatar, 100x100.
Usernames and ids
{user} takes a username, with or without @, or a sec_uid. The id and the sec_uid of an account stay the
same when the username changes: keep one of them for data you store. A request by sec_uid needs no lookup of
the profile. A username is changed to the sec_uid through the profile, and that lookup is free.
The account whose username is batch is at /v1/users/@batch.
Do you need something that is not here? Write to hello@tikdataapi.com.