TikTok Search top API
Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"data": {
"items": [
{
"author": "Alex Rivera",
"caption": "A short example description of this item.",
"comments": 12500,
"contentType": "A short example description of this item.",
"createdUtc": 12.5,
"id": "a1b2c3d4",
"likes": 12500,
"saves": 42,
"shares": 13,
"url": "https://example.com/page",
"views": 12500
}
],
"nextCursor": "example"
},
"found": true
}interface TiktokSearchTopResponse {
data: {
items: {
author: string;
caption: string;
comments: number;
contentType: string;
createdUtc?: number;
id: string;
likes: number;
saves?: number;
shares: number;
url: string;
views: number;
}[];
nextCursor: string | null;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/tiktok.search_top \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"funny"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "funny"Keyword to search for (e.g. "funny"). |
| cursor | string | Pagination cursor from a previous response. |
| publishTime | string | Time-frame filter: yesterday, this-week, this-month, last-3-months, last-6-months, all-time. |
| region | string | 2-letter country code for the proxy location (e.g. US, GB, FR). |
| sortBy | string | Sort order: relevance, most-liked, date-posted. |
| Response | ||
| data | object | |
| data.items | object[] | Populated whenever the provider has data for the entity. |
| data.items[].author | string | Populated whenever the provider has data for the entity. |
| data.items[].caption | string | Populated whenever the provider has data for the entity. |
| data.items[].comments | integer | |
| data.items[].contentType | string | |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].id | string | Populated whenever the provider has data for the entity. |
| data.items[].likes | integer | |
| data.items[].saves | integer | |
| data.items[].shares | integer | |
| data.items[].url | string | Populated whenever the provider has data for the entity. |
| data.items[].views | integer | |
| data.nextCursor | string | Opaque cursor for the next page of results, or null when this lane has no more. Pass it back as cursor to continue. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the TikTok Search top API
The AnyAPI TikTok Search top API returns TikTok search top data as normalized JSON from one POST call to /v1/run/tiktok.search_top. Search TikTok's top results for a keyword (caption, views, likes, comments, shares) with cursor pagination. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.2% of TikTok search top calls through AnyAPI succeeded, with a median response time of 4.4 seconds across 1,266 measured calls.