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

# TikTok Shop market insights

> Pull the top TikTok Shop shops, products, videos and creators for the US market, by category and time range. No connected TikTok Shop needed.

Market insights are the numbers behind **Insights → Social intelligence** in the dashboard:
who sells the most on TikTok Shop, with which products, which videos and which creators.
They are estimates for the whole US market, not your own shop's sales, so you don't need a
connected TikTok Shop to read them.

All endpoints are `GET` and live under:

```
https://api.growi.io/api/public/v1/tiktok_shop/market
```

## Who can call it

| | |
| - | - |
| Organizations | Ecommerce brands and ecommerce agencies, and any organization with a connected TikTok Shop. Others answer `403` |
| Key | An organization key (`growi-sk-`), created under **Settings → Developer → API keys** ([authentication](https://docs.growi.io/api-reference/authentication.md)). Full and view-only keys both work |
| TikTok Shop | Not needed |
| Agencies | The parent organization's key works as it is. `organization_id` is optional: it reads as one of your [child brands](https://docs.growi.io/api-reference/child-brands.md), and the market data is the same |

## What you can pull

| You want | Call |
| - | - |
| The categories, with their ids and names | [`GET /categories`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-categories) |
| Top shops, by category and time range | [`GET /shops`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-shops) |
| A shop that isn't in the top lists | [`GET /shops/search`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/search-shops) |
| One shop's numbers and daily trend | [`GET /shops/{id}`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/get-shop) |
| A shop's top videos, products or creators | [`GET /shops/{id}/videos`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/shop-videos), [`/products`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/shop-products), [`/creators`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/shop-creators) |
| The top videos of many shops in one call | [`GET /videos`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-videos) with up to 100 `seller_ids` |
| Top products, by category | [`GET /products`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-products) |
| Top creators, by category or shop | [`GET /creators`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-creators) |
| Everything inside one category | [`GET /categories/{id}/shops`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/category-shops), [`/products`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/category-products), [`/videos`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/category-videos), [`/creators`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/category-creators) |
| One product's numbers, videos and creators | [`GET /products/{id}`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/get-product), [`/videos`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/product-videos), [`/creators`](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/product-creators) |

Filter the lists by category with the category's `name` from `GET /categories`, spelled the
same: `category` on shops, `category_l1` (and `category_l2`, `category_l3`) on products,
videos and creators.

## Time ranges

Each list takes `window`. The values differ by list:

| List | `window` | Default |
| - | - | - |
| Shops | `month`, `7d`, `30d`, or `custom` with `from` and `to` (`YYYY-MM-DD`, 1 to 30 days, ending on or before the latest day we have data for) | `month`, the latest calendar month |
| Products | `default`, `7d`, `28d` | `default`, each product's standard reporting period. It isn't a fixed number of days and covers the most products |
| Videos | `7d`, `28d` | `7d` |
| Creators | `7d`, `28d` | `7d` |
| Categories | `7d`, `28d`, `default` | `7d` |

Every answer carries a `window` that says which range it actually covers, so read the dates
from there. Two things to know:

* `7d`, `30d` and `custom` on shops are added up from daily numbers. Where we hold fewer
  days than the range needs, which is most likely with `30d` and long custom ranges, the
  row's numbers are `null` and `nullReasons` says `insufficient_history`. `month` always
  answers.
* A value outside a list's table answers `422`, and the message lists the values that work.
  (`all` is also accepted on products and categories, and means the same as `default`.)

## Paging and rank

* Lists take `page` (from 1) and `page_size` (1 to 100; default 20, or 100 on
  categories). A larger `page_size` is read as 100. Two exceptions: a shop's creators
  (`/shops/{id}/creators`) come 20 a page, `page` 1 to 250, and shop search answers one
  page only.
* Rows on the shops, products, videos and creators lists have `rank`: their place in the
  whole list, not just the page. Row 1 of page 3 at 50 a page is rank 101. The answer's
  `ranked_by` names what the list is ordered by.
* On categories, `rank` is the category's own place in the market (`null` outside the
  ranking). A shop's creators and shop search carry no `rank`.
* Change the order with `sort`. Shops: `gmv` (default), `units`, `growth`, `videos`,
  `creators`, `products`, `rating`. Products: `gmv`, `units`, `growth`, `videos`,
  `creators`, `newest`. Videos: `gmv`, `views`, `posted`. Creators are ranked by GMV.
* `total` is how many rows match in all.

## Shops outside the top lists

The top lists rank the top shops we track (`cohortSize` on the shops list says how many).
They are always there and cost nothing extra.

A shop outside them is collected the first time someone asks for it:

1. Find it with `GET /shops/search?q=name`. If the answer says `"lookup": "queued"`, more
   matches are being collected: search again shortly.
2. Call `GET /shops/{id}` with its `sellerId`. The first call answers `503` with
   `error.code` `collecting` and a `Retry-After` header. Repeat the call after that many
   seconds.
3. From then on the shop answers right away, for everyone.

Each organization gets 6 first-time lookups an hour, shared by an agency and all its
brands, and by the API and Claude. There is also a limit across all customers, so
`lookup_limit_reached` can occasionally come before you've used your 6. Past that, a shop that has never
been collected answers `429` with `lookup_limit_reached` and a `Retry-After` header, and a
search says `"lookup": "limit_reached"` (it only covered shops already collected). The top
lists are not affected.

A shop's videos list holds the top videos we track for that shop, about 20 per shop. An
empty list means we haven't collected that shop's videos yet.

## Missing numbers

A number we don't hold is `null`, never `0`. `nullReasons` on the row (or on the answer)
says why for each field:

| Reason | Meaning |
| - | - |
| `not_tracked` | We don't 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 can't be added up over the standard reporting period |
| `collecting` | It is being collected now |
| `lookup_limit_reached` | It was never collected and this hour's first-time lookups are used up |

## Money

Money is in **US dollars**, as plain numbers: `702330.5` is \$702,330.50. This is different
from the [creator TikTok Shop analytics](https://docs.growi.io/essentials/creator-tiktok-shop-analytics.md)
endpoints, which answer in cents.

## Rate limits

Market calls have their own budget per key, apart from your other API calls:

| Limit | Value |
| - | - |
| Hourly | **300 calls** per key per hour |
| Spacing | **2 seconds** between calls |

Neither budget affects the other: pulling the market doesn't make your other integrations
wait, and the reverse. Every answer counts, errors included (`403`, `404` for an id, `422`, `429`
`lookup_limit_reached`, `503`); calls refused before they run (`401`, rate-limit `429`s and
an unknown `organization_id`) don't. The `X-RateLimit-*`
headers and `Retry-After` work as described in [rate limits](https://docs.growi.io/api-reference/rate-limits.md).
At 100 rows a page that's up to 30,000 rows an hour. Need more? Email
[info@growi.io](mailto:info@growi.io); higher limits are set per organization.

## Errors

| Status | When | Body |
| - | - | - |
| `401` | Missing, invalid or revoked key | `{"error": "Not Authenticated"}` |
| `403` | Your organization isn't an ecommerce brand or ecommerce agency | `{"error": {"code": "forbidden", "message": "..."}}` |
| `404` | No shop, product or category with that id | `{"error": {"code": "not_found", "message": "..."}}` |
| `404` | `organization_id` isn't an active child brand of your organization | `{"success": false, "error": "Organization not found"}` |
| `422` | Invalid params; `message` names the param and its allowed values | `{"error": {"code": "invalid_params", "message": "..."}}` |
| `429` | Rate limited, or this hour's first-time lookups are used up (`lookup_limit_reached`) | See `Retry-After` |
| `503` | `collecting`: being collected for the first time. `data_unavailable`: market insights can't be read for a moment. `switched_off`: market insights are paused | `{"error": {"code": "collecting", "message": "..."}}`. Repeat after `Retry-After` seconds |

## Examples

Set your key and the base URL once:

```bash theme={"dark"}
KEY=growi-sk-YOUR-API-KEY
BASE=https://api.growi.io/api/public/v1/tiktok_shop/market
```

| What | Example |
| - | - |
| [Categories](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-categories.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/categories"` |
| [Top shops in a category, last 7 days](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-shops.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops?category=Beauty%20%26%20Personal%20Care&window=7d&sort=gmv&page_size=50"` |
| [Top shops by units, latest month](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-shops.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops?window=month&sort=units"` |
| [Top shops, your own dates](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-shops.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops?window=custom&from=2026-11-01&to=2026-11-14"` |
| [Find a shop by name](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/search-shops.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops/search?q=glow"` |
| [One shop](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/get-shop.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops/7494000000000000101?window=7d"` |
| [A shop's top videos](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/shop-videos.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops/7494000000000000101/videos?window=28d&sort=gmv"` |
| [Top videos of many shops](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-videos.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/videos?seller_ids=7494000000000000101,7494000000000000102&window=28d&sort=gmv&page_size=100"` |
| [Top products in a category](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-products.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/products?category_l1=Beauty%20%26%20Personal%20Care&window=7d&sort=gmv"` |
| [Top creators in a category](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-creators.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/creators?category_l1=Beauty%20%26%20Personal%20Care&window=28d"` |
| [Top creators for some shops](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/list-creators.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/creators?seller_ids=7494000000000000101,7494000000000000102"` |
| [A shop's creators](https://docs.growi.io/api-reference/endpoint/tiktok-shop-market/shop-creators.md) | `curl -H "Authorization: Bearer $KEY" "$BASE/shops/7494000000000000101/creators"` |

## Sample responses

Every endpoint page in the API reference shows its full response with each field described.
Two short ones:

```json Top shops theme={"dark"}
{
  "region": "US",
  "rows": [
    {
      "rank": 1,
      "sellerId": "7494000000000000101",
      "name": "Example Beauty Co",
      "brand": "Example Beauty",
      "categories": ["Beauty & Personal Care"],
      "gmv": 702330.5,
      "gmvChange": 0.18,
      "unitsSold": 41200,
      "unitsChange": 0.12,
      "newVideos": 310,
      "asp": 17.05,
      "creatorCount": 1840,
      "productCount": 96,
      "rating": 4.7
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 20,
  "cohortSize": 2000,
  "window": { "kind": "7d", "from": "2026-11-14", "to": "2026-11-20" },
  "dataAsOf": "2026-11-20",
  "ranked_by": "gmv"
}
```

```json Top videos theme={"dark"}
{
  "region": "US",
  "rows": [
    {
      "rank": 1,
      "videoId": "7560000000000000001",
      "caption": "Glow serum haul",
      "postedAt": "2026-11-15T00:00:00.000Z",
      "productId": "1729000000000000001",
      "product": { "productId": "1729000000000000001", "title": "Glow Serum 30ml", "listPrice": 19.99 },
      "sellerId": "7494000000000000101",
      "shopName": "Example Beauty Co",
      "creatorHandle": "glowwithjo",
      "creatorFollowers": 120000,
      "gmv": 4200,
      "units": 210,
      "views": 380000,
      "likes": 21000,
      "isAd": false
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 20,
  "window": { "requested": "7d", "served": 7 },
  "dataAsOf": "2026-11-20T06:00:00.000Z",
  "ranked_by": "gmv"
}
```

`gmvChange` and `unitsChange` are fractions against the period before: `0.18` is +18%.

## Pulling the top shops and their videos

**1. Pick the category**

`GET /categories` once, and keep the `name` of the category you want.

**2. List the top shops**

`GET /shops?category=NAME&window=7d&page_size=100`, then `page=2` and so on until you
have as many as you need. Keep each row's `sellerId`.

**3. Get their top videos**

`GET /videos?seller_ids=ID1,ID2,...&window=28d&sort=gmv`, up to 100 shops per call.
Each row says which shop (`sellerId`), product, creator and post date it belongs to.

**4. Add products and creators**

`GET /products?category_l1=NAME` and `GET /creators?category_l1=NAME`, or narrow
either one to your shops with `seller_ids`.

## In Claude

The same data is available to Claude through the [MCP server](https://docs.growi.io/ai/mcp-tools.md): ask "top
shops in Beauty this month" or "what are this shop's best videos?".


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