Douyin trending topics by city
tikhub.x.douyin-billboard-fetch-hot-city-listDouyin: fetch hot city list (billboard)
- Price
- $0.001/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-city-listPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
page | integer | Required | 页码 | 1 |
order | string | Required | 排序方式 | |
keyword | string | Optional | 热点搜索词 | |
city_code | string | Optional | 城市编码,从城市列表获取,空为全部 | |
page_size | integer | Required | 每页数量 | 10 |
sentence_tag | string | Optional | 热点分类标签,从热点榜分类获取,多个分类用逗号分隔,空为全部 | |
- Query parameters
pageintegerRequired页码
Example:
1orderstringRequired排序方式
keywordstringOptional热点搜索词
city_codestringOptional城市编码,从城市列表获取,空为全部
page_sizeintegerRequired每页数量
Example:
10sentence_tagstringOptional热点分类标签,从热点榜分类获取,多个分类用逗号分隔,空为全部
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-city-list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-city-list",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-billboard-fetch-hot-city-list", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001/success, including the service fee.