eBay API

eBay Sold listings API

Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research.

$3.00/1k req, pay per request, no subscription.

What the API returneditems[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 more fields
}
Uptime
99.99%
30d · 20,528 calls
Requests
20,529
30d · weekly, last 12 wks
Response
1.7s
median · 30d

Pricing and providers

eBay Sold listings API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$30.00
$3.00/1k req, only for what you use. No monthly plan.
Your first 33 requests are free with the $0.10 starting balance.

Try it

Get eBay sold listings in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 22 of 23 fields. See every field

{
  "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"
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    iphone 13 pro

    Search keyword for sold items (e.g. iphone 13 pro).

  • categoryIdstring

    Optional numeric eBay category id to search within (e.g. 9355 for Cell Phones & Smartphones, 9394 for Cell Phone Accessories).

  • conditionenum

    Item condition filter (e.g. used).

  • endDatestring

    Only return listings sold on or before this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-15). This bound is applied to each page after it is fetched, so a page can hold fewer than limit listings, or none, while hasMore is still true: keep requesting the next page until hasMore is false.

  • freeShippingboolean

    Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.

  • limitinteger

    3

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

  • listingTypeenum

    Restrict to a listing format; omit or use all for both (e.g. auction for auction sales only).

  • maxPricenumber

    Optional maximum sold price in the site currency (e.g. 500).

  • minPricenumber

    Optional minimum sold price in the site currency (e.g. 200).

  • pageinteger

    1-based results page. Use with hasMore in the output to paginate, and keep query, filters, and limit the same while walking pages, because limit sets the page size.

  • returnsAcceptedboolean

    Not supported by the current sources: only false (no filter) is accepted; true is refused without charge.

  • sellerstring

    Not supported by the current sources: a request that sets it is refused without charge.

  • siteenum

    eBay country site to search. Sold-listing coverage is currently US only.

  • sortenum

    ended_recently

    Result sort order; omitted means ended_recently (e.g. price_high sorts by highest sold price plus shipping first).

  • startDatestring

    Only return listings sold on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-09-01).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

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.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the eBay Sold listings API

The AnyAPI eBay Sold listings API returns eBay sold listings data as normalized JSON from one POST call to /v1/run/ebay.sold_listings. Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $3 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of eBay sold listings calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 20,528 measured calls.

It costs from $3 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Retrieve recently sold eBay listings for any keyword with optional price-range, condition, category, sold-date, and sort filters, page by page (sold price, sale date, condition, seller, item details); ideal for pricing research. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of eBay sold listings calls through AnyAPI succeeded, with a median response time of 1.7 seconds across 20,528 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 33 eBay Sold listings calls at $0.003 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/ebay.sold_listings with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.