TikTok search API for your agent. One call per search.
The short answer
The short answer
TikTok search API for an agent: it sends a keyword to a catalog endpoint and reads video caption, views and likes back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.
Updated
- Video caption
- Views
- Likes and comments
- Shares
- Author
The job
What the TikTok search API gives your agent
TikTok search shows what is moving right now. Your agent sends a keyword and reads back the videos with captions, views, likes, comments and shares. For a content team it is a view of what a topic looks like this week. For a brand it shows who is talking about the product.
Four endpoints search videos by keyword, from three providers. They differ in the filters. One takes a sort order and a posting-date window. One takes a count and an offset and pages with a search ID. One takes a region and a publish time. One bills a flat price per request regardless of how many videos come back.
You give
a keyword
home workout
You get
- Video caption
- Views
- Likes and comments
- Shares
- Author
Providers, cheapest first
What actually differs between providers
Today the price runs from $0.0010 to $0.0012 across 3 endpoints. The dearest costs about 1.2 times the cheapest. Price is only one difference. Each entry below says what that endpoint takes or returns that the others do not.
TikHub$0.0010 / callTakes a keyword, a count and an offset, and pages with a search ID.
tikhub-api-tiktok-web-fetch-search-video
TikHub$0.0010 / callTakes a keyword with a region, a sort type and a publish-time filter.
tikhub-api-tiktok-app-fetch-video-search-result
AnyAPI$0.0012 / callReturns videos with caption, views, likes, comments and shares as normalized JSON, with sort and posting-date filters and a flat price per request.
anyapi-run-tiktok-search-keyword- Any Site APIprice on request
Searches videos by keyword with a count, and bills per result.
anysite-api-tiktok-videos-search
Cost
What 100 TikTok search runs cost
$0.1000
100 searches cost about $0.1000 through the cheapest endpoint, at TikHub, and about $0.1200 through the dearest. Each run is one call.
Sample calls
The request and what comes back
Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.
{"endpointId":"anyapi-run-tiktok-search-keyword","input":{"query":"home workout"},"wait":30}// POST /v1/runs, then read run.status and run.result // result: returns videos with caption, views, likes, comments and shares as normalized JSON, with sort and posting-date filters and a flat price per request
The prompt
Copy one prompt, give it to your agent.
Edit the names and numbers, paste it, and the agent runs the job and shows the cost.
- One run is one search.
- 1 step across 3 providers.
- Runs on demand, whenever you ask.
set up looot for TikTok search API - https://looot.ai/use-cases/tiktok-search-api/skill.mdBefore you start
Settle these before the first run
- Set the sort. Most-liked and newest answer different questions, and the default may not be the one you need.
- Keep the search ID when you page. One provider needs it for the second page and later.
- Note the region. TikTok serves different results per market, and one endpoint takes a region parameter to set it.
FAQ
Questions people ask
More ways to run this job
- use case
- TikTok search API
- run
- search
- schedule
- on demand
- step
- Search TikTok videos: anyapi anysite tikhub
- setup
- https://looot.ai/use-cases/tiktok-search-api/skill.md
- llms.txt
- https://looot.ai/llms.txt
- updated
- 2026-10-04
Try TikTok search with your own agent.
Start your workspace, top up, and paste the prompt into the agent you already use.