ebaysoldlistingsDOCS

Quickstart

Make your first eBay sold listings request in cURL, JavaScript or Python.

Create a key in the dashboard, then search completed sales for a keyword. The same request works from any language.

curl "https://api.ebaysoldlistingsapi.com/scrape?keyword=nintendo+switch+oled" \
  -H "Authorization: Bearer YOUR_API_KEY"

You get back up to 240 sales, newest first by default. Each row is one completed sale; see Response for every field.

Tip.

Set your HTTP client timeout to at least 90 seconds. Most searches return in a few seconds, but a hard search can take longer while we retry it for you. See Timeouts and retries.

Next steps

  • Narrow results with parameters: marketplace, condition, price band, dates.
  • Get the price buyers really paid on accepted Best Offers.
  • Price a whole catalog in one batch job.
  • Full runnable examples for Python, Node.js/TypeScript and Google Sheets are on GitHub.

On this page