> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 达人排名分析

> 获取 TikTok 达人排行榜，可按粉丝数、GMV、互动率等指标排序，数据来自大规模分析数据集。

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button type="button" className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50" onClick={() => navigator.clipboard.writeText("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/tiktok/influencer/ranking/analytics\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/tiktok/influencer/ranking/analytics\n\nDescription: TikTok 的「达人排名分析」接口用于评估表现、趋势、排名和业务机会，返回统计字段、明细列表和分页信息。适用于达人发现、内容分析、趋势跟踪和增长研究。常用必填参数包括 date、region、rank_type、influencer_rank_field。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- date (Required): date 参数\n- region (Required): 地区或国家代码，例如 US、GB、DE\n- influencer_category_name (Optional): influencer_category_name 参数\n- product_category_id (Optional): product_category_id 标识符\n- rank_type (Required): rank_type 参数\n- influencer_rank_field (Required): influencer_rank_field 参数\n- page_num (Required): page_num 参数\n- page_size (Required): 每页返回数量\n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": [\n    {\n      \"avatar\": \"https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/853/MS4wLjABAAAAJN3v63JkTkZW72ae9hb2Wlb70uzhU8H3AZEKxIVTg38lwBGTx0tSNH7IBcrocdKd.jpg\",\n      \"category\": \"Other\",\n      \"ec_score\": 7.33,\n      \"most_category_id\": \"601450\",\n      \"most_category_l2_id\": \"605248\",\n      \"most_category_l3_id\": \"603014\",\n      \"nick_name\": \"ﾌひﾚﾉの\",\n      \"product_category_list\": \"601450-849672-601690:1,601450-848776-601608:2,601450-849672-875400:3,601450-848776-601619:4,601450-849416-601660:5,601739-909064-601925:6,601739-909320-601990:7,601450-848776-601653:8,601450-848776-873480:9,601450-848904-601513:10,601450-849416-874120:11,824328-840072-601218:12,601450-849160-601686:13,601450-856208-855696:14,700645-700646-700650:15,601450-848904-1004168:16,601450-848904-981512:17,824328-840072-601202:18,604579-871560-881672:19,601755-831112-831752:20,601450-848776-601602:21,604579-872328-887560:22,603014-835336-837768:23,601450-849288-601644:24,601450-848776-601733:25,601739-909064-910728:26,604968-872968-897160:27,601352-900616-901896:28,601739-909320-602029:29,601450-848776-601615:30,601450-849032-1004552:31,605248-905224-906248:32,603014-835464-603835:33,601450-848648-601588:34,604206-859656-700699:35,601450-856208-856080:36,601739-909192-911752:37,600024-859400-600048:38,600001-851848-852872:39,824328-839944-601213:40,601450-849416-874248:41,601352-900616-601364:42,604453-871432-881416:43,601352-900488-901384:44,601450-849288-601520:45,601450-849160-601490:46,601352-900488-601405:47,601152-842376-601266:48,604206-860296-869256:49,601450-849416-601672:50,605248-905224-906376:51,601450-849160-2169232:52,604453-871048-979720:53,824584-902664-601419:54,600942-844808-601090:55,604453-871048-876680:56,601739-984584-992264:57,824584-902792-601446:58,600024-859528-600029:59,600154-809992-600221:60,604453-871048-876040:61,605248-905352-605304:62,700437-915336-700554:63,601450-849416-874376:64,603014-834568-603042:65,603014-834696-2151184:66,700645-700646-700649:67,601450-849416-601677:68,824328-840456-841736:69,601450-856208-855952:70,600942-844808-601108:71,824328-840456-841352:72,824584-902920-904840:73,600001-852232-600812:74,604206-859912-864520:75,601739-909064-601936:76,603014-834568-603704:77,605196-930184-700684:78,700437-915336-963464:79,601739-909448-913672:80,600001-852104-600338:81,601450-849416-873992:82,600001-851848-600621:83,601450-848776-601611:84,604453-871048-604468:85,600024-859528-865288:86,600024-859144-863880:87,953224-964360-958216:88,600024-859400-600032:89,824328-839944-601226:90,604206-860040-867592:91,601450-849160-601498:92,601450-848904-601469:93,605248-905608-605274:94,601739-984584-992008:95,824328-839944-601195:96,601152-842248-601295:97,700437-915336-921736:98,604453-871048-875912:99,601450-856208-855824:100,824328-839944-601197:101,601152-842376-601276:102,824328-839944-960776:103,824328-839944-601223:104\",\n      \"region\": \"US\",\n      \"sales_flag\": 4,\n      \"total_digg_cnt\": 0,\n      \"total_digg_history_cnt\": 9415852,\n      \"total_followers_cnt\": 0,\n      \"total_followers_history_cnt\": 46652,\n      \"total_live_cnt\": 0,\n      \"total_live_history_cnt\": 0,\n      \"total_post_video_cnt\": 0,\n      \"total_post_video_history_cnt\": 1716,\n      \"total_product_cnt\": 0,\n      \"total_product_history_cnt\": 228,\n      \"total_sale_cnt\": 7752,\n      \"total_sale_gmv_amt\": 73446,\n      \"total_sale_gmv_history_amt\": 583910,\n      \"total_sale_history_cnt\": 45720,\n      \"unique_id\": \"iamjuliocr\",\n      \"user_id\": \"6633792625097490438\"\n    }\n  ],\n  \"requestId\": \"aeaad642-956b-4431-92c2-aaf60a5c60d6\"\n}\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/tiktok.zh.openapi.json GET /v1/tiktok/influencer/ranking/analytics
openapi: 3.0.1
info:
  title: Tiktok API 中文文档
  description: Tiktok API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security: []
