Douyin hot search API
Douyin’s hot search board with rank and heat.
GET /v1/douyin/trending2 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/douyin/trending",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 2 credits{ "active_time": "2026-11-25 10:11:30", "data": [ { "word": "85秒回顾神24发射", "hot_value": 11409583, "label": 1, "rank": 1, "url": "https://www.douyin.com/search/85%E7%A7%92%E5%9B%9E%E9%A1%BE%E7%A5%9E24%E5%8F%91%E5%B0%84" }, { "word": "神舟二十四号发射圆满成功", "hot_value": 11224004, "label": 0, "rank": 2, "url": "https://www.douyin.com/search/%E7%A5%9E%E8%88%9F%E4%BA%8C%E5%8D%81%E5%9B%9B%E5%8F%B7%E5%8F%91%E5%B0%84%E5%9C%86%E6%BB%A1…" }, "… 48 more" ]}Response fields
200 with a DouyinTrending, in Douyin’s own JSON.
| Field | Type | Description |
|---|---|---|
active_time | string | null | |
data | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | The board, in rank order. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The video or creator does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Douyin is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How often does it change?
Douyin updates it every few minutes; active_time says when.
Douyin is a trademark of ByteDance. We are not affiliated with or endorsed by ByteDance.