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

# Top videos

> The top TikTok Shop videos, ranked by GMV, views or post date. Pass up to 100 `seller_ids` to get the top videos of many shops in one call. Each row has `rank`, its place across pages, and the answer says `ranked_by`. A number we do not hold is null, with the reason in `nullReasons`. Do not read null as zero. US market only. The numbers are estimates for the whole TikTok Shop market, not your own shop's sales, and you do not need a connected TikTok Shop. Money is in US dollars. Rate limit: 2 seconds between calls, and 300 market calls per key per hour, counted apart from your other API calls.

Works with any organization key of an ecommerce brand or ecommerce agency. No connected TikTok Shop is needed. See [TikTok Shop market insights](https://docs.growi.io/essentials/tiktok-shop-market.md) for time ranges, paging and limits.

```bash theme={"dark"}
curl "https://api.growi.io/api/public/v1/tiktok_shop/market/videos?seller_ids=7494000000000000101,7494000000000000102&window=28d&sort=gmv&page_size=100" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/market/videos
openapi: 3.0.1
info:
  title: Growi API
  description: >-
    API documentation for Growi platform, showcasing the public tracking event
    endpoint
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.growi.io/api/public/v1
security:
  - bearerAuth: []
paths:
  /tiktok_shop/market/videos:
    get:
      summary: Top videos
      description: >-
        The top TikTok Shop videos, ranked by GMV, views or post date. Pass up
        to 100 `seller_ids` to get the top videos of many shops in one call.
        Each row has `rank`, its place across pages, and the answer says
        `ranked_by`. A number we do not hold is null, with the reason in
        `nullReasons`. Do not read null as zero. US market only. The numbers are
        estimates for the whole TikTok Shop market, not your own shop's sales,
        and you do not need a connected TikTok Shop. Money is in US dollars.
        Rate limit: 2 seconds between calls, and 300 market calls per key per
        hour, counted apart from your other API calls.
      parameters:
        - name: window
          in: query
          required: false
          description: Time range. Default 7d.
          schema:
            type: string
            enum:
              - 7d
              - 28d
            default: 7d
        - name: q
          in: query
          required: false
          description: Caption contains this. At most 100 characters.
          schema:
            type: string
        - name: sort
          in: query
          required: false
          description: >-
            What to rank by, highest first. Default gmv. `posted` is newest
            first.
          schema:
            type: string
            enum:
              - gmv
              - views
              - posted
            default: gmv
        - name: product_ids
          in: query
          required: false
          description: >-
            Only videos selling these products: `productId`s separated by
            commas, at most 100.
          schema:
            type: string
        - name: seller_ids
          in: query
          required: false
          description: >-
            Only videos selling for these shops: `sellerId`s separated by
            commas, at most 100. One call can return the top videos of up to 100
            shops.
          schema:
            type: string
        - name: category_l1
          in: query
          required: false
          description: >-
            Only this top-level category: its `name` from GET /categories,
            spelled the same.
          schema:
            type: string
        - name: category_l2
          in: query
          required: false
          description: >-
            Only this subcategory (level 2): its `name` from GET
            /categories?level=2.
          schema:
            type: string
        - name: category_l3
          in: query
          required: false
          description: >-
            Only this third-level category name, as product rows show it in
            `categoryL3`.
          schema:
            type: string
        - name: min_gmv
          in: query
          required: false
          description: Only videos with at least this GMV in the window.
          schema:
            type: number
        - name: max_gmv
          in: query
          required: false
          description: Only videos with at most this GMV in the window.
          schema:
            type: number
        - name: min_views
          in: query
          required: false
          description: Only videos with at least this many views.
          schema:
            type: number
        - name: max_views
          in: query
          required: false
          description: Only videos with at most this many views.
          schema:
            type: number
        - name: min_followers
          in: query
          required: false
          description: Only videos whose creator has at least this many followers.
          schema:
            type: number
        - name: max_followers
          in: query
          required: false
          description: Only videos whose creator has at most this many followers.
          schema:
            type: number
        - name: min_roas
          in: query
          required: false
          description: 'Paid videos only: return on ad spend of at least this.'
          schema:
            type: number
        - name: max_roas
          in: query
          required: false
          description: 'Paid videos only: return on ad spend of at most this.'
          schema:
            type: number
        - name: ad_type
          in: query
          required: false
          description: Paid videos (`ad`), unpaid (`organic`) or both (`all`, the default).
          schema:
            type: string
            enum:
              - all
              - ad
              - organic
            default: all
        - name: posted_after
          in: query
          required: false
          description: Posted on or after this day, YYYY-MM-DD (UTC).
          schema:
            type: string
            format: date
        - name: posted_before
          in: query
          required: false
          description: Posted before this day, YYYY-MM-DD (UTC).
          schema:
            type: string
            format: date
        - name: page
          in: query
          required: false
          description: Page, from 1. Default 1.
          schema:
            type: integer
            minimum: 1
            maximum: 10000
        - name: page_size
          in: query
          required: false
          description: Rows per page, 1 to 100. Default 20. A larger number is read as 100.
          schema:
            type: integer
            minimum: 1
            maximum: 100
        - name: organization_id
          in: query
          required: false
          schema:
            type: integer
          description: >-
            Read as one of your brands (a child organization of the key's
            organization). The answer is the same market data; this only decides
            whose access and allowance are used. Leave out to read as the key's
            organization.
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                ok:
                  value:
                    region: US
                    rows:
                      - rank: 1
                        videoId: '7560000000000000001'
                        coverUrl: https://example.com/v1.jpg
                        caption: Glow serum haul
                        postedAt: '2026-11-15T00:00:00.000Z'
                        productId: '1729000000000000001'
                        product:
                          productId: '1729000000000000001'
                          title: Glow Serum 30ml
                          listPrice: 19.99
                          priceDisplay: $19.99
                          coverUrl: https://example.com/p1.jpg
                        sellerId: '7494000000000000101'
                        shopName: Example Beauty Co
                        creatorUid: '6900000000000000001'
                        creatorHandle: glowwithjo
                        creatorNickname: Jo
                        creatorAvatarUrl: https://example.com/avatars/c1.jpg
                        creatorFollowers: 120000
                        creatorGmv: null
                        gmv: 4200
                        units: 210
                        views: 380000
                        likes: 21000
                        comments: 640
                        shares: 1200
                        engagementRate: 0.0602
                        isAd: false
                        roas: null
                        adCost: null
                        categoryL1: Beauty & Personal Care
                        categoryL2: Skincare
                        categoryL3: Serums
                        windowDays: 7
                        dataAsOf: '2026-11-20T06:00:00.000Z'
                        nullReasons:
                          creatorGmv: not_tracked
                    total: 1
                    page: 1
                    pageSize: 20
                    window:
                      requested: 7d
                      served: 7
                    dataAsOf: '2026-11-20T06:00:00.000Z'
                    ranked_by: gmv
                  summary: Example
              schema:
                type: object
                properties:
                  region:
                    type: string
                    description: Always US.
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        rank:
                          type: integer
                          description: >-
                            The row's place in the list across pages: (page - 1)
                            x page size + its position. On a category it is the
                            category's own place in the market, null outside the
                            ranking.
                        videoId:
                          type: string
                          description: The TikTok video id.
                        coverUrl:
                          type: string
                        caption:
                          type: string
                        postedAt:
                          type: string
                          description: When the video was posted.
                        productId:
                          type: string
                          description: >-
                            The product's id. Use it in /products/{id} and in
                            product_ids.
                        product:
                          type: object
                          properties:
                            productId:
                              type: string
                              description: >-
                                The product's id. Use it in /products/{id} and
                                in product_ids.
                            title:
                              type: string
                            listPrice:
                              type: number
                            priceDisplay:
                              type: string
                            coverUrl:
                              type: string
                        sellerId:
                          type: string
                          description: >-
                            The shop's id. Use it in /shops/{id} and in
                            seller_ids.
                        shopName:
                          type: string
                        creatorUid:
                          type: string
                          description: The creator's TikTok id.
                        creatorHandle:
                          type: string
                        creatorNickname:
                          type: string
                        creatorAvatarUrl:
                          type: string
                        creatorFollowers:
                          type: integer
                        creatorGmv:
                          nullable: true
                        gmv:
                          type: integer
                          description: Sales in US dollars for the window.
                        units:
                          type: integer
                        views:
                          type: integer
                          description: Video views.
                        likes:
                          type: integer
                        comments:
                          type: integer
                        shares:
                          type: integer
                        engagementRate:
                          type: number
                        isAd:
                          type: boolean
                          description: Whether the video ran as a paid ad.
                        roas:
                          nullable: true
                          description: Return on ad spend, for paid videos.
                        adCost:
                          nullable: true
                        categoryL1:
                          type: string
                        categoryL2:
                          type: string
                        categoryL3:
                          type: string
                        windowDays:
                          type: integer
                          description: >-
                            The number of days this row covers; 0 is the
                            standard reporting period.
                        dataAsOf:
                          type: string
                          description: When the data was last refreshed.
                        nullReasons:
                          type: object
                          properties:
                            creatorGmv:
                              type: string
                          description: >-
                            For each field that is null, why. not_tracked: we do
                            not track this number. not_available: there is no
                            value for it. insufficient_history: not enough days
                            of data for the range. no_fixed_window: it cannot be
                            added up over the standard reporting period.
                            collecting: it is being collected now.
                            lookup_limit_reached: it was never collected and the
                            hour's first-time lookups are used up. Never read
                            null as zero.
                    description: The rows of this page.
                  total:
                    type: integer
                    description: How many rows match in all.
                  page:
                    type: integer
                    description: The page answered.
                  pageSize:
                    type: integer
                    description: Rows per page.
                  window:
                    type: object
                    properties:
                      requested:
                        type: string
                      served:
                        type: integer
                    description: >-
                      The time range answered. On shops: kind, from and to. On
                      the other lists: requested, and served (the number of days
                      answered; 0 is the standard reporting period, not a fixed
                      number of days). When served differs from requested,
                      reason is window_not_available: there was no data for the
                      range asked, so the nearest one was answered. basis is
                      source_default or source_default_mixed when the range is
                      the standard reporting period.
                  dataAsOf:
                    type: string
                    description: When the data was last refreshed.
                  ranked_by:
                    type: string
                    description: >-
                      What the rows are ordered by: the sort that was applied.
                      On categories it names the row field (rank for level 1,
                      trackedGmv for level 2).
        '401':
          description: >-
            Missing, invalid or revoked API key: `{"error": "Not
            Authenticated"}`
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                not_authenticated:
                  value:
                    error: Not Authenticated
                  summary: Missing or invalid API key
        '403':
          description: >-
            Your organization can't use market insights. They are for ecommerce
            brands and ecommerce agencies; `error.message` says what to change
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                forbidden:
                  value:
                    error:
                      code: forbidden
                      message: >-
                        TikTok Shop market insights are for ecommerce brands and
                        ecommerce agencies. You can change your organization
                        type in Settings, or contact support.
                  summary: >-
                    The organization is not an ecommerce brand or ecommerce
                    agency
        '404':
          description: '`organization_id` isn''t an active child brand of your organization'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                organization_not_found:
                  value:
                    success: false
                    error: Organization not found
                  summary: organization_id is not one of your brands
        '422':
          description: >-
            Invalid params. `error.code` is `invalid_params` and `error.message`
            names the param and its allowed values
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                invalid_params:
                  value:
                    error:
                      code: invalid_params
                      message: 'window must be one of: 7d, 28d'
                  summary: A param that cannot be used
        '429':
          description: >-
            Rate limited: 2 seconds between calls and 300 market calls per key
            per hour. See `Retry-After` and the `X-RateLimit-*` headers
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                interval:
                  value:
                    error: >-
                      Rate limit exceeded. Please wait 2 seconds between
                      requests.
                    retry_after: 2
                  summary: Less than 2 seconds since your last market call
                hourly:
                  value:
                    error: Hourly rate limit of 300 requests exceeded.
                    retry_after: 1800
                    reset_time: '2026-11-29T13:00:00Z'
                  summary: More than 300 market calls this hour
        '503':
          description: >-
            `data_unavailable`: market insights can't be read right now; retry
            shortly
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              invalid_params, forbidden, not_found,
                              lookup_limit_reached, collecting,
                              data_unavailable, switched_off or internal_error
                          message:
                            type: string
                            description: What went wrong and what to do, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
                  success:
                    type: boolean
                    description: false, on an unknown organization_id only
              examples:
                data_unavailable:
                  value:
                    error:
                      code: data_unavailable
                      message: >-
                        TikTok Shop market insights are unavailable right now.
                        Try again shortly.
                  summary: The data could not be read right now
                switched_off:
                  value:
                    error:
                      code: switched_off
                      message: >-
                        TikTok Shop market insights are temporarily switched
                        off. Try again later.
                  summary: Market insights are switched off for everyone for now
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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