billboard_typestringwajib
Billboard type
https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-listReturns category IDs and popularity metrics from Douyin hot list billboards. Supports filtering by billboard type, search keywords, and snapshot time ranges.
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns a list of Douyin hot list categories for a given billboard type, with a category label, a count, and numeric category IDs. It needs one input, billboard_type (for example rise). You can narrow results with keyword, snapshot_time, or a start_date and end_date range.
rise billboard to build a category filter for other billboard calls.num counts across categories such as food and travel to see which categories have more entries.snapshot_time values to compare how the category list looks at different times.keyword to check which categories a hot search term falls under.curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"billboard_type": "rise"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
billboard_type | string | Yes | Billboard type |
end_date | string | No | Snapshot end time |
keyword | string | No | Hot search term |
snapshot_time | string | No | Snapshot time |
start_date | string | No | Snapshot start time |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"label": "美食",
"num": 74,
"value": [
9000
]
}
],
"extra": {
"now": 1793691107000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[].label | Category name in Chinese, for example 美食 (food) or 旅行 (travel). |
data[].num | A count for the category. Larger numbers appear for broader categories, such as 326 for 站内玩法. |
data[].value[] | List of numeric category IDs for this label. Most labels have one ID, and some have several, such as 1004, 1000 and 1002. |
code / message | code is 0 on success. message is an empty string in this response. |
extra.now | Server time of the response as a Unix timestamp in milliseconds. |
billboard_type is the only required parameter. The example uses rise.snapshot_time for a single snapshot, or start_date and end_date for a range.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"billboard_type": "rise"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
billboard_typestringwajibBillboard type
end_datestringSnapshot end time
keywordstringHot search term
snapshot_timestringSnapshot time
start_datestringSnapshot start time
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"code": 0,
"data": [
{
"label": "美食",
"num": 120,
"value": [
9000
]
},
{
"label": "旅行",
"num": 434,
"value": [
10000
]
},
{
"label": "站内玩法",
"num": 426,
"value": [
1004,
1000,
1002,
"… 2 more items in the full response"
]
},
"… 20 more items in the full response"
],
"extra": {
"now": 1790689544000
},
"message": ""
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/billboard/hot-category-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.
Wajib: billboard_type (string). Opsional: end_date (string), keyword (string), snapshot_time (string) dan start_date (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Billboard Hot Category List berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.