API · TikTok
GET /tiktok/hashtags/{name}/videos
Videos with a TikTok hashtag, about 30 a page.
| |
|---|
| Request | GET /v1/tiktok/hashtags/{name}/videos |
| Operation id | tiktok.search.hashtag |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Videos with a TikTok hashtag, about 30 a page.
| Name | Type | Required | Description |
|---|
name | string | yes | Hashtag, with or without the #. Example: cooking. |
| Name | Type | Required | Description |
|---|
cursor | string | no | The previous page’s cursor, for the next page. Omit for the first. |
| Status | Meaning | Schema |
|---|
200 | A page of videos. | TikTokItemListResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account, video, comment, hashtag or sound does not exist on TikTok, or was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | TikTok is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
itemList | TikTokItem[] | |
cursor | string | Pass as cursor for the next page. Its meaning is the list’s own (a time or an offset). |
hasMore | boolean | |
Errors use one shape everywhere; see Errors for every code and what to do.