# eBay 评价 API (ebay.reviews)

- Canonical page: https://everyinfra.com/ebay-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "ebay", "action": "reviews", "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

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| seller | not declared | yes | not declared | eBay 卖家账号名，不是店铺展示名称或公司名。store 按卖家查商品列表；reviews 需配合同一卖家的 item_id 查询买家交易反馈。 |
| item_id | not declared | yes | not declared | reviews 对应的 eBay 商品编号，通常为商品 /itm/ URL 中的数字；与 seller 配对使用。不是通用商品目录 ID，也不是一条评价的 ID。 |
| country | not declared | no | not declared | domain 的兼容输入，同样接收 ebay.com 等站点域名，不是 US/DE 国家码；domain 同时存在时优先 domain。 |
| domain | not declared | no | not declared | eBay 站点域名，例如 ebay.com、ebay.de、ebay.co.uk，不带协议或路径，默认 ebay.com；search/store/reviews 使用它构造页面地址。 |
| product_id | not declared | no | not declared | item_id 的兼容输入，值为 eBay 商品编号；reviews 仍需提供 item_id。 |
| q | not declared | no | not declared | reviews 中 item_id 的兼容输入，表示商品编号，不是搜索词。商品搜索请用 keyword，不能将此处 q 当成关键词。 |
| seller_name | not declared | no | not declared | reviews 中 seller 的兼容输入，表示 eBay 卖家账号名；优先级低于 seller 和 username。请求仍需提供 seller，它不会覆盖 seller，也不是买家或评价作者的用户名。 |
| url | not declared | no | not declared | store 可传 eBay 店铺/卖家商品列表页覆盖自动构造的地址；reviews 若传含 /fdbk/ 的反馈页则直接使用。即使传 URL，仍需提供 seller / item_id。 |
| username | not declared | no | not declared | store/reviews 中 seller 的兼容输入，表示 eBay 卖家账号名；seller 优先且仍为公开必填，不是买家或评论作者的用户名。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| username | 用户名（@handle）。 |
| submitted_at | 评价提交时间。 |
| seller_reply | 卖家对评价的回复。 |
| image_count | 图片数。 |
| reviewer_feedback_score | 评价人自己的信用分。 |
| reviewer_feedback_star | 评价人的信用星级档位。 |
| product_name | 产品名称。 |
| product_id | 产品目录 ID。 |
| product_price | 商品价格。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| images | 全部商品大图链接（product_detail）。 |

## 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": "ebay",
  "action": "reviews",
  "params": {
    "seller": "musicmagpie",
    "item_id": "388071794887"
  }
}'
```

```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": "ebay",
        "action": "reviews",
        "params": {
            "seller": "musicmagpie",
            "item_id": "388071794887",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `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": "ebay",
  "action": "reviews",
  "results": [
    {
      "text": "Order delivered on time with no issues",
      "rating": "POSITIVE",
      "username": "•••",
      "submitted_at": "Past month",
      "image_count": 0,
      "product_name": "The Bikeriders DVD (2025) Austin Butler, Nichols (DIR) cert 15 ***NEW*** (#",
      "product_id": 388071794887,
      "product_price": "GBP 8.50",
      "platform": "ebay",
      "rating_scale": 5
    },
    {
      "text": "slow to dispatch?or comformation of dispatch,very un musicmagpie,but got here,and a great film,thankyou for your service",
      "rating": "POSITIVE",
      "username": "•••",
      "submitted_at": "Past 6 months",
      "image_count": 0,
      "reviewer_feedback_score": 647,
      "reviewer_feedback_star": "PURPLE_STAR",
      "product_name": "The Bikeriders DVD (2025) Austin Butler, Nichols (DIR) cert 15 ***NEW*** (#",
      "product_id": 388071794887,
      "product_price": "GBP 8.74",
      "platform": "ebay",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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