Douyin Creator Industry Category Config
https://api.sandbase.ai/v1/api/douyin/creator/industry-category-configReturns industry category configuration details for Douyin creators. Use this endpoint to inspect supported creator categories and related industry settings.
- 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": {
"data": {
"industry_categories": [
{
"key": "-1",
"label": "全部"
},
{
"key": 1901,
"label": "3C及电器"
},
{
"key": 1903,
"label": "食品饮料"
},
"… 28 more items in the full response"
],
"industry_subcategories": {
"1901": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190101,
"label": "消费类电子产品"
},
{
"key": 190103,
"label": "其他3C及电器"
},
"… 8 more items in the full response"
],
"1903": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190206,
"label": "烟"
},
{
"key": 190215,
"label": "烟酒电商"
},
"… 16 more items in the full response"
],
"1904": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190409,
"label": "其他服装配饰"
},
{
"key": 190410,
"label": "服装配饰电商"
},
"… 16 more items in the full response"
],
"1905": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190501,
"label": "医疗机构"
},
{
"key": 190503,
"label": "医疗器械"
},
"… 9 more items in the full response"
],
"1906": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190601,
"label": "安全安保"
},
{
"key": 190603,
"label": "包装印刷"
},
"… 10 more items in the full response"
],
"1907": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190701,
"label": "生活服务综合平台"
},
{
"key": 190702,
"label": "便民服务"
},
"… 13 more items in the full response"
],
"1908": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190801,
"label": "房地产开发商"
},
{
"key": 190803,
"label": "物业管理公司"
},
"… 4 more items in the full response"
],
"1909": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190901,
"label": "家装主材"
},
{
"key": 190904,
"label": "家具"
},
"… 12 more items in the full response"
],
"1910": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191001,
"label": "幼儿教育"
},
{
"key": 191002,
"label": "中小学教育"
},
"… 12 more items in the full response"
],
"1911": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191101,
"label": "景点"
},
{
"key": 191102,
"label": "酒店住宿"
},
"… 9 more items in the full response"
],
"1912": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191201,
"label": "政府政务文化旅游"
},
{
"key": 191202,
"label": "社会组织"
},
"… 4 more items in the full response"
],
"1913": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191301,
"label": "休闲游戏"
},
{
"key": 191302,
"label": "棋牌桌游"
},
"… 13 more items in the full response"
],
"1914": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191401,
"label": "综合类2B电商"
},
{
"key": 191402,
"label": "垂直类2B电商"
},
"… 4 more items in the full response"
],
"1915": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191501,
"label": "飞机厂商"
},
{
"key": 191502,
"label": "船舶厂商"
},
"… 5 more items in the full response"
],
"1916": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191601,
"label": "汽车厂商"
},
{
"key": 191602,
"label": "汽车经销商"
},
"… 5 more items in the full response"
],
"1917": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191701,
"label": "农业"
},
{
"key": 191702,
"label": "林业"
},
"… 6 more items in the full response"
],
"1918": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191801,
"label": "化工制品"
},
{
"key": 191803,
"label": "危险化学品"
},
"… 10 more items in the full response"
],
"1919": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191901,
"label": "电子器件"
},
{
"key": 191902,
"label": "仪器仪表"
},
"… 3 more items in the full response"
],
"1920": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192001,
"label": "通用机械设备"
},
{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 Creator Industry Category Config API
Returns the list of industry categories and their subcategories used on Douyin creator pages. It takes no input. Send an empty JSON object {}.
Use cases
- Build a category dropdown for a Douyin creator dashboard from the
keyandlabelvalues. - Map numeric category keys in other Douyin creator data to readable Chinese category names.
- Group brand or advertiser lists by top-level industry and subcategory.
- Check which subcategory keys belong to a given top-level industry.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config" \
-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.
{
"data": {
"industry_categories": [
{
"key": "-1",
"label": "全部"
}
],
"industry_subcategories": {
"1901": [
{
"key": "-1",
"label": "全部"
}
],
"1903": [
{
"key": "-1",
"label": "全部"
}
],
"1904": [
{
"key": "-1",
"label": "全部"
}
],
"1905": [
{
"key": "-1",
"label": "全部"
}
],
"1906": [
{
"key": "-1",
"label": "全部"
}
],
"1907": [
{
"key": "-1",
"label": "全部"
}
],
"1908": [
{
"key": "-1",
"label": "全部"
}
],
"1909": [
{
"key": "-1",
"label": "全部"
}
],
"1910": [
{
"key": "-1",
"label": "全部"
}
],
"1911": [
{
"key": "-1",
"label": "全部"
}
],
"1912": [
{
"key": "-1",
"label": "全部"
}
],
"1913": [
{
"key": "-1",
"label": "全部"
}
]
}
},
"status_code": 0,
"status_msg": "success"
}
Response fields
| Field | Meaning |
|---|---|
data.industry_categories[].key | ID of a top-level industry category. The value -1 stands for all categories. Other keys are numbers such as 1901. |
data.industry_categories[].label | Display name of the top-level category, in Chinese. For example 食品饮料 is the label for key 1903. |
data.industry_subcategories | Object keyed by top-level category key, such as 1901. Each value is the list of subcategories for that industry. |
data.industry_subcategories.1901[].key | ID of a subcategory under top-level category 1901. The value -1 stands for all subcategories. |
data.industry_subcategories.1901[].label | Display name of the subcategory, in Chinese. For example 消费类电子产品 has key 190101. |
status_code / status_msg | Result of the call. 0 and success mean the request worked. |
Notes
- No parameters are needed. Send
{}as the request body. - The first item in every list has
keyset to-1and label全部(all). Skip it if you only want real categories. - The
keytype is mixed. The-1entry is a string, and the other entries are numbers. Compare keys as strings to be safe. - To look up a subcategory list, use the top-level
keyas the property name indata.industry_subcategories. For content topics rather than industries, call Douyin Content Categories.
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/creator/industry-category-config" \
-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": {
"data": {
"industry_categories": [
{
"key": "-1",
"label": "全部"
},
{
"key": 1901,
"label": "3C及电器"
},
{
"key": 1903,
"label": "食品饮料"
},
"… 28 more items in the full response"
],
"industry_subcategories": {
"1901": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190101,
"label": "消费类电子产品"
},
{
"key": 190103,
"label": "其他3C及电器"
},
"… 8 more items in the full response"
],
"1903": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190206,
"label": "烟"
},
{
"key": 190215,
"label": "烟酒电商"
},
"… 16 more items in the full response"
],
"1904": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190409,
"label": "其他服装配饰"
},
{
"key": 190410,
"label": "服装配饰电商"
},
"… 16 more items in the full response"
],
"1905": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190501,
"label": "医疗机构"
},
{
"key": 190503,
"label": "医疗器械"
},
"… 9 more items in the full response"
],
"1906": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190601,
"label": "安全安保"
},
{
"key": 190603,
"label": "包装印刷"
},
"… 10 more items in the full response"
],
"1907": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190701,
"label": "生活服务综合平台"
},
{
"key": 190702,
"label": "便民服务"
},
"… 13 more items in the full response"
],
"1908": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190801,
"label": "房地产开发商"
},
{
"key": 190803,
"label": "物业管理公司"
},
"… 4 more items in the full response"
],
"1909": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190901,
"label": "家装主材"
},
{
"key": 190904,
"label": "家具"
},
"… 12 more items in the full response"
],
"1910": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191001,
"label": "幼儿教育"
},
{
"key": 191002,
"label": "中小学教育"
},
"… 12 more items in the full response"
],
"1911": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191101,
"label": "景点"
},
{
"key": 191102,
"label": "酒店住宿"
},
"… 9 more items in the full response"
],
"1912": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191201,
"label": "政府政务文化旅游"
},
{
"key": 191202,
"label": "社会组织"
},
"… 4 more items in the full response"
],
"1913": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191301,
"label": "休闲游戏"
},
{
"key": 191302,
"label": "棋牌桌游"
},
"… 13 more items in the full response"
],
"1914": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191401,
"label": "综合类2B电商"
},
{
"key": 191402,
"label": "垂直类2B电商"
},
"… 4 more items in the full response"
],
"1915": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191501,
"label": "飞机厂商"
},
{
"key": 191502,
"label": "船舶厂商"
},
"… 5 more items in the full response"
],
"1916": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191601,
"label": "汽车厂商"
},
{
"key": 191602,
"label": "汽车经销商"
},
"… 5 more items in the full response"
],
"1917": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191701,
"label": "农业"
},
{
"key": 191702,
"label": "林业"
},
"… 6 more items in the full response"
],
"1918": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191801,
"label": "化工制品"
},
{
"key": 191803,
"label": "危险化学品"
},
"… 10 more items in the full response"
],
"1919": [
{
"key": "-1",
"label": "全部"
},
{
"key": 191901,
"label": "电子器件"
},
{
"key": 191902,
"label": "仪器仪表"
},
"… 3 more items in the full response"
],
"1920": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192001,
"label": "通用机械设备"
},
{
"key": 192002,
"label": "农林机械"
},
"… 12 more items in the full response"
],
"1921": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192101,
"label": "演出票务及周边"
},
{
"key": 192102,
"label": "文化艺术收藏品"
},
"… 12 more items in the full response"
],
"1922": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190602,
"label": "出版传媒"
},
{
"key": 192201,
"label": "电视台"
},
"… 7 more items in the full response"
],
"1923": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192301,
"label": "快递物流"
},
{
"key": 192302,
"label": "货运代理"
},
"… 3 more items in the full response"
],
"1924": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192401,
"label": "电信运营商"
},
{
"key": 192402,
"label": "虚拟运营商"
},
"… 2 more items in the full response"
],
"1925": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192501,
"label": "银行业"
},
{
"key": 192502,
"label": "证券业"
},
"… 11 more items in the full response"
],
"1927": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192701,
"label": "餐厅"
},
{
"key": 192702,
"label": "饮品"
},
"… 1 more items in the full response"
],
"1928": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192801,
"label": "软件工具"
},
{
"key": 192802,
"label": "多媒体处理"
},
"… 3 more items in the full response"
],
"1929": [
{
"key": "-1",
"label": "全部"
},
{
"key": 192901,
"label": "招商加盟联展平台"
},
{
"key": 192902,
"label": "生活用品加盟"
},
"… 17 more items in the full response"
],
"1930": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190203,
"label": "高档化妆品"
},
{
"key": 190219,
"label": "美妆工具"
},
"… 6 more items in the full response"
],
"1931": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190208,
"label": "宠物用品"
},
{
"key": 190213,
"label": "母婴用品电商"
},
"… 13 more items in the full response"
],
"1933": [
{
"key": "-1",
"label": "全部"
},
{
"key": 190220,
"label": "特殊日化用品"
},
{
"key": 193301,
"label": "日化用品线下零售"
},
"… 7 more items in the full response"
]
}
},
"status_code": 0,
"status_msg": "success"
}
}
]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 Creator Industry Category Config?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config 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 Creator Industry Category Config 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 Creator Industry Category Config chấp nhận những tham số nào?
Douyin Creator Industry Category Config không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Douyin Creator Industry Category Config 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 Creator Industry Category Config 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.
