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

# Trending videos

> The videos selling the market's top products right now, with the creator and the product. Pages follow the products (10 a page); `product.productRank` is the product's place. Read from TikTok Shop data as it is reported, not from the lists we track: rows keep the field names the data comes with, and the first read of something nobody has asked for yet is a first-time lookup. Until it is ready the answer is 503 `collecting` with a Retry-After header; each organization gets a few first-time lookups an hour, and past that the answer is 429 `lookup_limit_reached` until the hour ends. 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.

Read live from TikTok Shop data, so rows keep the field names the data comes with, which can differ from the other market endpoints (camelCase here, such as `playCount`). The first read of something nobody has asked for yet uses one of your hourly [first-time lookups](https://docs.growi.io/essentials/tiktok-shop-market.md#shops-outside-the-top-lists).

```bash theme={"dark"}
curl "https://api.growi.io/api/public/v1/tiktok_shop/market/videos/trending" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/market/videos/trending
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/trending:
    get:
      summary: Trending videos
      description: >-
        The videos selling the market's top products right now, with the creator
        and the product. Pages follow the products (10 a page);
        `product.productRank` is the product's place. Read from TikTok Shop data
        as it is reported, not from the lists we track: rows keep the field
        names the data comes with, and the first read of something nobody has
        asked for yet is a first-time lookup. Until it is ready the answer is
        503 `collecting` with a Retry-After header; each organization gets a few
        first-time lookups an hour, and past that the answer is 429
        `lookup_limit_reached` until the hour ends. 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: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 500
          description: Page, from 1 to 500. 10 rows a page.
        - 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:
                      - videoId: '7560000000000000001'
                        description: Glow serum haul
                        coverUrl: https://example.com/v1.jpg
                        isAd: false
                        playCount: 380000
                        likeCount: 21000
                        commentCount: 640
                        shareCount: 1200
                        unitsSold: 210
                        creator:
                          uid: '6900000000000000001'
                          handle: glowwithjo
                          nickname: Jo
                          avatarUrl: https://example.com/avatars/c1.jpg
                        product:
                          productId: '1729000000000000001'
                          productRank: 1
                          title: Glow Serum 30ml
                          coverUrl: https://example.com/p1.jpg
                          price: $19.99
                          shopName: Example Beauty Co
                          categoryL1: Beauty & Personal Care
                    page: 1
                    hasMore: true
                    productTotal: 5000
                    dataAsOf: '2026-11-20T06:00:00.000Z'
                    ranked_by: productRank
                  summary: Example
              schema:
                type: object
                properties:
                  region:
                    type: string
                    description: Always US.
                  rows:
                    type: array
                    items:
                      type: object
                      properties:
                        videoId:
                          type: string
                          description: The TikTok video id.
                        description:
                          type: string
                        coverUrl:
                          type: string
                        isAd:
                          type: boolean
                          description: Whether the video ran as a paid ad.
                        playCount:
                          type: integer
                        likeCount:
                          type: integer
                        commentCount:
                          type: integer
                        shareCount:
                          type: integer
                        unitsSold:
                          type: integer
                          description: >-
                            Units sold in the window. On a search match: the
                            units the shop has sold, or null.
                        creator:
                          type: object
                          properties:
                            uid:
                              type: string
                            handle:
                              type: string
                              description: The creator's @handle.
                            nickname:
                              type: string
                            avatarUrl:
                              type: string
                        product:
                          type: object
                          properties:
                            productId:
                              type: string
                              description: >-
                                The product's id. Use it in /products/{id} and
                                in product_ids.
                            productRank:
                              type: integer
                              description: >-
                                The product's place in the videos rank; trending
                                videos are the videos of the top products there.
                            title:
                              type: string
                            coverUrl:
                              type: string
                            price:
                              type: string
                            shopName:
                              type: string
                            categoryL1:
                              type: string
                    description: The rows of this page.
                  page:
                    type: integer
                    description: The page answered.
                  hasMore:
                    type: boolean
                    description: Whether another page follows.
                  productTotal:
                    type: integer
                    description: How many products the videos rank holds.
                  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. Or `lookup_limit_reached`: this hour's first-time lookups
            are used up. 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
                lookup_limit_reached:
                  value:
                    error:
                      code: lookup_limit_reached
                      message: >-
                        This list has not been collected yet and your allowance
                        for first-time lookups is used up for this hour. The top
                        lists are not affected.
                  summary: >-
                    Never collected, and the hour's first-time lookups are used
                    up
        '503':
          description: >-
            `collecting`: this is being collected for the first time; repeat the
            call after `Retry-After` seconds. `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
                collecting:
                  value:
                    error:
                      code: collecting
                      message: We are collecting this now. Try again in 30 seconds.
                  summary: Being collected right now; Retry-After says how long
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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