Douyin modelsapi generation api

douyin/creator/industry-category-config

Get industry category configuration from Douyin Creator platform Returns all available industry classification hierarchy **Recommend calling this API first before using mission task list API to get complete industry clas...

Input
No input schema available
Idle

Example output — click Run to generate your own

API README

Get industry category config

Purpose:

  • Get industry category configuration from Douyin Creator platform
  • Returns all available industry classification hierarchy
  • Recommend calling this API first before using mission task list API to get complete industry classification info

Important Notes:

  • This API is optimized with Redis caching, data will be cached for 30 days after first call
  • Cache key: douyin_creator:industry_categories
  • Data structure contains complete mapping relationship between primary and secondary industries

Data Structure:

{
    "status_code": 0,
    "status_msg": "success",
    "data": {
        "industry_categories": [
            {"key": "-1", "label": "All"},
            {"key": 1901, "label": "3C & Electronics"},
            {"key": 1913, "label": "Gaming"},
            ...
        ],
        "industry_subcategories": {
            1913: [
                {"key": "-1", "label": "All"},
                {"key": 191301, "label": "Casual Games"},
                {"key": 191302, "label": "Board Games"},
                ...
            ],
            ...
        }
    }
}

Usage in Mission Task Filtering:

  1. Get all industry tasks: industry_lv1=-1 (industry_lv2 not needed)
  2. Get specific primary industry: industry_lv1=1913 (Gaming industry)
  3. Get specific secondary industry: industry_lv1=1913&industry_lv2=191301 (Gaming-Casual Games)

Performance Optimization:

  • First call reads from local JSON file and caches to Redis
  • Subsequent calls read directly from Redis cache, significantly improving response speed
  • Cache validity period of 30 days ensures data timeliness

Return:

  • Returns complete industry classification tree structure
  • Contains 32 primary industry categories and corresponding secondary industry categories
  • Each category contains category ID(key) and name(label)

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models