# eBay Sold Listings & Completed Market Comps Scraper (`keenedigitalstudio/ebay-sold-listings-scraper`) Actor

Extract eBay sold listings, completed auction comps, market price statistics (median, average, min, max), conditions, and item URLs across US, UK, DE, CA, and AU marketplaces. $1.25/1,000 results ($0.00125/item) with $0 start fee. Built by Keene Digital Studio.

- **URL**: https://apify.com/keenedigitalstudio/ebay-sold-listings-scraper.md
- **Developed by:** [Keene Digital Studio](https://apify.com/keenedigitalstudio) (community)
- **Categories:** E-commerce, Business, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## eBay Sold Listings & Completed Market Comps Scraper

Extract **eBay sold listings, completed auction sales, and market price statistics (`medianSoldPrice`, `averageSoldPrice`, `minSoldPrice`, `maxSoldPrice`)** across 8 regional eBay marketplaces (`US`, `UK`, `DE`, `CA`, `AU`, `FR`, `IT`, `ES`).

Built by **Keene Digital Studio**.

***

### Why Choose This Scraper Over Legacy Incumbents?

| Feature | **Keene Digital Studio (`ebay-sold-listings-scraper`)** | `caffein.dev/ebay-sold-listings` |
|---|---|---|
| **Pricing** | **$1.25 / 1,000 results** (`$0.00125` / item) | $4.00 / 1,000 results + $0.05 / 1,000 starts |
| **Start Fee** | **$0.00** | $0.00005 per start |
| **Architecture** | Multi-source eBay Sold SRP + PriceCharting Verified Completed eBay Sales + Regional PicClick Index | Single-source HTML scraper prone to SplashUI blocks |
| **Market Valuation Comps** | Automatically computes `medianSoldPrice`, `averageSoldPrice`, `minSoldPrice`, `maxSoldPrice`, and `compSampleSize` | Raw items only |
| **Regional Marketplaces** | `US`, `UK`, `DE`, `CA`, `AU`, `FR`, `IT`, `ES` | Limited regional support |

***

### Key Capabilities

1. **Multi-Source Resilience (No Paid Proxies Required):**
   - **Direct eBay Sold SRP (`LH_Sold=1&LH_Complete=1`):** Used automatically when an optional residential proxy is supplied.
   - **PriceCharting Completed eBay Sales Engine:** Extracts verified historical completed eBay sales (`<tr id="ebay-...">`) with exact sale dates (`YYYY-MM-DD`), eBay item IDs, condition tiers (`Used`, `Complete in Box`, `Brand New`, `Graded`), and accepted Best Offer prices.
   - **Regional PicClick eBay Index:** Extracts live eBay marketplace comps, watcher velocity (`watchersOrBids`), high-resolution `picclickimg.com` images, and top-rated seller indicators across `.com`, `.co.uk`, `.de`, `.ca`, `.com.au`, `.fr`, `.it`, and `.es`.
2. **Instant Resale Valuation Comps:** Every item includes computed query-level summary metrics (`medianSoldPrice`, `averageSoldPrice`, `minSoldPrice`, `maxSoldPrice`, `compSampleSize`).
3. **Price & Condition Filtering:** Filter by `ALL`, `NEW`, or `USED`, plus optional `minPrice` and `maxPrice` bounds.

***

### Input Example

```json
{
  "queries": ["PlayStation 5 Console", "LEGO Star Wars 75313"],
  "marketplace": "US",
  "conditionFilter": "ALL",
  "maxItemsPerQuery": 25,
  "minPrice": 0,
  "maxPrice": 0
}
```

### Output Example

```json
{
  "query": "LEGO Star Wars 75313",
  "marketplace": "US",
  "currency": "USD",
  "itemId": "327368716819",
  "title": "LEGO Star Wars: AT-AT (75313) Used",
  "soldPrice": 400.0,
  "originalListedPrice": null,
  "shippingCost": 0.0,
  "totalPrice": 400.0,
  "priceFormatted": "$400.00",
  "dateSold": "2026-09-22",
  "condition": "Pre-Owned",
  "buyingFormat": "Sold Completed (eBay)",
  "watchersOrBids": null,
  "topRatedSeller": true,
  "itemUrl": "https://www.ebay.com/itm/327368716819",
  "imageUrl": "https://storage.googleapis.com/images.pricecharting.com/...",
  "medianSoldPrice": 700.0,
  "averageSoldPrice": 698.33,
  "minSoldPrice": 400.0,
  "maxSoldPrice": 1259.95,
  "compSampleSize": 25,
  "sourceEngine": "pricecharting-ebay-completed-sales",
  "elapsedMs": 1120,
  "scrapedAt": "2026-10-26T23:58:00+00:00"
}
```

# Actor input Schema

## `queries` (type: `array`):

List of product keywords, model numbers, UPCs, or collectibles to extract eBay sold listings and market comps for.

## `marketplace` (type: `string`):

Target regional eBay marketplace (US, UK, DE, CA, AU, FR, IT, ES).

## `conditionFilter` (type: `string`):

Filter extracted comps by item condition (ALL, NEW, USED).

## `maxItemsPerQuery` (type: `integer`):

Maximum number of sold listings and market comps to extract per search query (1 to 200).

## `minPrice` (type: `number`):

Exclude items below this price (0 for no minimum).

## `maxPrice` (type: `number`):

Exclude items above this price (0 for no maximum).

## `proxyConfiguration` (type: `object`):

Optional proxy settings. Not required — multi-source eBay Sold SRP + PriceCharting Completed eBay Sales + Regional PicClick engine works out-of-the-box without proxies.

## Actor input object example

```json
{
  "queries": [
    "PlayStation 5 Console",
    "LEGO Star Wars 75313"
  ],
  "marketplace": "US",
  "conditionFilter": "ALL",
  "maxItemsPerQuery": 25,
  "minPrice": 0,
  "maxPrice": 0
}
```

# Actor output Schema

## `dataset` (type: `string`):

Full dataset of extracted eBay sold items and market comps.

## `overview` (type: `string`):

Tabular overview of sold prices, conditions, dates, and market comp statistics.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "PlayStation 5 Console",
        "LEGO Star Wars 75313"
    ],
    "marketplace": "US",
    "conditionFilter": "ALL",
    "maxItemsPerQuery": 25,
    "minPrice": 0,
    "maxPrice": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("keenedigitalstudio/ebay-sold-listings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": [
        "PlayStation 5 Console",
        "LEGO Star Wars 75313",
    ],
    "marketplace": "US",
    "conditionFilter": "ALL",
    "maxItemsPerQuery": 25,
    "minPrice": 0,
    "maxPrice": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("keenedigitalstudio/ebay-sold-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "PlayStation 5 Console",
    "LEGO Star Wars 75313"
  ],
  "marketplace": "US",
  "conditionFilter": "ALL",
  "maxItemsPerQuery": 25,
  "minPrice": 0,
  "maxPrice": 0
}' |
apify call keenedigitalstudio/ebay-sold-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,keenedigitalstudio/ebay-sold-listings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/a8M1fr9y8jRbMzX01/builds/M9QbEJcujiOvyqFbS/openapi.json
