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?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config。您也可以直接在本頁的 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 金鑰嗎?
不需要。Douyin Creator Industry Category Config 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。
