ScavioScavio
ToolsPricing
Sign InsGet Startedg
Quick StartAPI & SDKsEcosystem

eBay

eBay Search API

Search live eBay listings - or, with sold set to true, completed listings that actually sold - and get back price, condition, bids, shipping, location, seller and feedback as JSON. Send query, seller, or both: a seller with no keyword pages that seller's entire catalogue. Costs 1 credit per request.

POST/api/v1/ebay/search

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).

Body

application/json
querystring

Keyword to search, 1-500 characters. Optional only because a seller-only search is valid; one of query or seller must be present.

Example: wireless headphones

sellerstring

Restrict results to one seller's listings, 1-64 characters, as in ebay.com/usr/<name>. Can be sent with no query at all - this, not the seller endpoint, is how you enumerate a seller's inventory.

Example: belkin-official-store

pageinteger

Results page, 1-based. Minimum 1.

sort_byenum<string>default:best_match

Result sort order. eBay's 'Distance: nearest first' is deliberately unsupported: it ranks against our proxy exit, not against the caller.

  • best_match — eBay's default relevance ranking.
  • ending_soonest — Auctions closing first.
  • newly_listed — Most recently listed first.
  • price_low — Price + shipping, lowest first.
  • price_high — Price + shipping, highest first.
min_pricenumber

Minimum price, inclusive. Must be 0 or greater.

max_pricenumber

Maximum price, inclusive. Must be 0 or greater.

conditionenum<string>

Item condition filter.

  • new — Brand new.
  • open_box — New, opened packaging.
  • refurbished — eBay's parent refurbished condition, not one of its three graded tiers (excellent / very good / good).
  • used — Pre-owned.
  • for_parts — For parts or not working.
buying_formatenum<string>

Listing format filter.

  • auction — Auction listings.
  • buy_it_now — Fixed-price listings.
  • best_offer — Fixed price accepting offers.
free_shippingboolean

Only listings with free shipping.

soldboolean

Search completed listings that actually SOLD instead of live inventory - the price-research view. eBay publishes no headline count for it, so total_results comes back null on this view.

Example: true

category_idstring

eBay category id. Must be numeric; a non-numeric value is rejected with a 400. An unrecognised numeric id is NOT an error - eBay returns the unfiltered set under a 200.

Example: 112529

per_pageenum<integer>default:60

Listings per page. eBay accepts only 60, 120 or 240 and silently falls back to 60 for anything else, so treat it as a closed set.

  • 60 — Default page size.
  • 120 — Double page.
  • 240 — Maximum page.

Request

from scavio import ScavioClient

client = ScavioClient(api_key="sk_live_your_key")

# Price research: completed listings that actually sold
results = client.ebay.search(query="wireless headphones", sold=True)
print(results)

Response

"query": "wireless headphones",
"url": "https://www.ebay.com/sch/i.html?_nkw=wireless+headphones",
"page": 1,
"total_results": 170000,
"count": 61,
},
"response_time": 3966,
"credits_used": 1,
"credits_remaining": 4820
}
PreviousReddit Trending SearchesNexteBay Product
ScavioScavio

One scraper API for every social, search and ecommerce platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy