# Shopee 店铺概况 API (shopee.shop_info)

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

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| shop | not declared | yes | not declared | 店铺的数字编号、店铺账号名（可带 @），或店铺链接（shopee.<域名>/<账号名>、shopee.<域名>/shop/<店铺编号>）。 |
| country | not declared | no | not declared | 店铺所属商城的地区代码，支持 tw/vn/sg/my/ph/th/id/br/mx；传店铺链接时可省略（从域名识别），其余情况未指定时默认 id。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| shop_id | 店铺 ID。 |
| shop_name | 店铺名。 |
| username | 用户名（@handle）。 |
| url | 该记录在原平台上的可访问链接。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| item_count | 店铺在售商品数。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| good_rating_count | 店铺累计好评数。 |
| neutral_rating_count | 店铺累计中评数。 |
| bad_rating_count | 店铺累计差评数。 |
| response_rate | 店铺聊天回复率（百分数）。 |
| response_time_seconds | 店铺聊天平均回复用时（秒）。 |
| cancellation_rate | 店铺订单取消率（百分数）。 |
| created_at | 创建时间，格式同 posted_at。 |
| last_active_at | 店铺最近活跃时间（ISO 8601，UTC）。 |
| is_official_shop | 是否为官方店。 |
| description | 简介或描述，通常比 text 短。 |
| cover_image_url | 店铺封面图。 |
| featured_product | 店铺主推的一件商品：item_id、url、name、price（有价格区间时另有 price_max）、original_price、currency、image_url、sold_count（销量大的是平台取整后的数）、recent_sold_count、rating、rating_count、liked_count，有值才出现。 |
| collected_at | 这条数据的抓取时刻（ISO 8601，UTC）。 |
| 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_info",
  "params": {
    "shop": "https://shopee.tw/fe_amart"
  }
}'
```

```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_info",
        "params": {
            "shop": "https://shopee.tw/fe_amart",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "shopee",
  "action": "shop_info",
  "results": {
    "shop_id": …,
    "shop_name": …,
    "username": …,
    "url": …,
    "country": …,
    "follower_count": …,
    "item_count": …,
    "rating": …,
    "rating_scale": …,
    "good_rating_count": …,
    "neutral_rating_count": …,
    "bad_rating_count": …,
    "response_rate": …,
    "response_time_seconds": …,
    "cancellation_rate": …,
    "created_at": …,
    "last_active_at": …,
    "is_official_shop": …,
    "description": …,
    "cover_image_url": …,
    "featured_product": …,
    "collected_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

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