TikTok search API for your agent. One call per search.
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
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 steps across 3 providers.
- Runs on demand, whenever you ask.
set up looot - https://looot.ai/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
- use case
- TikTok search API
- run
- search
- schedule
- on demand
- step
- Search TikTok videos: anyapi anysite tikhub
- setup
- https://looot.ai/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.