# Shopee 店铺资料 API (shopee.shop)

- Canonical page: [https://everyinfra.com/shopee-api/shop](https://everyinfra.com/shopee-api/shop?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "shopee", "action": "shop", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

店铺资料按 `shop` 读取一个 Shopee 店铺里的商品，每行是一件商品：名称、`price`、`original_price`、`discount_pct`、`sold_count`、评分和 `location`，并带 `shop_id`、`item_id` 和标明是否官方店的 `is_mall`。它回答「这家店哪些商品卖得好、哪些在打折」，适合跟踪对手店铺的促销，或者按销量看一个卖家靠哪些商品出单。

返回的是店内商品，不是店铺评论。`location` 是原文透传的地理位置，格式不统一；跨平台比评分时，`rating` 要按同一行的 `rating_scale` 换算。

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=shopee&action=shop

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| shop | not declared | yes | not declared | 店铺用户名或数字 shop ID，可带 @；返回店内商品列表，不是店铺评论。 |
| country | enum: br / cl / co / id / mx / my / ph / sg / th / tw / vn | no | not declared | 店铺所属商城地区代码，支持 id/sg/my/th/ph/vn/br/tw/mx/co/cl；未指定时默认 id。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| shop_id | 店铺 ID。 |
| item_id | 商品 ID。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| url | 该记录在原平台上的可访问链接。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| price | 价格数值，不含货币符号；币种见 currency。商品详情（product_detail）缺价格时这次调用不扣费，其余数据照常返回。 |
| original_price | 原价。 |
| discount_pct | 折扣百分比。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| rating_count | 参与评分的人数。null 表示不公开，不等于 0。 |
| sold_count | 销量。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| is_mall | 是否为 Shopee Mall 官方店。**东南亚电商里辨真假货的第一信号**。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "shopee",
  "action": "shop",
  "params": {
    "shop": "rasyidjaya_computer"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "shopee",
        "action": "shop",
        "params": {
            "shop": "rasyidjaya_computer",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "shopee",
  "action": "shop",
  "results": [
    {
      "shop_id": 196846900,
      "item_id": 3426311938,
      "name": "SSD M.2 sata / NVMe SSD All merk 128GB / 256GB Second Performa kesehatan Bagus",
      "url": "https://shopee.co.id/SSD-M.2-sata-NVMe-SSD-All-merk-128GB-256GB-Second-Performa-kesehatan-Bagus-i.196846900.3426311938",
      "image_url": "https://down-id.img.susercontent.com/file/id-11134207-82252-mj6o46od2ww0d5",
      "price": 950000,
      "currency": "IDR",
      "rating": 4.9,
      "sold_count": 177,
      "is_mall": false,
      "platform": "shopee",
      "rating_scale": 5
    },
    {
      "shop_id": 196846900,
      "item_id": 47700571927,
      "name": "iMac Retina 5K Late 2015 Core i5 Ram 16gb Hdd 500gb Mulus Original",
      "url": "https://shopee.co.id/iMac-Retina-5K-Late-2015-Core-i5-Ram-16gb-Hdd-500gb-Mulus-Original-i.196846900.47700571927",
      "image_url": "https://down-id.img.susercontent.com/file/id-11134207-82252-mggsngy8d98vbc",
      "price": 4125000,
      "discount_pct": 1,
      "currency": "IDR",
      "rating": 4.8,
      "is_mall": false,
      "platform": "shopee",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `shop` 填用户名还是数字 ID？

两种都行，也可以带 @。示例里用的是店铺用户名；搜索结果的每一行带 `shop_id`，那就是数字 shop ID，可以直接拿来填。

### 店铺所在的站点怎么指定？

用 `country`，填店铺所属商城的地区代码，例如 `sg`、`my`、`th`，不传默认 `id`。它要和店铺所在的站点一致，所以先确认店铺属于哪个站点再调。

### `original_price` 和 `discount_pct` 怎么用？

`original_price` 是原价，`discount_pct` 是折扣百分比，两者和 `price` 放在一起，能看出这家店哪些商品在打折、折得多深。`currency` 是价格币种，为 null 时不要假定币种；`sold_count` 是销量，可以用来排序找热销品。

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=shopee
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
