Skip to content

ToolsTikTok

Docs

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.

ToolUse it whenCost
tiktok_get_profileYou need a TikTok account's followers, likes, engagement rate or bio.1.65 credits per call
tiktok_get_videoYou have a TikTok video URL and need its caption and performance.1.65 credits per call
tiktok_get_videosYou need what a TikTok account has posted and how it performed.1.65 credits per video
tiktok_get_commentsYou need what people say under a TikTok video.1.65 credits per comment
tiktok_search_videosYou need TikTok videos about a topic, product or brand.1.65 credits per video

Get a TikTok profile#

Tooltiktok_get_profile
Reads
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

NameTypeRequiredDescription
urlstringYesThe 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#

Tooltiktok_get_video
Reads
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

NameTypeRequiredDescription
urlstringYesThe 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#

Tooltiktok_get_videos
Reads
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

NameTypeRequiredDescription
urlstringYesThe TikTok profile URL, e.g. https://www.tiktok.com/@nike
limitintegerNoHow 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#

Tooltiktok_get_comments
Reads
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

NameTypeRequiredDescription
urlstringYesThe TikTok video URL, e.g. https://www.tiktok.com/@nike/video/7300000000000000000
limitintegerNoHow 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#

Tooltiktok_search_videos
Reads
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

NameTypeRequiredDescription
querystringYesWhat to search TikTok for.
limitintegerNoHow many videos to return, at most 100. Default 20.
Example
{
  "name": "tiktok_search_videos",
  "arguments": {
    "query": "standing desk setup",
    "limit": 10
  }
}