TikTok Hashtag videos API
List recent TikTok videos for a hashtag (creator, caption, views, likes, shares).
Provider network
Providers ranked by traffic
capped at $0.0066 per request1 result$0.0003310 results$0.003320 results$0.0066 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
Try it
Make your first request
{
"data": {
"items": [
{
"authorHandle": "alex_rivera",
"commentCount": 12500,
"createdUtc": 12.5,
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"likeCount": 12500,
"playCount": 12500,
"shareCount": 13,
"text": "A short example description of this item.",
"url": "https://example.com/page"
}
]
},
"found": true
}interface TiktokHashtagVideosResponse {
data: {
items: {
authorHandle?: string;
commentCount?: number;
createdUtc: number;
id: string;
image?: string;
likeCount?: number;
playCount?: number;
shareCount?: number;
text?: string;
url: string;
}[];
} | 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.hashtag_videos \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"hashtag":"cooking","limit":3}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| hashtag | string | "cooking"TikTok hashtag to fetch videos for, without the # prefix (e.g. booktok). |
| limit | integer | 3Maximum number of results to return (1-20, default 20). |
| Response | ||
| data | object | |
| data.items | object[] | Recent TikTok video records for the hashtag. Populated whenever the provider has data for the entity. |
| data.items[].authorHandle | string | Username of the video's creator, without the @ prefix. Empty when the upstream omits it. |
| data.items[].commentCount | integer | Number of comments on the video. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| data.items[].id | string | The video's numeric TikTok ID, as a string. Populated whenever the provider has data for the entity. |
| data.items[].image | string | URL of the video's cover/thumbnail image, with tracking query params stripped. Empty when the upstream omits it. |
| data.items[].likeCount | integer | Number of likes on the video. |
| data.items[].playCount | integer | Number of views/plays of the video. |
| data.items[].shareCount | integer | Number of shares of the video. |
| data.items[].text | string | The video caption text. Empty for videos with no caption. |
| data.items[].url | string | Canonical tiktok.com URL of the video, with tracking query params stripped. Populated whenever the provider has data for the entity. |
| found | boolean | Whether any videos were returned for the hashtag. |
| Price | ||
| Price per request | USD | $0.0008 |
| Price /1k req | USD | $0.80 |
FAQ
About the TikTok Hashtag videos API
The AnyAPI TikTok Hashtag videos API returns TikTok hashtag videos data as normalized JSON from one POST call to /v1/run/tiktok.hashtag_videos. List recent TikTok videos for a hashtag (creator, caption, views, likes, shares). AnyAPI routes each request across 3 sources and falls back automatically when one fails. It costs from $0.80 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 99.4% of TikTok hashtag videos calls through AnyAPI succeeded, with a median response time of 19.7 seconds across 157 measured calls.