API · TikTok
GET /tiktok/search/users
TikTok accounts for a name, with profile stats: find the handle for an artist or brand.
| Request | GET /v1/tiktok/search/users |
| Operation id | tiktok.search.users |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
TikTok accounts for a name, with profile stats: find the handle for an artist or brand.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Name or handle to look up. Example: Jorge e Mateus. |
cursor | string | no | The previous page’s cursor, for the next page. Omit for the first. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching accounts (userList), best match first. | TikTokUserListResponse |
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 |
TikTokUserListResponse fields
| Field | Type | Description |
|---|---|---|
userList | object[] | |
cursor | string | Pass as cursor for the next page (TikTok’s minCursor). |
hasMore | boolean | |
total | number |
Errors use one shape everywhere; see Errors for every code and what to do.