TikTok Search hashtag API
Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON.
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"data": {
"nextCursor": "example",
"videos": [
{
"author": "Alex Rivera",
"caption": "A short example description of this item.",
"comments": 12500,
"createdUtc": 12.5,
"id": "a1b2c3d4",
"likes": 12500,
"shares": 13,
"views": 12500
}
]
},
"found": true
}interface TiktokSearchHashtagResponse {
data: {
nextCursor: string | null;
videos: {
author: string;
caption: string;
comments: number;
createdUtc: number;
id: string;
likes: number;
shares: number;
views: number;
}[];
} | 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-17 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/tiktok.search_hashtag \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"recipe"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "recipe"Hashtag or keyword to search for (without the leading #). |
| cursor | string | Pagination cursor from a previous response. |
| Response | ||
| data | object | |
| data.nextCursor | string | Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue. |
| data.videos | object[] | Populated whenever the provider has data for the entity. |
| data.videos[].author | string | Populated whenever the provider has data for the entity. |
| data.videos[].caption | string | Populated whenever the provider has data for the entity. |
| data.videos[].comments | integer | |
| data.videos[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.videos[].id | string | Populated whenever the provider has data for the entity. |
| data.videos[].likes | integer | |
| data.videos[].shares | integer | |
| data.videos[].views | integer | |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the TikTok Search hashtag API
The AnyAPI TikTok Search hashtag API returns TikTok search hashtag data as normalized JSON from one POST call to /v1/run/tiktok.search_hashtag. Search TikTok by hashtag and get matching videos (caption, views, likes, comments, shares) as normalized JSON. 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, 100.0% of TikTok search hashtag calls through AnyAPI succeeded, with a median response time of 5.1 seconds across 227 measured calls.