API · Douyin
GET /douyin/trending
Douyin’s hot search board.
| Request | GET /v1/douyin/trending |
| Operation id | douyin.trending.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Douyin’s hot search board.
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The board, in rank order. | DouyinTrending |
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 video or creator does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Douyin is temporarily unavailable. Retryable; nothing was charged. | Error |
DouyinTrending fields
| Field | Type | Description |
|---|---|---|
active_time | string | null | |
data | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.