Connect PrimaryAPI’s MCP server and your agent can search TikTok, read profiles, videos and comments, follow hashtags and trends, and pull transcripts, all with one account.
Add the URL and sign in, with no key to copy. An API key works too. You only pay when data comes back.
Server URL
claude mcp add --transport http primaryapi \
https://api.primaryapi.com/mcpRun it in a terminal, then type /mcp in Claude Code to sign in.
Ask your agent
Search TikTok for videos about home espresso posted this month and rank them by likes.
Pull the comments on this TikTok and tell me the questions people ask most: <video URL>
Get the transcript of this TikTok and rewrite it as a product description: <video URL>
Which hashtags are trending on TikTok in the US, and what are the latest videos under the top one?
Find the best performing TikTok ads for running shoes and describe how they open.
TikTok APIs
Your agent runs each one with run_api and its name. Prices are in credits, from 1 credit per call, and a call that fails costs nothing.
TikTok is a trademark of its owner. PrimaryAPI is not affiliated with TikTok.
How it works
Connected to the server, the agent lists the TikTok APIs or searches for what it needs, reads the chosen API’s input schema, and runs it on your workspace’s credits. You set the spend limit when you approve its sign-in, or on its key, so it can only spend what you allow.
What an MCP server is, and every tool it has · TikTok in the API reference
// Find every TikTok API. Free.
{
"name": "list_apis",
"arguments": {
"platform": "tiktok"
}
}
// Run one. This spends credits.
{
"name": "run_api",
"arguments": {
"sku": "tiktok.search_keyword",
"input": {
"query": "dogs",
"sortBy": "relevance",
"datePosted": "all-time"
}
}
}Yes. It can search videos by keyword, sorted by relevance, likes or date and limited to a posting window, and it can search for accounts and hashtags too.
Yes. It can read the captions TikTok already has for a public video, or transcribe the speech of a video that has none, both as text with timed segments.
Yes. TikTok Shop products, reviews, stores and creator showcases have their own APIs, and the same MCP server and sign-in reach them.
No. PrimaryAPI runs this MCP server and is not affiliated with TikTok. It gives your agent public TikTok data through PrimaryAPI’s APIs, next to every other platform in the catalog.
No. Your agent signs in to PrimaryAPI once, or uses one PrimaryAPI key, for every TikTok API on this page and for the rest of the catalog. There is no TikTok app to register.
Connecting and browsing are free. Each TikTok API above has its own price in credits, and you only pay when data comes back.
Add one URL to your MCP client and sign in. Prefer a key? Make one with a spend limit in the dashboard.