PeumeAPI

Search & SEO · TikTok

TikTok Top Search

Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.

From $0.00089 per call

Call it

curl https://api.peume.com/v1/call/tiktok-top-search-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: tiktok-top-search-2.

Parameters

cursorstring

Pagination cursor from a previous response. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.

publishTimestring

Time-frame filter: yesterday, this-week, this-month, last-3-months, last-6-months, all-time.

yesterday · this-week · this-month · last-3-months · last-6-months · all-time

routestring

Upstream source to run on; omit for "bison". tiger ($0.00059 per call, 94.3% uptime); bison ($0.0006 per call, 99.3% uptime); flamingo ($0.0006 per call, 97.9% uptime); giraffe ($0.0012 per call, 99.8% uptime); fox ($0.0032 per call, 100% uptime). Output fields only some routes return: authorFollowers (flamingo, giraffe, fox); contentType (flamingo, giraffe); nextCursor (bison, giraffe, fox); soundClipId (bison, flamingo, fox). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.

tiger · bison · flamingo · giraffe · fox

queryRequiredstring

Keyword to search for (e.g. "funny").

sortBystring

Sort order: relevance, most-liked, date-posted.

relevance · most-liked · date-posted

regionstring

2-letter country code for the proxy location (e.g. US, GB, FR).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.