# eBay 店铺 API (ebay.store)

- Canonical page: https://everyinfra.com/ebay-api/store
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "ebay", "action": "store", "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 50 per call
- Mode: sync; add "mode": "async" for slow tasks

eBay 店铺按卖家账号名 `seller` 列出这个卖家在售的商品，例如 musicmagpie，每条的 `item_id`、标题、链接、价格、成色和运费说明，与关键词搜索那一页的字段相同。盯一个竞争卖家的上架和定价时，不需要先想好搜索词。

`seller` 是卖家账号名，不是店铺展示名称，也不是公司名。`store` 和 `username` 只是 `seller` 的兼容写法，两者与 `seller` 同时存在时以 `seller` 为准，而且 `seller` 仍然必填。`url` 可以传 eBay 店铺或卖家商品列表页，覆盖自动构造的地址，传了也要同时给 `seller`。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| seller | not declared | yes | not declared | eBay 卖家账号名，不是店铺展示名称或公司名。store 按卖家查商品列表；reviews 需配合同一卖家的 item_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 使用它构造页面地址。 |
| store | not declared | no | not declared | seller 的兼容输入，指卖家账号名，不是任意店铺标题；store action 仍须包含必填 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–50) | no | 20 | 这次调用最多返回的条数，整数，1–50；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| item_id | 商品 ID。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| url | 该记录在原平台上的可访问链接。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| price_text | 价格的原始展示文本，可能是区间。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| condition | 成色（全新/翻新/二手）。**eBay 上价格差异的第一决定因素**。 |
| shipping | 运费说明。 |
| seller | 卖家名。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| scraped_at | 数据抓取时刻。拍卖类价格变化快，用它判断新鲜度。 |
| 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": "ebay",
  "action": "store",
  "params": {
    "seller": "musicmagpie"
  }
}'
```

```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": "store",
        "params": {
            "seller": "musicmagpie",
        },
    },
    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": "ebay",
  "action": "store",
  "results": [
    {
      "item_id": "•••",
      "title": "PC Laptop RAZER Blade 15 rz09-0409agd3",
      "url": "https://www.ebay.com/itm/188983473414",
      "price": 683.46,
      "currency": "USD",
      "condition": "Pre-Owned",
      "seller": {
        "name": null,
        "username": null,
        "feedbackScore": null,
        "feedbackPercentage": null
      },
      "image_url": "https://i.ebayimg.com/images/g/YXcAAeSwi5NqtpWn/s-l500.webp",
      "platform": "ebay"
    },
    {
      "item_id": "•••",
      "title": "HP EliteBook 8440P 14\" Intel Core i5 2.67GHz 4GB RAM HDD 250GB Win 10",
      "url": "https://www.ebay.com/itm/227538905699",
      "price": 64.93,
      "currency": "USD",
      "condition": "Pre-Owned",
      "seller": {
        "name": null,
        "username": null,
        "feedbackScore": null,
        "feedbackPercentage": null
      },
      "image_url": "https://i.ebayimg.com/images/g/CgsAAeSwr5dqtnq1/s-l500.webp",
      "platform": "ebay"
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `seller` 填店铺名行不行？

不行。要填卖家账号名，不是店铺展示名称或公司名。`store` 和 `username` 是兼容写法，也都表示卖家账号名，不是任意店铺标题，也不是买家用户名；`seller` 优先，用了它们 `seller` 也仍是必填项。

### 什么时候要传 `url`？

默认的页面地址由 `seller` 和 `domain` 自动构造。想读某个特定的店铺页或卖家商品列表页时，把页面地址传给 `url` 覆盖它；传了 `url` 仍然要提供 `seller`。

### 店铺和关键词搜索怎么选？

知道卖家账号名，想看这个卖家在售的商品，用店铺；想按商品关键词、成色或价格区间跨卖家找货，用关键词搜索。这个接口没有关键词、成色和价格筛选参数，拿到列表后按 `condition` 和 `price` 自己过滤。

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