eBay API

eBay 已售商品 API

按任意关键词获取最近售出的 eBay 商品,可选价格区间、成色、类目、售出日期和排序筛选,逐页返回(成交价、售出日期、成色、卖家、物品详情);非常适合做定价调研。

US$3.00/千次请求,按请求付费,无需订阅。

iphone 13 pro | eBay Sold Items
ebay.com/sch/i.html?_nkw=iphone+13+pro&LH_Sold=1&LH_Complete=1
Hi! Sign inor registerDaily DealsBrand OutletGift CardsHelp & ContactShip toSellWatchlistMy eBay
ebay
All Categoriesiphone 13 pro
Advanced
Show only: Sold ItemsCompleted items
photo

Apple iPhone 13 Pro 256GB Sierra Blue Unlocked - Very Good

Used - Very Good · Fixed price

$389.00

Sold Sep 27, 2026 · Free shipping

cellphonevault (12043) 99.1%

photo

Apple iPhone 13 Pro 128GB Graphite AT&T Locked - Good

Used - Good · Auction

$415.00

Sold Sep 26, 2026 · +$5.55 shipping

wirelessliquidators (7602) 98.4%

photo

Apple iPhone 13 Pro 512GB Gold - For Parts or Not Working

For parts or not working · Fixed price

$138.50

Sold Sep 24, 2026 · Free shipping

phonepartsdepot (2318) 96.9%

API 返回的内容items[0]
{
"itemId": "196234871203",
"title": "Apple iPhone 13 Pro 256GB Sierra Blue Unlocked - Very Good",
"url": "https://www.ebay.com/itm/196234871203",
"soldPrice": 389,
"soldCurrency": "USD",
"soldUtc": 1790467200,
"shippingCost": "$0.00",
"condition": "Used - Very Good",
... 还有 10 个字段
}
可用率
99.82%
30d · 11,335 次调用
请求数
11,363
30d · 按周,近 12 周
响应时间
1.7s
中位数 · 30d

价格与服务商

eBay 已售商品 API 价格:一个 API,2 个可互换的服务商

最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。

你需支付
US$30.00
US$3.00/千次请求,只为实际用量付费。没有月度套餐。
有了 US$0.10 的初始余额,你的前 33 次请求免费。

试一试

一个请求获取 eBay 已售商品

打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。

这个示例展示了 23 个字段中的 22 个。查看全部字段

