Douyin Billboard Vertical Content Tags
https://api.sandbase.ai/v1/api/douyin/billboard/content-tagReturns a list of vertical content tags available on the Douyin billboard platform. Useful for categorizing trending topics and discovering niche content segments.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"data": {
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
},
{
"label": "美食教程",
"value": 62804
},
{
"label": "美食知识",
"value": 62806
},
"… 7 more items in the full response"
],
"count": 0,
"label": "美食",
"value": 628
},
{
"children": [
{
"label": "旅行风景",
"value": 62905
},
{
"label": "旅行记录与分享",
"value": 62913
},
{
"label": "旅行推荐与攻略",
"value": 62912
},
"… 10 more items in the full response"
],
"count": 0,
"label": "旅行",
"value": 629
},
{
"children": [
{
"label": "逛街",
"value": 63407
},
{
"label": "现场演出",
"value": 63412
},
{
"label": "传统休闲",
"value": 63410
},
"… 10 more items in the full response"
],
"count": 0,
"label": "休闲娱乐",
"value": 634
},
"… 35 more items in the full response"
],
"extra": {
"now": 1791342625000
},
"message": ""
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
Douyin Billboard Vertical Content Tags API
Returns the list of vertical content tags used on the Douyin billboard. Each top-level category has child tags. The API needs no input parameters.
Use cases
- Build a category picker for a Douyin trend dashboard from the top-level tags and their children.
- Map Douyin vertical tags to your own content taxonomy by matching
labelandvalue. - Find niche segments under a category such as food or travel before you pull billboard rankings.
- Store tag
valueIDs so you can reuse them as filters in other billboard calls.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/content-tag" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
}
],
"count": 0,
"label": "美食",
"value": 628
}
],
"extra": {
"now": 1793691103000
},
"message": ""
}
Response fields
| Field | Meaning |
|---|---|
data[] | One top-level vertical category. |
data[].label | Category name in Chinese, for example 美食 (food) or 旅行 (travel). |
data[].value | Numeric ID of the top-level category, for example 628. |
data[].children[] | Sub-tags that belong to the category. |
data[].children[].label | Sub-tag name in Chinese, for example 美食教程. |
data[].children[].value | Numeric ID of the sub-tag, for example 62804. It starts with the parent value in the sample. |
data[].count | Count value on the category. It is 0 in the sample response. |
extra.now | Timestamp of the response, as a 13-digit number that looks like milliseconds since the Unix epoch. |
code / message | code is 0 on success. message is an empty string in the sample. |
Notes
- Send an empty JSON body
{}. The API has no request parameters. - Child
valueIDs in the sample begin with the parentvalue. For example,62804sits under628. - The
labelfields are in Chinese. Keep thevalueIDs as your stable keys. - For ranked content, call Douyin Billboard Hot Category List or Douyin Total Hot Billboard next.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/content-tag" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Xác thực
Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
3. Tham số
Chưa có schema tham số nào được công bố cho API này.
4. Phản hồi
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"code": 0,
"data": [
{
"children": [
{
"label": "品酒教学",
"value": 62808
},
{
"label": "美食教程",
"value": 62804
},
{
"label": "美食知识",
"value": 62806
},
"… 7 more items in the full response"
],
"count": 0,
"label": "美食",
"value": 628
},
{
"children": [
{
"label": "旅行风景",
"value": 62905
},
{
"label": "旅行记录与分享",
"value": 62913
},
{
"label": "旅行推荐与攻略",
"value": 62912
},
"… 10 more items in the full response"
],
"count": 0,
"label": "旅行",
"value": 629
},
{
"children": [
{
"label": "逛街",
"value": 63407
},
{
"label": "现场演出",
"value": 63412
},
{
"label": "传统休闲",
"value": 63410
},
"… 10 more items in the full response"
],
"count": 0,
"label": "休闲娱乐",
"value": 634
},
"… 35 more items in the full response"
],
"extra": {
"now": 1791342625000
},
"message": ""
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Câu hỏi
FAQ
Làm thế nào để dùng API Douyin Billboard Vertical Content Tags?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/billboard/content-tag với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
API Douyin Billboard Vertical Content Tags có giá bao nhiêu?
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
API Douyin Billboard Vertical Content Tags chấp nhận những tham số nào?
Douyin Billboard Vertical Content Tags không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Douyin Billboard Vertical Content Tags trả về gì?
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?
Không. Douyin Billboard Vertical Content Tags chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.
