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

# One shop

> One shop's GMV, units, growth and daily trend for the time range. A shop outside the top shops we track is collected the first time someone asks for it. Until it is ready the answer is 503 `collecting` with a Retry-After header; repeat the call after that many seconds. Each organization gets a few first-time lookups an hour; past that the answer is 429 `lookup_limit_reached` until the hour ends. The top lists are not affected. 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/shops/7494000000000000101?window=30d" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/market/shops/{id}
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/shops/{id}:
    get:
      summary: One shop
      description: >-
        One shop's GMV, units, growth and daily trend for the time range. A shop
        outside the top shops we track is collected the first time someone asks
        for it. Until it is ready the answer is 503 `collecting` with a
        Retry-After header; repeat the call after that many seconds. Each
        organization gets a few first-time lookups an hour; past that the answer
        is 429 `lookup_limit_reached` until the hour ends. The top lists are not
        affected. 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: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            The shop's `sellerId` (digits), from a shops list or `seller_id`
            from shop search.
        - name: window
          in: query
          required: false
          description: >-
            Time range. `month` (default) is the latest calendar month. `7d` and
            `30d` end on the latest day we have data for. `custom` needs `from`
            and `to`.
          schema:
            type: string
            enum:
              - month
              - 7d
              - 30d
              - custom
            default: month
        - name: from
          in: query
          required: false
          description: First day, YYYY-MM-DD. Only with window=custom.
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: false
          description: >-
            Last day, YYYY-MM-DD, inclusive. Only with window=custom. A custom
            range covers 1 to 30 days.
          schema:
            type: string
            format: date
        - 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:
                    sellerId: '7494000000000000101'
                    name: Example Beauty Co
                    brand: Example Beauty
                    avatarUrl: https://example.com/avatars/shop-1.jpg
                    region: US
                    categories:
                      - Beauty & Personal Care
                    sellerCompany: Example Beauty LLC
                    gmv: 702330.5
                    gmvDisplay: null
                    gmvGrowthRate: null
                    gmvChange: 0.18
                    unitsSold: 41200
                    unitsSoldDisplay: null
                    unitsGrowthRate: null
                    unitsChange: 0.12
                    newVideos: 310
                    asp: 17.05
                    creatorCount: 1840
                    productCount: 96
                    rating: 4.7
                    inCohort: true
                    gmvBasis: trend
                    window:
                      kind: 7d
                      from: '2026-11-14'
                      to: '2026-11-20'
                    trendRange:
                      from: '2026-11-14'
                      to: '2026-11-20'
                    trend:
                      - dt: '2026-11-14'
                        gmv: 98120.4
                        units: 5810
                        newVideos: 44
                      - dt: '2026-11-15'
                        gmv: 101775
                        units: 6012
                        newVideos: 47
                    dataAsOf: '2026-11-20'
                  summary: Example
              schema:
                type: object
                properties:
                  sellerId:
                    type: string
                    description: The shop's id. Use it in /shops/{id} and in seller_ids.
                  name:
                    type: string
                  brand:
                    type: string
                  avatarUrl:
                    type: string
                  region:
                    type: string
                    description: Always US.
                  categories:
                    type: array
                    items:
                      type: string
                  sellerCompany:
                    type: string
                  gmv:
                    type: number
                    description: Sales in US dollars for the window.
                  gmvDisplay:
                    nullable: true
                  gmvGrowthRate:
                    nullable: true
                  gmvChange:
                    type: number
                    description: >-
                      Change against the period before, as a fraction (0.18 =
                      +18%).
                  unitsSold:
                    type: integer
                    description: >-
                      Units sold in the window. On a search match: the units the
                      shop has sold, or null.
                  unitsSoldDisplay:
                    nullable: true
                  unitsGrowthRate:
                    nullable: true
                  unitsChange:
                    type: number
                    description: Change in units against the period before, as a fraction.
                  newVideos:
                    type: integer
                    description: New videos in the window.
                  asp:
                    type: number
                    description: 'Average selling price: GMV divided by units.'
                  creatorCount:
                    type: integer
                    description: Creators selling for it, a current total.
                  productCount:
                    type: integer
                    description: Products on sale, a current total.
                  rating:
                    type: number
                  inCohort:
                    type: boolean
                    description: Whether the shop is one of the top shops we track.
                  gmvBasis:
                    type: string
                    description: >-
                      Where gmv comes from: cohort (the monthly number of the
                      top shops we track), profile (the shop's own monthly
                      number, for a shop outside them; not comparable with
                      cohort) or trend (summed from daily numbers, for 7d, 30d
                      and custom).
                  window:
                    type: object
                    properties:
                      kind:
                        type: string
                      from:
                        type: string
                      to:
                        type: string
                    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.
                  trendRange:
                    type: object
                    properties:
                      from:
                        type: string
                      to:
                        type: string
                  trend:
                    type: array
                    items:
                      type: object
                      properties:
                        dt:
                          type: string
                        gmv:
                          type: number
                          description: Sales in US dollars for the window.
                        units:
                          type: integer
                        newVideos:
                          type: integer
                          description: New videos in the window.
                    description: Daily numbers for the range in trendRange.
                  dataAsOf:
                    type: string
                    description: When the data was last refreshed.
        '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: >-
            No shop with this id, or `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
                not_found:
                  value:
                    error:
                      code: not_found
                      message: >-
                        We have no shop with this id. Use an id from the shops
                        list or shop search.
                  summary: No such shop, product or category
        '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
                invalid_id:
                  value:
                    error:
                      code: invalid_params
                      message: The id in the path must be a numeric id (digits only)
                  summary: An id that is not digits
        '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 shop 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 shop 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.