<p class="crumbs"><a href="/zh/apis/">数据接口</a> / <a href="/zh/apis/tiktok/">TikTok</a></p>

# TikTok Shop 商品搜索 API

按关键词搜 TikTok Shop 的商品：标题、价格、评分、评价数、销量、店铺和主图，可选国家，可往后翻页。

| 项目 | 值 |
| --- | --- |
| 地址 | `GET https://api.feedmcp.com/v1/tiktok/shop/products/search` |
| ID | `tiktok.shop.products.search` |
| 价格 | **$0.002** / 次 |
| 返回 | 一页 商品对象列表 |
| 认证 | `Authorization: Bearer $FEEDMCP_API_KEY` |

> 美国站最稳定，其他国家站偶尔取不到。翻页时偶尔和上一页有少量重复，最多翻 10 页。

## 参数

| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `keyword` | string | 是 | 搜索关键词 |
| `country` | `US` / `GB` / `DE` / `FR` / `IT` / `ES` / `IE` / `MX` / `BR` / `JP` / `ID` / `MY` / `PH` / `SG` / `TH` / `VN` | 否 | TikTok Shop 的国家站，默认 US；美国站最稳定，默认 `US` |
| `cursor` | string | 否 | 翻页游标。第一页不传；下一页传上一页返回的 page.next_cursor。每一页单独计费 |

所有接口还支持 `view=full`：在返回里附上平台的原始数据（`raw`），价格不变。

## 返回字段

`data.items` 是一组「商品」对象，所有平台字段相同：

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | string | 商品 ID，可以直接传给商品详情和商品评价接口 |
| `platform` | string | 平台：tiktok |
| `url` | string \| null | 商品页链接 |
| `title` | string \| null | 商品标题 |
| `images` | string[] | 商品图片（列表里只有主图） |
| `price.amount` | number \| null | 售价 |
| `price.original` | number \| null | 原价（有折扣时才有） |
| `price.currency` | string \| null | 币种，例如 USD |
| `rating` | number \| null | 评分，满分 5 |
| `review_count` | number \| null | 评价数 |
| `sold_count` | number \| null | 销量 |
| `category` | string \| null | 最细一级的类目 |
| `shop.id` | string \| null | 店铺 ID，可以直接传给店铺的商品接口 |
| `shop.name` | string \| null | 店铺名 |
| `shop.rating` | number \| null | 店铺评分（只有商品详情） |
| `shop.followers` | number \| null | 店铺粉丝数（只有商品详情） |
| `shop.sold_count` | number \| null | 店铺总销量（只有商品详情） |
| `country` | string \| null | 国家站，例如 US |

## 什么时候扣费

成功调用一次 $0.002，空结果也算一次（搜索的空结果也是答案）。参数错误、平台出错、超时都不收费。

每次返回的 `meta.billing` 里写着这次扣了多少、还剩多少余额。

## 调用示例

### cURL

```bash
curl "https://api.feedmcp.com/v1/tiktok/shop/products/search?keyword=camping+tent" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/tiktok/shop/products/search",
    params={"keyword": "camping tent"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/tiktok/shop/products/search?keyword=camping+tent", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

在装好 FeedMCP 的 AI 里，调用 `call` 工具：

```json
{
  "endpoint": "tiktok.shop.products.search",
  "params": {
    "keyword": "camping tent"
  },
  "max_price": "0.002"
}
```

## 返回示例

示例数据是虚构的，格式和真实返回一致。

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "id": "1729479847458018111",
        "platform": "tiktok",
        "url": "https://www.tiktok.com/shop/pdp/1729479847458018111",
        "title": "Pop-up camping tent for 4 1",
        "images": [
          "https://p16-oec-general-useast5.ttcdn-us.com/tent.jpg"
        ],
        "price": {
          "amount": 149.99,
          "original": null,
          "currency": "USD"
        },
        "rating": 4.7,
        "review_count": 136,
        "sold_count": 1843,
        "category": "Tents",
        "shop": {
          "id": "7495128284160625473",
          "name": "Trail Outfitters"
        },
        "country": "US"
      },
      {
        "id": "1729479847458018112",
        "platform": "tiktok",
        "url": "https://www.tiktok.com/shop/pdp/1729479847458018112",
        "title": "Pop-up camping tent for 4 2",
        "images": [
          "https://p16-oec-general-useast5.ttcdn-us.com/tent.jpg"
        ],
        "price": {
          "amount": 149.99,
          "original": null,
          "currency": "USD"
        },
        "rating": 4.7,
        "review_count": 136,
        "sold_count": 1843,
        "category": "Tents",
        "shop": {
          "id": "7495128284160625473",
          "name": "Trail Outfitters"
        },
        "country": "US"
      }
    ]
  },
  "page": {
    "next_cursor": "eyJjdXJzb3IiOjIwfQ",
    "has_more": true
  },
  "warnings": [],
  "meta": {
    "endpoint": "tiktok.shop.products.search",
    "platform": "tiktok",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

出错时的格式见 [错误码](/zh/docs/errors/)：每个错误都写明扣没扣钱（`charged`）和能不能重试（`retry`）。

## TikTok的其他接口

- [TikTok 视频搜索](/zh/apis/tiktok/videos/search/)：$0.002
- [TikTok 视频详情](/zh/apis/tiktok/videos/get/)：$0.002
- [TikTok 视频评论](/zh/apis/tiktok/videos/comments/list/)：$0.002
- [TikTok 账号资料](/zh/apis/tiktok/users/get/)：$0.002
- [TikTok 账号的视频](/zh/apis/tiktok/users/videos/list/)：$0.002
- [TikTok 热门搜索](/zh/apis/tiktok/trends/list/)：$0.002
- [TikTok 广告搜索](/zh/apis/tiktok/ads/search/)：$0.002
- [TikTok 广告详情](/zh/apis/tiktok/ads/get/)：$0.002
- [TikTok Shop 商品详情](/zh/apis/tiktok/shop/products/get/)：$0.002
- [TikTok Shop 商品评价](/zh/apis/tiktok/shop/products/reviews/list/)：$0.002
- [TikTok Shop 店铺的商品](/zh/apis/tiktok/shop/sellers/products/list/)：$0.002
- [TikTok 评论的回复](/zh/apis/tiktok/videos/comments/replies/list/)：$0.002
- [TikTok 账号搜索](/zh/apis/tiktok/users/search/)：$0.002
- [TikTok 视频字幕](/zh/apis/tiktok/videos/transcript/get/)：$0.002

## 常见问题

### TikTok Shop 商品搜索接口多少钱？

成功调用一次 $0.002，空结果也算一次（搜索的空结果也是答案）。参数错误、平台出错、超时都不收费。

### 需要平台账号吗？

不需要，只取公开数据。

### ID 或链接怎么找？

视频 ID 是视频链接 /video/ 后面的数字；账号用用户名（@ 后面那一串，不带 @）；TikTok Shop 商品用商品链接 /pdp/ 后面的数字，店铺用商品里的 shop.id。

### 怎么取更多条？

返回里有 `page.next_cursor` 时，把它作为 `cursor` 参数传回来取下一页。每一页单独计费。

### 怎么在 AI 里用？

装好 [MCP](/zh/mcp/) 后直接说你要什么，AI 会调用 `tiktok.shop.products.search`。

---

网页版: https://feedmcp.com/zh/apis/tiktok/shop/products/search/