{
  "found": true,
  "data": {
    "hasMore": true,
    "items": [
      {
        "itemId": "196234871203",
        "title": "Apple iPhone 13 Pro 256GB Sierra Blue Unlocked - Very Good",
        "url": "https://www.ebay.com/itm/196234871203",
        "soldPrice": 389,
        "soldCurrency": "USD",
        "soldUtc": 1790467200,
        "shippingCost": "$0.00",
        "condition": "Used - Very Good",
        "sellerUsername": "cellphonevault",
        "sellerFeedbackPercent": 99.1,
        "sellerFeedbackCount": 12043,
        "listingType": "Fixed price",
        "bestOfferAccepted": true,
        "epid": "241596325",
        "image": "https://i.ebayimg.com/images/g/9dEAAOSwqxhk3z5A/s-l500.jpg",
        "images": [
          "https://i.ebayimg.com/images/g/9dEAAOSwqxhk3z5A/s-l500.jpg",
          "https://i.ebayimg.com/images/g/1fGAAOSwrxhk3z5B/s-l500.jpg"
        ],
        "countryCode": "US"
      },
      {
        "itemId": "196512033987",
        "title": "Apple iPhone 13 Pro 128GB Graphite AT&T Locked - Good",
        "url": "https://www.ebay.com/itm/196512033987",
        "soldPrice": 415,
        "soldCurrency": "USD",
        "soldUtc": 1790380800,
        "shippingCost": "$5.55",
        "condition": "Used - Good",
        "sellerUsername": "wirelessliquidators",
        "sellerFeedbackPercent": 98.4,
        "sellerFeedbackCount": 7602,
        "listingType": "Auction",
        "bidCount": 9,
        "bestOfferAccepted": false,
        "image": "https://i.ebayimg.com/images/g/2hIAAOSwsxhk3z5C/s-l500.jpg",
        "countryCode": "US"
      },
      {
        "itemId": "195988761420",
        "title": "Apple iPhone 13 Pro 512GB Gold - For Parts or Not Working",
        "url": "https://www.ebay.com/itm/195988761420",
        "soldPrice": 138.5,
        "soldCurrency": "USD",
        "soldUtc": 1790208000,
        "shippingCost": "$0.00",
        "condition": "For parts or not working",
        "sellerUsername": "phonepartsdepot",
        "sellerFeedbackPercent": 96.9,
        "sellerFeedbackCount": 2318,
        "listingType": "Fixed price",
        "bestOfferAccepted": false,
        "image": "https://i.ebayimg.com/images/g/3jKAAOSwtxhk3z5D/s-l500.jpg",
        "countryCode": "US"
      }
    ]
  }
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

一个请求,一种响应结构。

你发送的每个字段和收到的每个字段,都附有真实示例。

最近验证于 2026-11-14 · 可用率和延迟按 30d 统计

请求体

JSON,POST 到这个接口。

  • querystring

    iphone 13 pro

    已售物品的搜索关键词(例如 iphone 13 pro)。

  • categoryIdstring

    可选,在其中搜索的 eBay 数字类目 ID(例如 9355 表示 Cell Phones & Smartphones,9394 表示 Cell Phone Accessories)。

  • conditionenum

    物品成色筛选(例如 used)。

  • endDatestring

    只返回在此日期或之前售出的商品(含当天),格式为 YYYY-MM-DD(例如 2026-09-15)。此限制在每页获取后才应用,因此即使 hasMore 仍为 true,某一页的商品也可能少于 limit 条,甚至为空:请持续请求下一页,直到 hasMore 为 false。

  • freeShippingboolean

    当前数据源不支持:只接受 false(不筛选);true 会被拒绝,不扣费。

  • limitinteger

    3

    Maximum number of results to return (1-60, default 60).

  • listingTypeenum

    限定刊登形式;省略或使用 all 表示两者都包含(例如 auction 表示仅拍卖成交)。

  • maxPricenumber

    可选,最高成交价,以站点币种计(例如 500)。

  • minPricenumber

    可选,最低成交价,以站点币种计(例如 200)。

  • pageinteger

    结果页码,从 1 开始。配合输出中的 hasMore 分页;翻页时请保持 query、筛选条件和 limit 不变,因为 limit 决定每页大小。

  • returnsAcceptedboolean

    当前数据源不支持:只接受 false(不筛选);true 会被拒绝,不扣费。

  • sellerstring

    当前数据源不支持:设置了此参数的请求会被拒绝,不扣费。

  • siteenum

    要搜索的 eBay 国家站点。已售商品目前只覆盖美国。

  • sortenum

    ended_recently

    结果排序方式;省略时为 ended_recently(例如 price_high 表示按成交价加运费从高到低排序)。

  • startDatestring

    只返回在此日期或之后售出的商品(含当天),格式为 YYYY-MM-DD(例如 2026-09-01)。

你发送。 一个简短的 JSON 请求体。显示的值只是示例,请换成你自己的。

响应

JSON,每个字段一个示例值。

datadata
  • hasMoreboolean

    true

    True when another results page exists. With endDate set a page can be short or empty while this is still true; request page + 1 to continue.

each itemdata.items[]

Sold listing records: title, sold price, sale date, condition, seller, and item URL. Populated whenever the provider has data for the entity.

  • bestOfferAcceptedboolean

    true

    True when eBay marked the sale as Best Offer accepted. Absent when the source could not tell.

  • bidCountinteger

    Number of bids the listing received, for auction sales.

  • conditionstring

    Used - Very Good

    Item condition as listed (e.g. Pre-Owned).

  • countryCodestring

    US

    ISO country code of the eBay marketplace the sale happened on.

  • epidstring

    241596325

    eBay catalog product identifier (ePID), when the listing is matched to a catalog product.

  • imagestring

    https://i.ebayimg.com/images/g/9dEAAOSwqxhk3z5A/s-l500.jpg

    Primary listing image URL. Populated whenever the provider has data for the entity.

  • imagesstring[]

    All listing image URLs, primary first.

  • itemIdstring

    196234871203

    eBay item identifier. Populated whenever the provider has data for the entity.

  • listingTypestring

    Fixed price

    Sale format: Auction or Fixed price.

  • sellerFeedbackCountinteger

    12043

    Seller's lifetime feedback count. Populated whenever the provider has data for the entity.

  • sellerFeedbackPercentnumber

    99.1

    Seller's positive-feedback percentage. Populated whenever the provider has data for the entity.

  • sellerUsernamestring

    cellphonevault

    Seller's eBay username. Populated whenever the provider has data for the entity.

  • shippingCoststring

    $0.00

    Shipping the buyer paid, in the site currency (e.g. "$5.55"; "$0" is free shipping).

  • soldCurrencystring

    USD

    ISO currency code of the sold price (e.g. USD).

  • soldPricenumber

    389

    Final sold price in the site currency. When bestOfferAccepted is true this is the listing's asking price: eBay does not publish the accepted offer amount.

  • soldUtcnumber

    1790467200

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • titlestring

    Apple iPhone 13 Pro 256GB Sierra Blue Unlocked - Very Good

    Listing title as it appeared on eBay. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.ebay.com/itm/196234871203

    Canonical listing URL. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

你收到。 字段有名称、有类型,无论哪个数据源响应,结构都一样。

常见问题

关于 eBay 已售商品 API

AnyAPI 的 eBay 已售商品 API 只需一次 POST 请求 /v1/run/ebay.sold_listings,就以统一格式的 JSON 返回 eBay 数据。按任意关键词获取最近售出的 eBay 商品,可选价格区间、成色、类目、售出日期和排序筛选,逐页返回(成交价、售出日期、成色、卖家、物品详情);非常适合做定价调研。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$3 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 eBay 已售商品 API 调用中有 99.8% 成功,响应时间中位数为 1.7 秒,共测量 11,335 次调用。

费用:每千次请求 US$3 起,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

按任意关键词获取最近售出的 eBay 商品,可选价格区间、成色、类目、售出日期和排序筛选,逐页返回(成交价、售出日期、成色、卖家、物品详情);非常适合做定价调研。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 eBay 已售商品 API 调用中有 99.8% 成功,响应时间中位数为 1.7 秒,共测量 11,335 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。

可以。新的 AnyAPI 账户自带 US$0.10 免费余额,无需绑卡,足够调用 33 次 eBay 已售商品,每次 US$0.003。

AnyAPI 会在同一个请求中依次尝试它的 2 个数据源,从最便宜的开始,所以一个数据源宕机不会让你的调用失败。

向 https://api.getanyapi.com/v1/run/ebay.sold_listings 发送 POST 请求,在 “Authorization: Bearer” 请求头中放入你的 AnyAPI 密钥,并以 JSON 请求体传入参数。同一个密钥和同一个钱包适用于所有 AnyAPI 接口。

不需要。你向一个预付费的 AnyAPI 余额充值美元,每个请求从中扣费。没有月度套餐,也没有最低消费,同一个余额可用于所有 AnyAPI 接口。

有。TypeScript 用 npm 安装 @getanyapi/sdk,Python 用 pip 安装 getanyapi。两者都用同一个密钥调用所有 AnyAPI 接口,任何 HTTP 客户端也都可以。

可以。智能体可以连接 https://api.getanyapi.com/mcp 上的 AnyAPI MCP 服务器,或者向 https://api.getanyapi.com/agent/signup 发送一次无需认证的 POST 来创建自己的免费试用密钥,再通过 HTTP 调用这个接口。