# Amazon 卖家搜索 API (amazon.sellers)

- Canonical page: https://everyinfra.com/amazon-api/sellers
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "amazon", "action": "sellers", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 10, max 50 per call
- Mode: sync; add "mode": "async" for slow tasks

Amazon 卖家搜索按 `keyword` 找卖家，默认 10 条，单次最多 50 条。每行有卖家 `name`、注册企业名 `business_name`、`phone`、`address`、`rating` 和 `review_count`，以及关联商品的 `product_asin`、`product_name` 和 `product_price` 等字段。畅销榜那一页回答哪些商品卖得好，这一页回答谁在卖，适合梳理竞品卖家和商家线索。

`keyword` 不是按卖家 ID 精确查找：可以传商品或卖家相关页面的 URL，传普通文字则先构造成商品搜索页再取。关联商品里，`product_price` 要配 `product_currency` 看币种，`product_brand` 是品牌。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 随接口区分：search 是商品搜索词；bestsellers 优先传 Amazon 类目畅销榜完整 URL，也接受用于拼接榜单路径的类目短名；sellers 可传商品/卖家相关页面 URL，普通文字则先构造商品搜索页，并非按卖家 ID 精确查找。 |
| lang | enum: ar / bn / cs / da / de / en / es / fr / he / hi / ja / kn / ko / ml / mrta / nl / pl / pt / sv / ta / te / tr / zhcn / zhtw | no | not declared | 页面内容语言。en / ja 等为英文 / 日文；简体和繁体中文使用 zhcn / zhtw，不是通用 zh。只接受当前接口列出的语言代码，选择语言不等于切换国家站点。 |
| limit | integer (1–50) | no | 10 | 这次调用最多返回的条数，整数，1–50；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| business_name | 卖家的注册企业名。 |
| phone | 联系电话，原文透传，未做号码格式归一。 |
| address | 详细地址，原文透传。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| product_asin | 商品 ASIN。 |
| product_name | 商品名称。 |
| product_url | 商品链接。 |
| product_price | 价格。 |
| product_currency | 币种。 |
| product_brand | 品牌。 |
| product_rating | 商品评分，5 分制。 |
| 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": "amazon",
  "action": "sellers",
  "params": {
    "keyword": "keyboard"
  }
}'
```

```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": "amazon",
        "action": "sellers",
        "params": {
            "keyword": "keyboard",
        },
    },
    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 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "amazon",
  "action": "sellers",
  "results": [
    {
      "url": "https://www.amazon.com",
      "name": "Amazon.com",
      "business_name": "Amazon.com, Inc.",
      "phone": "•••",
      "address": "410 Terry Ave N, Seattle, WA, 98109, US",
      "product_asin": "B079JLY5M5",
      "product_name": "Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black",
      "product_url": "https://www.amazon.com/dp/B079JLY5M5",
      "product_price": 26.99,
      "product_currency": "$",
      "product_brand": "Logitech",
      "product_rating": 4.5,
      "platform": "amazon"
    },
    {
      "url": "https://www.amazon.com",
      "name": "Amazon.com",
      "business_name": "Amazon.com, Inc.",
      "phone": "•••",
      "address": "410 Terry Ave N, Seattle, WA, 98109, US",
      "product_asin": "B07QGHK6Q8",
      "product_name": "Logitech G213 Prodigy Wired RGB Gaming Keyboard - Black",
      "product_url": "https://www.amazon.com/dp/B07QGHK6Q8",
      "product_price": 47.99,
      "product_currency": "$",
      "product_brand": "Logitech G",
      "product_rating": 4.2,
      "platform": "amazon"
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 能按卖家 ID 查某个具体卖家吗？

不能精确查。想锁定某个卖家，传能指向它的商品页或卖家页 URL，再用 `name` 和 `business_name` 核对是不是要找的那家。Amazon 官方帮助把第三方卖家定义为独立卖家，商品页用 Sold by 标出卖家；同一商品有多个卖家时，会分别展示商品状况和价格。这只说明商品和卖家之间的关联，不代表能按任意关键词直接搜到卖家。

### `phone` 和 `address` 入库前要处理吗？

要自己处理。两个字段都是原文透传，`phone` 没有做号码格式归一，`address` 同样是原文，入库前按自己的需要统一格式。

### `rating` 和 `product_rating` 怎么区分满分？

先分清对象：`product_rating` 是关联商品的评分，按 5 分制；`rating` 的满分不固定，要读同一行的 `rating_scale`。两个数不能直接比大小。

## Also

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