Read-only public TikTok data: profiles, videos, comments, replies, hashtags. Pay per result.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Credits left on this key and its rate limit. Free. Call it before a large read to check that the budget covers the plan.
This tool takes no arguments.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http tikdataapi https://api.tikdataapi.com/mcp
Credits left on this key and its rate limit. Free. Call it before a large read to check that the budget covers the plan.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Replies to one comment of a TikTok video, oldest first, as TikTok shows them under the comment. The replies field of a comment says how many there are. 1 credit per reply.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
| video_id* | string | Numeric video id, as a string: the number at the end of the address of the video |
| comment_id* | string | Numeric comment id, as a string, from get_comments |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"video_id",
"comment_id"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
},
"video_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric video id, as a string: the number at the end of the address of the video"
},
"comment_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric comment id, as a string, from get_comments"
}
}
}Comments of one TikTok video, in the order of TikTok: pinned first, then the most relevant. Only the comments of the video; read the replies to one comment with get_comment_replies. 1 credit per comment; a video with comments turned off gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
| video_id* | string | Numeric video id, as a string: the number at the end of the address of the video |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"video_id"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
},
"video_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric video id, as a string: the number at the end of the address of the video"
}
}
}One TikTok hashtag: its id, description, and the counts of its videos and of their views. 1 credit.
| Argument | Type | Description |
|---|---|---|
| name* | string | The hashtag, with or without the leading #, in any case. Example: fyp |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 101,
"minLength": 1,
"description": "The hashtag, with or without the leading #, in any case. Example: fyp"
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}Videos of one TikTok hashtag, in the order of the hashtag page of TikTok: popular videos, not newest first. 1 credit per video.
| Argument | Type | Description |
|---|---|---|
| name* | string | The hashtag, with or without the leading #, in any case. Example: fyp |
| count | integer | Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 101,
"minLength": 1,
"description": "The hashtag, with or without the leading #, in any case. Example: fyp"
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}One TikTok sound (music) by id: title, author, album, duration, whether it is an original sound, the account of the artist or of its maker, and the number of videos that use it (rounded by TikTok). 1 credit.
| Argument | Type | Description |
|---|---|---|
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| music_id* | string | Numeric id of the sound, as a string: the number at the end of its address (tiktok.com/music/<name>-<id>), or music.id of a video. Example: 6696419263248336898 |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"music_id"
],
"properties": {
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"music_id": {
"type": "string",
"pattern": "^\\d{1,25}$",
"description": "Numeric id of the sound, as a string: the number at the end of its address (tiktok.com/music/<name>-<id>), or music.id of a video. Example: 6696419263248336898"
}
}
}Videos that use one TikTok sound, in the order of the sound page of TikTok: popular videos, not newest first. 1 credit per video.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
| music_id* | string | Numeric id of the sound, as a string: the number at the end of its address (tiktok.com/music/<name>-<id>), or music.id of a video. Example: 6696419263248336898 |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"music_id"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
},
"music_id": {
"type": "string",
"pattern": "^\\d{1,25}$",
"description": "Numeric id of the sound, as a string: the number at the end of its address (tiktok.com/music/<name>-<id>), or music.id of a video. Example: 6696419263248336898"
}
}
}Videos of one TikTok playlist, in the order of the playlist. 1 credit per video; an empty playlist costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
| playlist_id* | string | Numeric id of the playlist, as a string: the id of an entry of get_user_playlists, or the number at the end of the address of the playlist |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"playlist_id"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
},
"playlist_id": {
"type": "string",
"pattern": "^\\d{1,25}$",
"description": "Numeric id of the playlist, as a string: the id of an entry of get_user_playlists, or the number at the end of the address of the playlist"
}
}
}Videos that TikTok shows next to one video ("You may like"), in the order of TikTok. One page of at most 16 videos, with no next page. 1 credit per video.
| Argument | Type | Description |
|---|---|---|
| count | integer | Videos to return, 1 to 16. Default 16. There is no next page. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| video_id* | string | Numeric video id, as a string: the number at the end of the address of the video |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"video_id"
],
"properties": {
"count": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "Videos to return, 1 to 16. Default 16. There is no next page."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"video_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric video id, as a string: the number at the end of the address of the video"
}
}
}Videos of the explore feed that TikTok shows a logged-out visitor, as TikTok gives them, with no repeats in one answer. No cursor: a call after the cache window (2 minutes) gives a new set. 1 credit per video.
| Argument | Type | Description |
|---|---|---|
| count | integer | Videos to return, 1 to 50. Default 16. There is no next page. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Videos to return, 1 to 50. Default 16. There is no next page."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}Public profile of one TikTok account, by username or sec_uid: nickname, bio, counts of followers, following, likes and videos, verified and private state. 1 credit.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}Accounts that follow one TikTok account, by username or sec_uid: newest first, as TikTok gives them. Each entry is a profile with its counts; the counts may be rounded, get_user gives the exact ones. 1 credit per account; an empty list costs nothing.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| count | integer | Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Accounts that one TikTok account follows, by username or sec_uid: newest first, as TikTok gives them. Each entry is a profile with its counts; the counts may be rounded, get_user gives the exact ones. 1 credit per account; an empty list costs nothing.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| count | integer | Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 30. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Whether one TikTok account, by username or sec_uid, is live now. When it is: the room id, title, viewers now, start time and cover. When it is not: live false and no room fields. No stream addresses. The cache window is 1 minute. 1 credit either way.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}Playlists that one TikTok account made, by username or sec_uid: id, name, number of videos, cover and author of each. Read the videos of one with get_playlist_videos. 1 credit per playlist; an account with no playlist gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| count | integer | Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 20. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Videos that one TikTok account reposted, by username or sec_uid, in the order of TikTok. 1 credit per video; a private account or an account with no repost gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| count | integer | Results on this page, 1 to 50. Default 16. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 16. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Videos of one TikTok account: pinned videos first, then newest first, with their counts of plays, likes, comments and shares. 1 credit per video; a private account gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| user* | string | Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes. |
| count | integer | Results on this page, 1 to 50. Default 16. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Username, with or without the leading @ (for example tiktok), or the sec_uid of the account. The sec_uid stays the same when the username changes."
},
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 16. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Profiles of up to 100 TikTok accounts in one call, by username. Prefer this over repeated get_user calls. 1 credit per profile found; usernames that do not exist are listed in errors with a reason and cost nothing.
| Argument | Type | Description |
|---|---|---|
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| usernames* | array | 1 to 100 usernames, with or without @ |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"usernames"
],
"properties": {
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"usernames": {
"type": "array",
"items": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"maxItems": 100,
"minItems": 1,
"description": "1 to 100 usernames, with or without @"
}
}
}Newest videos of up to 20 TikTok accounts in one call, by username or sec_uid: count videos for each account, pinned first. One entry per account, in input order. 1 credit per video; an account with no public videos, or a private one, is an empty list and costs nothing. To read more of one account, pass the next_cursor of its entry to get_user_videos.
| Argument | Type | Description |
|---|---|---|
| count | integer | Videos for each account, 1 to 16. Default 3. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| users* | array | 1 to 20 usernames (with or without @) or sec_uids |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"users"
],
"properties": {
"count": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "Videos for each account, 1 to 16. Default 3."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"users": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "1 to 20 usernames (with or without @) or sec_uids"
}
}
}One TikTok video by id: caption, author, sound, hashtags, counts of plays, likes, comments, shares and saves. 1 credit.
| Argument | Type | Description |
|---|---|---|
| id* | string | Numeric video id, as a string: the number at the end of the address of the video |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric video id, as a string: the number at the end of the address of the video"
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}The transcript of one TikTok video, from the subtitles of TikTok (most are made by its speech recognition, source ASR): timed segments (start and end in seconds, text), the whole text, the language, and the languages the video has. A video with no subtitles gives a not_found with reason unavailable and costs nothing. 1 credit.
| Argument | Type | Description |
|---|---|---|
| lang | string | Language of the transcript, as TikTok names it (eng-US) or its first part (eng). Default: the first speech-recognition transcript, else the first one. The languages of a video are in the field languages. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| video_id* | string | Numeric video id, as a string: the number at the end of the address of the video |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"video_id"
],
"properties": {
"lang": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{2,20}$",
"description": "Language of the transcript, as TikTok names it (eng-US) or its first part (eng). Default: the first speech-recognition transcript, else the first one. The languages of a video are in the field languages."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"video_id": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Numeric video id, as a string: the number at the end of the address of the video"
}
}
}Up to 100 TikTok videos by id in one call. Prefer this over repeated get_video calls. 1 credit per video found; deleted, private or removed videos are listed in errors with a reason and cost nothing.
| Argument | Type | Description |
|---|---|---|
| ids* | array | 1 to 100 numeric video ids, as strings |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"maxItems": 100,
"minItems": 1,
"description": "1 to 100 numeric video ids, as strings"
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
}
}
}Hashtags for a query, most used first. TikTok gives no hashtag search to a logged-out visitor, so this reads about 24 videos of the general search (search_videos) and ranks the hashtags of those videos: result_videos is how many of them use the hashtag, result_plays the sum of their plays. These are not the totals of TikTok: for the total views and videos of a hashtag use get_hashtag. No next page. 1 credit per hashtag; a query with no result gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Hashtags to return, 1 to 30. Default 10. There is no next page. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| query* | string | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: street food |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"count": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Hashtags to return, 1 to 30. Default 10. There is no next page."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: street food"
}
}
}Live rooms that the live search of TikTok (the "LIVE" tab) finds for a query, in the order of TikTok: room id, title, viewers now, start time, cover and the account that hosts it. No stream addresses. Results change fast; the cache window is 1 minute. 1 credit per room; a query with no result gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| query* | string | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Sounds (music) that the sound search of TikTok (the "Sounds" tab) finds for a query, in the order of TikTok. Each entry is a short sound: id, title, author, album, duration, cover, whether it is an original sound, and the number of videos that use it when TikTok gives it. For the full sound use get_music, for its videos get_music_videos. 1 credit per sound; a query with no result gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| query* | string | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: lofi |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: lofi"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Accounts that the account search of TikTok (the "Users" tab) finds for a query, in the order of TikTok. Each entry is a short profile: id, username, sec_uid, nickname, bio, avatar, verified, followers (rounded by TikTok) and likes. For the full, exact profile use get_user or get_users. 1 credit per account; a query with no result gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 10. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| query* | string | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 10. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: cooking"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}Videos that the general search of TikTok (the "Top" tab) finds for a query, in the order of TikTok. Videos only: for accounts use search_users, for sounds search_music, for live rooms search_live, for hashtags search_hashtags. No filters or sorting. 1 credit per video; a query with no result gives an empty list and costs nothing.
| Argument | Type | Description |
|---|---|---|
| count | integer | Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap. |
| fresh | boolean | Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none. |
| query* | string | Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: street food |
| cursor | string | next_cursor from the previous page |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"count": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results on this page, 1 to 50. Default 12. A page can come back shorter; next_cursor then continues with no gap."
},
"fresh": {
"type": "boolean",
"description": "Read TikTok again and skip the cache. Costs 2x credits for an item that has a cached copy, the normal price for one that has none."
},
"query": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Words to search for, as typed in the search box of TikTok: 1 to 100 characters after runs of spaces are made one. Example: street food"
},
"cursor": {
"type": "string",
"description": "next_cursor from the previous page"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.