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.
- Prix
- $0.001USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 0 obligatoires · 0 facultatifs
Bac à sable
[
{
"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": "通用机械设备"
},
{Exemples
Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
README de l'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.
Commencer à construire
Envoyez votre première requête
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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. Authentification
Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
3. Paramètres
Aucun schéma de paramètres n'a été publié pour cette API.
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"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"
}
}
]Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Questions
FAQ
Comment utiliser l’API Douyin Creator Industry Category Config ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
Combien coûte l’API Douyin Creator Industry Category Config ?
$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API Douyin Creator Industry Category Config accepte-t-elle ?
Douyin Creator Industry Category Config n’accepte aucun paramètre d’entrée ; envoyez un corps JSON vide.
Que renvoie l’API Douyin Creator Industry Category Config ?
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Ai-je besoin d’un compte développeur ou d’une clé API Douyin ?
Non. Douyin Creator Industry Category Config fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.
