Tools
TikTok
Profiles, videos, comments and search.
Things to ask#
Ask your agent in plain words. It picks the tool.
- Find TikTok videos about standing desk setups and tell me which got the most plays.
- What has Nike posted on TikTok lately, and how did each video perform?
- Read the comments on this TikTok video and tell me what viewers are asking for.
Tools in TikTok#
5 tools. Prices are in credits; 1,000 credits are $1.
| Tool | Use it when | Cost |
|---|---|---|
tiktok_get_profile | You need a TikTok account's followers, likes, engagement rate or bio. | 1.65 credits per call |
tiktok_get_video | You have a TikTok video URL and need its caption and performance. | 1.65 credits per call |
tiktok_get_videos | You need what a TikTok account has posted and how it performed. | 1.65 credits per video |
tiktok_get_comments | You need what people say under a TikTok video. | 1.65 credits per comment |
tiktok_search_videos | You need TikTok videos about a topic, product or brand. | 1.65 credits per video |
Get a TikTok profile#
Tool
Readstiktok_get_profile- Good for
- You need a TikTok account's followers, likes, engagement rate or bio.
- Not the tool for
- Its videos (use
tiktok_get_videos). - What you get
- The profile: name, bio, followers, following, likes, video count, average engagement rate and whether it sells on TikTok Shop.
- Cost
- 1.65 credits per call. Cached 24 hours: a cache hit costs 0.825 credits. Cached for your organization only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The TikTok profile URL, e.g. https://www.tiktok.com/@nike |
Example
{
"name": "tiktok_get_profile",
"arguments": {
"url": "https://www.tiktok.com/@nike"
}
}Get a TikTok video#
Tool
Readstiktok_get_video- Good for
- You have a TikTok video URL and need its caption and performance.
- Not the tool for
- Its comments (use
tiktok_get_comments). - What you get
- The video: caption, author, date, plays, likes, shares, comments, saves and hashtags.
- Cost
- 1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The TikTok video URL, e.g. https://www.tiktok.com/@nike/video/7300000000000000000 |
Example
{
"name": "tiktok_get_video",
"arguments": {
"url": "https://www.tiktok.com/@nike/video/7689101467403226381"
}
}Get a TikTok account's videos#
Tool
Readstiktok_get_videos- Good for
- You need what a TikTok account has posted and how it performed.
- Not the tool for
- One video you have the URL of (use
tiktok_get_video). - What you get
- Recent videos with caption, date, plays, likes, shares and comments.
- Cost
- 1.65 credits per video. Cached 1 hour: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The TikTok profile URL, e.g. https://www.tiktok.com/@nike |
limit | integer | No | How many videos to return, at most 100. Default 20. |
Example
{
"name": "tiktok_get_videos",
"arguments": {
"url": "https://www.tiktok.com/@nike",
"limit": 10
}
}Get TikTok comments#
Tool
Readstiktok_get_comments- Good for
- You need what people say under a TikTok video.
- Not the tool for
- The video itself (use
tiktok_get_video). - What you get
- Comments, each with text, author, likes, date and replies count.
- Cost
- 1.65 credits per comment. Cached 1 hour: a cache hit costs 50% of the live price. Cached for your organization only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The TikTok video URL, e.g. https://www.tiktok.com/@nike/video/7300000000000000000 |
limit | integer | No | How many comments to return, at most 100. Default 20. |
Example
{
"name": "tiktok_get_comments",
"arguments": {
"url": "https://www.tiktok.com/@nike/video/7689101467403226381",
"limit": 20
}
}Search TikTok#
Tool
Readstiktok_search_videos- Good for
- You need TikTok videos about a topic, product or brand.
- Not the tool for
- One account's videos (use
tiktok_get_videos). - What you get
- Videos TikTok shows for the search, with caption, author, plays and likes.
- Cost
- 1.65 credits per video. Cached 1 hour: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | What to search TikTok for. |
limit | integer | No | How many videos to return, at most 100. Default 20. |
Example
{
"name": "tiktok_search_videos",
"arguments": {
"query": "standing desk setup",
"limit": 10
}
}