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.
- Harga
- $0.001USD / panggilan
- Metode
- POST
- Respons
- JSON
- Parameter
- 0 wajib · 0 opsional
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": "通用机械设备"
},
{Contoh
Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Kirim permintaan pertama Anda
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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. Autentikasi
Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
3. Parameter
Tidak ada schema parameter yang dipublikasikan untuk API ini.
4. Respons
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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"
}
}
]Jelajahi lebih lanjut
API Terkait
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
FAQ
Bagaimana cara menggunakan API Douyin Creator Industry Category Config?
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/creator/industry-category-config dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Berapa biaya API Douyin Creator Industry Category Config?
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Parameter apa yang diterima API Douyin Creator Industry Category Config?
Douyin Creator Industry Category Config tidak memiliki parameter input; kirim body JSON kosong.
Apa yang dikembalikan API Douyin Creator Industry Category Config?
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Apakah saya memerlukan akun developer atau kunci API Douyin?
Tidak. Douyin Creator Industry Category Config berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.
