eBay 搜索 API
按关键词搜索 eBay 在售商品,可选价格区间、物品成色、刊登类型和排序筛选,在一个标准化响应中返回标题、价格、成色、运费和卖家。
US$0.75/千次请求,按请求付费,无需订阅。
Condition
Buying format
Price
Item location
Nintendo Switch Lite Handheld Console - Turquoise - Used
Used · 12 bids
$129.5
+$8.99 shipping
retro_games_hub (3204) 97.8%
Nintendo Switch Console (Original 2017 Model) - Neon Red/Blue
Used
$179.99
Free shipping
consoleworld_usa (9871) 98.1%
Nintendo Switch OLED Model Console - White
New
$249.99
Free shipping
game_deals_plus (41209) 99.5%
{"itemId": "225876341102","title": "Nintendo Switch Lite Handheld Console - Turquoise - Used","url": "https://www.ebay.com/itm/225876341102","price": 129.5,"condition": "Used","listingType": "Auction","sellerName": "retro_games_hub","sellerFeedbackPercent": 97.8,还有 5 个字段}
价格与服务商
eBay 搜索 API 价格:一个 API,3 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
每次请求封顶 US$0.06551 条结果US$0.0036813 条结果US$0.0346425 条结果US$0.0655(封顶)按实际返回的内容计费。调低返回数量上限即可少付,而且无论返回多少,单次请求都不会超过封顶价。
试一试
一个请求获取 eBay 搜索
{
"found": true,
"data": {
"items": [
{
"itemId": "225876341102",
"title": "Nintendo Switch Lite Handheld Console - Turquoise - Used",
"url": "https://www.ebay.com/itm/225876341102",
"price": 129.5,
"condition": "Used",
"listingType": "Auction",
"sellerName": "retro_games_hub",
"sellerFeedbackPercent": 97.8,
"shippingCost": "$8.99",
"image": "https://i.ebayimg.com/images/g/3xkAAOSwLmhk3z4A/s-l500.jpg",
"currency": "USD",
"bidCount": 12,
"sellerFeedbackCount": 3204
},
{
"itemId": "205512873341",
"title": "Nintendo Switch Console (Original 2017 Model) - Neon Red/Blue",
"url": "https://www.ebay.com/itm/205512873341",
"price": 179.99,
"condition": "Used",
"listingType": "FixedPrice",
"sellerName": "consoleworld_usa",
"sellerFeedbackPercent": 98.1,
"shippingCost": "$0.00",
"image": "https://i.ebayimg.com/images/g/7wYAAOSwXqhk3z4B/s-l500.jpg",
"currency": "USD",
"sellerFeedbackCount": 9871
},
{
"itemId": "204521873366",
"title": "Nintendo Switch OLED Model Console - White",
"url": "https://www.ebay.com/itm/204521873366",
"price": 249.99,
"condition": "New",
"listingType": "FixedPrice",
"sellerName": "game_deals_plus",
"sellerFeedbackPercent": 99.5,
"shippingCost": "Free",
"image": "https://i.ebayimg.com/images/g/5vNAAOSwZthk3z4C/s-l500.jpg",
"currency": "USD",
"sellerFeedbackCount": 41209
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-10-09 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- querystring
nintendo switch
搜索关键词,例如 "nintendo switch" 或 "vintage levis 501"。
- conditionarray
按一种或多种物品成色筛选;省略则包含所有成色(例如 ["new", "open_box"])。
- limitinteger
3
最多返回的结果数量(1 到 25,默认 25)。
- listingTypeenum
限定刊登形式;省略或使用 all 表示两者都包含(例如 buy_it_now 表示仅一口价)。
- maxPriceinteger
可选,物品最高价格,单位为 USD。
- minPriceinteger
可选,物品最低价格,单位为 USD。
- requireFieldsarray
可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `sellerName`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个商品确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。
- sortenum
price_low
结果排序方式;省略则使用 eBay 的最佳匹配(例如 price_low 表示按价格加运费从低到高排序)。
响应
JSON,每个字段一个示例值。
- foundboolean
true
- itemIdstring
225876341102
- titlestring
Nintendo Switch Lite Handheld Console - Turquoise - Used
- urlstring
https://www.ebay.com/itm/225876341102
- pricenumber
129.5
- conditionstring
Used
- listingTypestring可设为必填
Auction
- sellerNamestring可设为必填
retro_games_hub
- sellerFeedbackPercentnumber可设为必填
97.8
- shippingCoststring
$8.99
- imagestring
https://i.ebayimg.com/images/g/3xkAAOSwLmhk3z4A/s-l500.jpg
- currencystring
USD
- bidCountnumber
12
- sellerFeedbackCountnumber可设为必填
3204
常见问题
关于 eBay 搜索 API
AnyAPI 的 eBay 搜索 API 只需一次 POST 请求 /v1/run/ebay.search,就以统一格式的 JSON 返回 eBay 数据。按关键词搜索 eBay 在售商品,可选价格区间、物品成色、刊登类型和排序筛选,在一个标准化响应中返回标题、价格、成色、运费和卖家。AnyAPI 会在 3 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$0.75 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 eBay 搜索 API 调用中有 100.0% 成功,响应时间中位数为 3.7 秒,共测量 15,585 次调用。