> ## 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.

# 店铺榜单列表-EchoTik

> 获取店铺排行榜，可按 热销榜或热推榜 指标排序，榜单中返回的值是当前周期中的增量数据。

🪙
1 credit每次请求

## Copy for AI

🤖 让 AI 帮你写调用代码点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。

✨ 复制给 AI


## OpenAPI

````yaml zh/tiktok.zh.openapi.json GET /v1/tiktok/shop/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 达人
  - name: TikTok 店铺
  - name: TikTok 内容数据
  - name: TikTok 趋势洞察
paths:
  /v1/tiktok/shop/ranking/analytics:
    get:
      tags:
        - TikTok 店铺
      summary: 店铺榜单列表-EchoTik
      description: 获取店铺排行榜，可按 热销榜或热推榜 指标排序，榜单中返回的值是当前周期中的增量数据。
      operationId: get_api_v3_echotik_seller_ranklist
      parameters:
        - name: date
          in: query
          description: 日期，格式为 yyyy-MM-dd。
          required: true
          schema:
            type: string
        - name: region
          in: query
          required: true
          schema:
            type: string
          description: 国家/地区代码，例如 US、GB、DE。
        - name: category_id
          in: query
          required: false
          schema:
            type: string
          description: 类目 ID，用于限定查询范围。
        - name: category_l2_id
          in: query
          required: false
          schema:
            type: string
          description: 二级类目 ID。
        - name: category_l3_id
          in: query
          required: false
          schema:
            type: string
          description: 三级类目 ID。
        - name: seller_rank_field
          in: query
          description: 榜单排序字段，1=total_sale_cnt，2=total_ifl_cnt。
          required: true
          schema:
            type: integer
        - name: rank_type
          in: query
          description: 榜单周期，1=日榜，2=周榜，3=月榜。
          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:
                        category_id:
                          type: string
                        category_l2_id:
                          type: string
                        category_l3_id:
                          type: string
                        cover_url:
                          type: string
                          title: >-
                            Store cover image address, please use the download
                            interface to access.
                        most_product_category_list:
                          type: string
                          title: Most popular product categories in the store
                        rating:
                          type: number
                        region:
                          type: string
                        seller_id:
                          type: string
                        seller_name:
                          type: string
                        total_ifl_cnt:
                          type: integer
                          title: Number of selling creators
                        total_live_cnt:
                          type: integer
                          title: Live broadcast sessions
                        total_product_cnt:
                          type: integer
                          title: Number of products
                        total_sale_cnt:
                          type: integer
                        total_sale_gmv_amt:
                          type: number
                        total_video_cnt:
                          type: integer
                          title: Total number of videos sold
                        user_id:
                          type: string
                  requestId:
                    type: string
                required:
                  - code
                  - message
                  - data
                  - requestId
              example:
                code: 0
                message: success
                data:
                  - category_id: '601450'
                    category_l2_id: '848776'
                    category_l3_id: '601611'
                    cover_url: >-
                      https://echosell-images.tos-ap-southeast-1.volces.com/seller-cover/222/7495514739648989419.png
                    most_product_category_list: >-
                      [{ "category_name":"Beauty & Personal
                      Care","category_id":"601450"}]
                    rating: 4.6
                    region: US
                    seller_id: '7495514739648989419'
                    seller_name: medicube US Store
                    total_ifl_cnt: 31
                    total_live_cnt: 594
                    total_product_cnt: 0
                    total_sale_cnt: 19204
                    total_sale_gmv_amt: 603075.48
                    total_video_cnt: 94
                    user_id: '7291517492299007018'
                requestId: 54f91db1-5f45-43f1-b0b8-2b7421a0e2f7
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '402':
          $ref: '#/components/responses/402'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/tiktok/shop/ranking/analytics' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/tiktok/shop/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/shop/ranking/analytics',
              {
                method: 'GET',
                headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
              }
            );

            const data = await response.json();

            console.log(data);
components:
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            example:
              code: 400
              data: null
              message: 'Missing required parameter: handle'
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            example:
              code: 401
              data: null
              message: apiKey is null
    '402':
      description: Payment Required
      content:
        application/json:
          schema:
            type: object
            example:
              code: 402
              data: null
              message: apiKey quota is not enough
    '429':
      description: Too Many Requests
      content:
        application/json:
          schema:
            type: object
            example:
              code: 429
              data: null
              message: qps limit exceeded
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            example:
              code: 500
              data: null
              message: Internal server error
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.