Bearer token
All API requests require a Bearer token in theAuthorization header.
Error responses
| Status | Description |
|---|---|
400 | Missing or invalid parameters. Check the request query string. |
401 | Unauthorized. Your API key is missing or invalid. |
502 | Upstream API error. TikTok’s servers returned an error. Retry the request. |
Credits
Some endpoints cost credits per request. Credit costs are noted in each endpoint’s description. Monitor your credit usage from the dashboard.Pagination
Many endpoints support cursor-based pagination. The response includes a cursor value (e.g.cursor, max_cursor, or min_time) that you pass as a query parameter to fetch the next page of results.
Trimmed responses
Several endpoints accept atrim parameter. Set trim=true to receive a smaller response payload with only the most commonly needed fields.