tags:
  - name: TikTok Influencer
  - name: TikTok Shop Creator
  - name: TikTok Shop
  - name: TikTok Content
  - name: TikTok Intelligence
paths:
  /v1/tiktok/influencer/ranking/analytics:
    get:
      tags:
        - TikTok 达人
      summary: 达人排名分析
      description: 获取 TikTok 达人排行榜，可按粉丝数、GMV、互动率等指标排序，数据来自大规模分析数据集。
      operationId: get_api_v3_echotik_influencer_ranklist
      parameters:
        - name: date
          in: query
          description: 榜单日期，格式为 yyyy-MM-dd。榜单分为日榜、周榜和月榜；周榜日期为每周一，月榜日期为每月第一天。
          required: true
          schema:
            type: string
        - name: region
          in: query
          description: 地区代码，例如 US。
          required: true
          schema:
            type: string
        - name: influencer_category_name
          in: query
          description: 类目筛选条件。
          required: false
          schema:
            type: string
        - name: product_category_id
          in: query
          description: 商品类目列表筛选条件。
          required: false
          schema:
            type: string
        - name: rank_type
          in: query
          description: 榜单周期，1=日榜，2=周榜，3=月榜。
          required: true
          schema:
            type: integer
        - name: influencer_rank_field
          in: query
          description: 榜单排序字段，1=total_followers_cnt，2=total_sale_cnt。
          required: true
          schema:
            type: integer
        - name: page_num
          in: query
          description: 页码，从 1 开始，最大支持 100000。
          required: true
          schema:
            type: integer
        - name: page_size
          in: query
          description: 每页返回数量，最大值为 10。
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        avatar:
                          type: string
                          title: >-
                            If the profile picture/cover URL is inaccessible,
                            please use the download interface.
                        category:
                          type: string
                        ec_score:
                          type: number
                          title: echotik rating
                        nick_name:
                          type: string
                        region:
                          type: string
                        sales_flag:
                          type: integer
                          title: >-
                            Sales indicators, >0 represents sales. 1 = Video
                            sales; 2 = Live streaming sales; 3 = Video + Live
                            streaming; 4 = Open a product showcase.
                        total_digg_cnt:
                          type: integer
                          title: Likes during the ranking period
                        total_digg_history_cnt:
                          type: integer
                          title: Total number of likes
                        total_followers_cnt:
                          type: integer
                        total_followers_history_cnt:
                          type: integer
                        total_live_cnt:
                          type: integer
                        total_live_history_cnt:
                          type: integer
                        total_post_video_cnt:
                          type: integer
                        total_post_video_history_cnt:
                          type: integer
                        total_product_cnt:
                          type: integer
                        total_product_history_cnt:
                          type: integer
                        total_sale_cnt:
                          type: integer
                          title: Sales volume (estimated) during the ranking period
                        total_sale_gmv_amt:
                          type: number
                          title: >-
                            Estimated GMV (Gross Merchandise Volume) during the
                            ranking period
                        total_sale_gmv_history_amt:
                          type: number
                          title: Total sales gmv (estimated)
                        total_sale_history_cnt:
                          type: integer
                          title: Total sales (estimated)
                        user_id:
                          type: string
                        unique_id:
                          type: string
                          description: handle_id
                        product_category_list:
                          type: string
                          description: >-
                            All product categories for influencers' live
                            streaming, Level 1-2-3 categories: Ranking
                        most_category_id:
                          type: string
                          description: >-
                            The top-level category with the most influencer
                            product promotion
                        most_category_l2_id:
                          type: string
                        most_category_l3_id:
                          type: string
                  requestId:
                    type: string
                required:
                  - code
                  - message
                  - data
                  - requestId
                example:
                  code: 0
                  message: success
                  data:
                    - avatar: >-
                        https://echosell-images.tos-ap-southeast-1.volces.com/user-avatar/853/MS4wLjABAAAAJN3v63JkTkZW72ae9hb2Wlb70uzhU8H3AZEKxIVTg38lwBGTx0tSNH7IBcrocdKd.jpg
                      category: Other
                      ec_score: 7.33
                      most_category_id: '601450'
                      most_category_l2_id: '605248'
                      most_category_l3_id: '603014'
                      nick_name: ﾌひﾚﾉの
                      product_category_list: >-
                        601450-849672-601690:1,601450-848776-601608:2,601450-849672-875400:3,601450-848776-601619:4,601450-849416-601660:5,601739-909064-601925:6,601739-909320-601990:7,601450-848776-601653:8,601450-848776-873480:9,601450-848904-601513:10,601450-849416-874120:11,824328-840072-601218:12,601450-849160-601686:13,601450-856208-855696:14,700645-700646-700650:15,601450-848904-1004168:16,601450-848904-981512:17,824328-840072-601202:18,604579-871560-881672:19,601755-831112-831752:20,601450-848776-601602:21,604579-872328-887560:22,603014-835336-837768:23,601450-849288-601644:24,601450-848776-601733:25,601739-909064-910728:26,604968-872968-897160:27,601352-900616-901896:28,601739-909320-602029:29,601450-848776-601615:30,601450-849032-1004552:31,605248-905224-906248:32,603014-835464-603835:33,601450-848648-601588:34,604206-859656-700699:35,601450-856208-856080:36,601739-909192-911752:37,600024-859400-600048:38,600001-851848-852872:39,824328-839944-601213:40,601450-849416-874248:41,601352-900616-601364:42,604453-871432-881416:43,601352-900488-901384:44,601450-849288-601520:45,601450-849160-601490:46,601352-900488-601405:47,601152-842376-601266:48,604206-860296-869256:49,601450-849416-601672:50,605248-905224-906376:51,601450-849160-2169232:52,604453-871048-979720:53,824584-902664-601419:54,600942-844808-601090:55,604453-871048-876680:56,601739-984584-992264:57,824584-902792-601446:58,600024-859528-600029:59,600154-809992-600221:60,604453-871048-876040:61,605248-905352-605304:62,700437-915336-700554:63,601450-849416-874376:64,603014-834568-603042:65,603014-834696-2151184:66,700645-700646-700649:67,601450-849416-601677:68,824328-840456-841736:69,601450-856208-855952:70,600942-844808-601108:71,824328-840456-841352:72,824584-902920-904840:73,600001-852232-600812:74,604206-859912-864520:75,601739-909064-601936:76,603014-834568-603704:77,605196-930184-700684:78,700437-915336-963464:79,601739-909448-913672:80,600001-852104-600338:81,601450-849416-873992:82,600001-851848-600621:83,601450-848776-601611:84,604453-871048-604468:85,600024-859528-865288:86,600024-859144-863880:87,953224-964360-958216:88,600024-859400-600032:89,824328-839944-601226:90,604206-860040-867592:91,601450-849160-601498:92,601450-848904-601469:93,605248-905608-605274:94,601739-984584-992008:95,824328-839944-601195:96,601152-842248-601295:97,700437-915336-921736:98,604453-871048-875912:99,601450-856208-855824:100,824328-839944-601197:101,601152-842376-601276:102,824328-839944-960776:103,824328-839944-601223:104
                      region: US
                      sales_flag: 4
                      total_digg_cnt: 0
                      total_digg_history_cnt: 9415852
                      total_followers_cnt: 0
                      total_followers_history_cnt: 46652
                      total_live_cnt: 0
                      total_live_history_cnt: 0
                      total_post_video_cnt: 0
                      total_post_video_history_cnt: 1716
                      total_product_cnt: 0
                      total_product_history_cnt: 228
                      total_sale_cnt: 7752
                      total_sale_gmv_amt: 73446
                      total_sale_gmv_history_amt: 583910
                      total_sale_history_cnt: 45720
                      unique_id: iamjuliocr
                      user_id: '6633792625097490438'
                  requestId: aeaad642-956b-4431-92c2-aaf60a5c60d6
        '400':
          description: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/tiktok/influencer/ranking/analytics' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/tiktok/influencer/ranking/analytics',
                params={},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const response = await
            fetch('https://api.keyapi.ai/v1/tiktok/influencer/ranking/analytics',
              {
                method: 'GET',
                headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
              }
            );

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````