---
title: "Catalog"
description: "列出 TikTok Shop 某个店铺的商品，每页 30 件。"
---

```http
GET | POST /v1/tiktokshop/catalog
```

参数可以用 `GET` 的查询字符串发送，也可以用 `POST` 的 JSON 请求体发送，两者等价。

## 参数

| Parameter | Type | Required | Notes |
|---|---|---|---|
| `id` | string | yes | The store, by the marketplace's own id (on Shopify: its host or any URL on it). |
| `cursor` | string |  | The previous page's `cursor`, for the next 30 products. |
| `region` | string |  | Buyer country as ISO 3166-1 alpha-2; sets availability, shipping and price. |

## 请求

```bash tab="cURL"
curl "https://gateway.apinoa.com/v1/tiktokshop/catalog?id=7495904598724610138" \
  -H "x-api-key: $APINOA_API_KEY"
```

```js tab="JavaScript"
const params = new URLSearchParams({ id: "7495904598724610138" });
const res = await fetch(`https://gateway.apinoa.com/v1/tiktokshop/catalog?${params}`, {
  headers: { "x-api-key": process.env.APINOA_API_KEY },
});
const { success, data, error } = await res.json();
```

```python tab="Python"
import os

import requests

res = requests.get(
    "https://gateway.apinoa.com/v1/tiktokshop/catalog",
    params={"id": "7495904598724610138"},
    headers={"x-api-key": os.environ["APINOA_API_KEY"]},
)
body = res.json()
```

## 响应

在 `data` 中返回 [`SearchResult`](/docs/api-reference/marketplaces/response-schema#searchresult)。 真实响应的节选：数组只保留前几项，长文本已截断。

```json
{
  "success": true,
  "data": {
    "marketplace": "tiktokshop",
    "page": {
      "index": 1,
      "size": 30
    },
    "items": [
      {
        "marketplace": "tiktokshop",
        "id": "1730242444274471002",
        "url": "https://shop.tiktok.com/us/pdp/mini-bluetooth-5-4-true-wireless-in-ear-earphones-by-invisible/1730242444274471002",
        "title": "MSHUKCOE Mini Invisible True Wireless In-Ear Earphones - Bluetooth 5.4, Noise Cancelling, Stereo Audio, True Wireless D…",
        "price": {
          "currency": "USD",
          "amount": 18.99
        },
        "priceRange": {
          "min": {
            "currency": "USD",
            "amount": 18.99
          },
          "max": {
            "currency": "USD",
            "amount": 54.47
          }
        },
        "brand": "MSHUKCOE",
        "rating": {
          "average": 4.4,
          "count": 33593
        },
        "seller": {
          "id": "7495904598724610138",
          "name": "Listening Digital"
        },
        "salesCount": 234278,
        "delivery": {
          "free": true
        },
        "imageUrl": "https://p19-oec-general-useast5.ttcdn-us.com/tos-useast5-i-omjb5zjo8w-tx/cb5e11c34d3e45cab987b227a2996f9f~tplv-fhlh96ny…",
        "variantCount": 10,
        "badges": [
          "Free shipping"
        ],
        "promotions": [],
        "attributes": []
      }
    ],
    "cursor": "30_WzE4NSwyOTkwMDAwMCwxNzkxMTc4NTk1NTczLCIxNzMyNzIxNDU2OTYyNDQxMzA2Il0="
  }
}
```

## 错误

| 状态 | 代码 | 含义 |
|---|---|---|
| 400 | `INVALID_CURSOR` | 该 `cursor` 不是本操作返回的。请不带它重新开始。 |
| 400 | `INVALID_PARAMS` | 参数缺失、未知或超出范围。消息中会指出是哪一个。 |
| 401 | `UNAUTHORIZED` | 缺少 `x-api-key` 请求头，或密钥已吊销或未知。 |
| 402 | `INSUFFICIENT_BALANCE` | 余额不足以支付本次调用。请在控制台充值。 |
| 404 | `NOT_FOUND` | 店铺不存在。 |
| 429 | `MARKETPLACE_SATURATED` | 并发调用过多。请等待 `Retry-After` 秒后重试。 |
| 502 | `UPSTREAM_ERROR` | 平台返回了无法使用的内容。请退避后重试。 |

全部错误代码见 [Errors](/docs/errors)。失败的调用不计费。

## 价格

**Price** $0.001 per call. [List price](https://apinoa.com/en/pricing); the rate steps down above 1,000 calls a day.

## 说明

- **`id` 是店铺的卖家 id**（搜索结果项的 `seller.id`），或店铺 URL（`shop.tiktok.com/us/store/<名称>/<id>`）。
- **翻页：** 传入上一次响应的 `cursor` 获取接下来的 30 件。最后一页没有 `cursor`。
- 没有在售商品的店铺返回空的第一页。
