Skip to content

About

Python, JavaScript and cURL examples for eBay sold prices, comparable sales analytics and CSV exports through Apify.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

eBay Sold Comps API

Collect comparable eBay sales with the hosted Actor, then export listing prices and dates to JSON or CSV. Use the examples to connect your resale, inventory, or pricing workflow. Open the Actor on Apify.

What this repository helps you do

Search sold listings by keyword or product identifier across 11 marketplaces. Compare sold prices within a marketplace and condition, and read the Actor's median, mean and percentile summary in COMP_SUMMARY.

Example result

The sample Dataset contains three rows from a five-result run. A row includes the listing ID, displayed sale price, currency and sold date when available. The CSV shows the corresponding spreadsheet export.

Run without code

  1. Open the hosted Actor.
  2. Enter a keyword or product identifier, select a marketplace, and set the maximum results per query.
  3. Start the run, then open its Dataset and export JSON or CSV.

See the no-code guide for where to find price summaries.

Try it with Apify's free plan

Check Apify plans for the current included usage. A five-result example and a run spending cap make it easier to start with a small test.

Quick start for developers

Install the pinned client and set APIFY_API_TOKEN in your shell using your own Apify token.

python -m pip install -r examples/python/requirements.txt
python examples/python/collect_sold_comps.py

Pass --run-id with an existing run ID to read results without a new start.

Input example

The complete example searches for iphone 15 pro in the US and caps delivery at five results. The input reference lists all settings.

Request examples

Output fields

Field Meaning
resultId Marketplace and eBay item identity
soldPrice, currency Displayed price and currency
soldDate Parsed sale date when available
condition, buyingFormat Listing condition and sale format when available
shippingText Shipping wording from the listing
keyword Search term or identifier associated with the row

See the output reference for the complete field list, summary and limits.

Common use cases

  • Compare used items with similar model, capacity and condition.
  • Collect comparables for a product catalog.
  • Export a saved Dataset for spreadsheet analysis.

Compare used electronics with sold prices

Start with a precise model, add an available condition filter, and compare rows in the same marketplace and currency. Review titles before comparing, since a broad keyword can also match accessories.

Export completed eBay sales to CSV

Pass an existing Dataset ID to the export example. This reads the existing rows through the API. Use the use-case guide for more examples.

FAQ

Read the FAQ for sold-price interpretation, missing dates and partial collections.

Limits and pricing

Each query requests up to its configured maximum. Availability, query overlap and source limits can reduce the number of unique results. Apify charges per unique sold listing saved to the Dataset. Review the current Pricing tab on the Actor page.

Hosted version

Run eBay Sold Comps Scraper & Price Analytics on Apify.

Responsible use

Use exported data for authorized analysis, respect applicable terms, and handle seller data appropriately.

Support

Use GitHub Issues for integration examples or the Actor page for questions about runs.

License

The integration examples use the MIT license.

About

Python, JavaScript and cURL examples for eBay sold prices, comparable sales analytics and CSV exports through Apify.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors