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.
- 价格
- $0.001美元 / 次调用
- 方法
- POST
- 响应
- JSON
- 参数
- 0 个必填 · 0 个可选
Playground
[
{
"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": "通用机械设备"
},
{示例
选择一个示例,将其输入和结果加载到 playground 中。
API README
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.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的平台 API 端点。
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. 身份验证
将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
3. 参数
此 API 尚未发布参数 Schema。
4. 响应
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"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"
}
}
]探索更多
相关 APIs
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
Douyin | $0.001 每次调用 | JSON |
问题
常见问题
如何使用 Douyin Creator Industry Category Config API?
向 https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
Douyin Creator Industry Category Config API 的价格是多少?
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
Douyin Creator Industry Category Config API 接受哪些参数?
Douyin Creator Industry Category Config 不接受输入参数;请发送空的 JSON 请求体。
Douyin Creator Industry Category Config API 返回什么?
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
我需要 Douyin 开发者账户或 API key 吗?
不需要。Douyin Creator Industry Category Config 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。
