# 店铺趋势(快照) - EchoTik

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v3/echotik/seller/trend:
    get:
      summary: 店铺趋势(快照) - EchoTik
      deprecated: false
      description: >-
        **接口整体描述**

        这是店铺历史趋势快照接口，按 `seller_id` 返回最多 180
        天的店铺日级数据。返回重点包括在店商品数、总直播数、直播达人数、历史商品数、近1天销量、总销量、近1天销售额、总销售额、总视频数、总视频带货达人数等，能看出店铺是在扩SKU、扩达人、还是扩GMV。


        **接口用途推荐**

        - 适合做店铺增长复盘

        - 看某个店铺最近是否起量

        - 监控店铺经营健康度、识别活动节点对销量GMV的影响，也适合做竞店周报


        **注意事项**

        - 趋势/快照类接口最多支持近 180 天历史

        - 数据出自EchoTik，所以该数据均属于离线数据，会有延迟，如果接口返回没有数据证明EchoTik并未收录该数据
      tags:
        - 店铺
      parameters:
        - name: seller_id
          in: query
          description: 店铺ID
          required: true
          schema:
            type: string
        - name: start_date
          in: query
          description: 时间范围筛选，yyyy-MM-dd格式
          required: true
          schema:
            type: string
        - name: end_date
          in: query
          description: 时间范围筛选，yyyy-MM-dd格式
          required: true
          schema:
            type: string
        - 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:
                        dt:
                          type: string
                        seller_id:
                          type: string
                          title: 店铺ID
                        total_crawl_product_cnt:
                          type: integer
                          title: 在店商品数
                        total_live_cnt:
                          type: integer
                          title: 总直播数
                        total_live_ifl_cnt:
                          type: integer
                          title: 直播达人数
                        total_product_cnt:
                          type: integer
                          title: 总商品数（包含下架商品）
                        total_sale_1d_cnt:
                          type: integer
                          title: 近1天销量
                        total_sale_cnt:
                          type: integer
                          title: 总销量
                        total_sale_gmv_1d_amt:
                          type: integer
                          title: 近1天销售额
                        total_sale_gmv_amt:
                          type: integer
                          title: 总销售额
                        total_video_cnt:
                          type: integer
                          title: 总视频数
                        total_video_ifl_cnt:
                          type: integer
                          title: 总视频带货达人数
                        user_id:
                          type: string
                          title: 用户UID
                      x-apifox-orders:
                        - dt
                        - seller_id
                        - total_crawl_product_cnt
                        - total_live_cnt
                        - total_live_ifl_cnt
                        - total_product_cnt
                        - total_sale_1d_cnt
                        - total_sale_cnt
                        - total_sale_gmv_1d_amt
                        - total_sale_gmv_amt
                        - total_video_cnt
                        - total_video_ifl_cnt
                        - user_id
                      x-apifox-ignore-properties: []
                  requestId:
                    type: string
                x-apifox-orders:
                  - 01K8TJH96D8MSZY09GD9T4KQM7
                required:
                  - code
                  - message
                  - data
                  - requestId
                x-apifox-refs:
                  01K8TJH96D8MSZY09GD9T4KQM7:
                    $ref: >-
                      #/components/schemas/%E5%BA%97%E9%93%BA%E8%B6%8B%E5%8A%BF%EF%BC%88%E5%BF%AB%E7%85%A7%EF%BC%89
                x-apifox-ignore-properties:
                  - code
                  - message
                  - data
                  - requestId
          headers: {}
          x-apifox-name: 成功
      security:
        - basic: []
      x-apifox-folder: 店铺
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7319100/apis/api-369400701-run
components:
  schemas:
    店铺趋势（快照）:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              dt:
                type: string
              seller_id:
                type: string
                title: 店铺ID
              total_crawl_product_cnt:
                type: integer
                title: 在店商品数
              total_live_cnt:
                type: integer
                title: 总直播数
              total_live_ifl_cnt:
                type: integer
                title: 直播达人数
              total_product_cnt:
                type: integer
                title: 总商品数（包含下架商品）
              total_sale_1d_cnt:
                type: integer
                title: 近1天销量
              total_sale_cnt:
                type: integer
                title: 总销量
              total_sale_gmv_1d_amt:
                type: integer
                title: 近1天销售额
              total_sale_gmv_amt:
                type: integer
                title: 总销售额
              total_video_cnt:
                type: integer
                title: 总视频数
              total_video_ifl_cnt:
                type: integer
                title: 总视频带货达人数
              user_id:
                type: string
                title: 用户UID
            x-apifox-orders:
              - dt
              - seller_id
              - total_crawl_product_cnt
              - total_live_cnt
              - total_live_ifl_cnt
              - total_product_cnt
              - total_sale_1d_cnt
              - total_sale_cnt
              - total_sale_gmv_1d_amt
              - total_sale_gmv_amt
              - total_video_cnt
              - total_video_ifl_cnt
              - user_id
            x-apifox-ignore-properties: []
        requestId:
          type: string
      required:
        - code
        - message
        - data
        - requestId
      x-apifox-orders:
        - code
        - message
        - data
        - requestId
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: ''
    description: 正式环境
security: []

```
