# eBay Sold Listings Scraper - Sold Prices, Dates & Price Stats (`pomlabs/ebay-sold-listings`) Actor

Get eBay sold (completed) listings by keyword: sold price, sold date, condition, shipping, auction or buy-it-now, bids, location, seller, link and photo, plus a free price summary per keyword (average, median, quartiles, sell-through rate). eBay.de today. $0.002 per listing.

- **URL**: https://apify.com/pomlabs/ebay-sold-listings.md
- **Developed by:** [Pom Labs](https://apify.com/pomlabs) (community)
- **Categories:** E-commerce, Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 sold listing delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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 Scraper - Sold Prices, Dates & Price Analysis

Find out **what things actually sell for on eBay**. Give keywords, get the **sold** (completed) listings with the real sold price, the sold date, condition, shipping, auction, buy-it-now or best offer (and whether the offer was accepted), bids, item location, seller, seller feedback and seller type, product id, link and full-size photo, on **8 eBay sites**.

Each keyword also gets a **free analysis row**: the **recommended price** with outliers left out, the price range, a confidence level, **sales per day**, the weekly median price with the **price trend**, auction vs fixed-price and new vs used medians, the share of accepted best offers and the **sell-through rate**. That is what resellers, appraisers and pricing tools look for.

Optional: open the **item page** of the first listings for the category path, item specifics (brand, model, storage...), product ids (GTIN, MPN), quantity sold, watchers and the return policy.

You pay only for listings delivered. Keywords with no results, blocked pages and unavailable sites are listed with the reason and never charged.

> **Sites:** all 13: eBay.com, eBay.co.uk, eBay.de, eBay.fr, eBay.it, eBay.es, eBay.ca, eBay.com.au, eBay.at, eBay.ch, eBay.ie, eBay.nl and eBay.pl.

### What you get

For each listing:

- Item ID (`itemId`, also `listingId`), title, link, photo and **full-size photo**
- **Sold price** (number and the text eBay shows), currency, **sold date** (`soldDate`, `soldAt`)
- `priceIsListedPrice`, `bestOfferAccepted`, `hasBestOffer`: whether the price is the listed one or an accepted offer (eBay shows accepted offers struck through)
- Condition, buying format (`auction`, `buy_it_now`, `best_offer`) and number of bids
- Shipping cost, currency and type (`free`, `paid`, `not_specified`)
- Item location; seller name, positive feedback %, feedback count and **seller type** (`private` or `business`, where eBay shows it)
- Product rating and eBay product id (`epid`) when the card has them
- The keyword, the site, the total results eBay reports and the time it was read
- With `includeDetails`: `categoryPath`, `categoryId`, `breadcrumbs`, `itemSpecifics`, `conditionDetails`, `productDetails` (GTIN, MPN, brand, model), `quantitySold`, `quantityAvailable`, `watchers`, `returnsAccepted`, `freeReturns`, `returnsText` and the seller description link
- With `includeRaw`: every text of the listing card

For each keyword (free, optional):

- `recommendedPrice`, `priceRange`, `outliersRemoved`, `confidence` and `confidenceNote`
- Average, median, min, max, 25th and 75th percentile prices
- `salesPerDay`, `sampleDays`, `weeklyMedianPrice` and `priceTrendPercent`
- `medianPriceAuction`, `medianPriceFixedPrice`, `medianPriceNew`, `medianPriceUsed`, `bestOfferAcceptedShare`
- Sold total, completed total and **sell-through rate** (sold / completed)

### Use cases

- **Reselling and flipping:** check the real resale value before you buy at a garage sale, an auction or a liquidation lot.
- **Pricing your own listings:** start from the recommended price, and see whether auctions or fixed price sell higher.
- **Market research:** sales per day, weekly price trend and sell-through show how fast a product moves and where the price is going.
- **Monitoring:** schedule the run with `deltaMode` and get only the sales you have not received before, never charged twice.
- **Appraisal and insurance:** document the market value of used items with dated sales.
- **Catalog building:** item specifics and GTIN/MPN from the item page.

### Input

| Field | Type | Description |
|---|---|---|
| `keywords` | array of strings | What to search, one per line (also `searchQueries`, `query`, `search`) |
| `site` | string | `com`, `co.uk`, `de` (default), `fr`, `it`, `es`, `ca`, `com.au`, `at`, `ch`, `ie`, `nl`, `pl` |
| `maxItems` | integer | Listings per keyword, 1 to 2,000. Default `50` (also `count`, `maxItemsPerQuery`) |
| `soldWithinDays` | integer | Only sales of the last N days (also `daysToScrape`, `days`) |
| `condition` | array | `new`, `open_box`, `refurbished`, `used`, `for_parts`. Empty: any |
| `minPrice`, `maxPrice` | number | Price range, in the site currency |
| `sort` | string | `endedRecently` (default), `priceHigh`, `priceLow`, `bestMatch`, `newlyListed`, `endingSoonest`, `distanceNearest` |
| `buyingFormat` | string | `all`, `auction`, `buyItNow`, `acceptsOffers` |
| `itemLocation` | string | `default`, `domestic`, `worldwide` |
| `sellerCountry` | string | Only items located in this country (US, GB, DE, CN, JP...) |
| `postalCode` | string | Delivery postal code (shipping costs and distance sort) |
| `sellerType` | string | `any`, `private`, `business` (EU sites) |
| `categoryId` | string | eBay category number |
| `aspectFilter` | object | Item specifics, e.g. `{"Brand": "Apple", "Storage Capacity": ["128 GB"]}` |
| `freeShippingOnly` | boolean | Only free shipping |
| `exactMatch` | boolean | Exact phrase |
| `excludeKeywords` | array | Words to leave out (case, box, broken...) |
| `skipOtherModels` | boolean | Drop listings that name another model than the keyword (PS4 when you searched PS5) |
| `soldOnly` | boolean | `true` (default): only sold. `false`: all completed listings (also `includeCompletedListings`) |
| `includeSummary` | boolean | The free analysis row per keyword. Default `true` |
| `deltaMode` | boolean | Only sales not delivered before for the same keyword, site and filters (also `onlyNewSales`); `deltaStateKey` keeps separate monitors |
| `includeDetails`, `maxDetails` | boolean, integer | Open the item page of the first N listings (default 10) |
| `includeRaw` | boolean | Every text of the listing card |
| `maxWaitSeconds` | integer | Stop and return what was read after N seconds |

```json
{ "keywords": ["nintendo switch oled"], "site": "de", "maxItems": 50, "condition": ["used"], "soldWithinDays": 30 }
```

The input names of the other eBay sold scrapers (`searchQueries`, `count`, `daysToScrape`, `onlyNewSales`, `includeCompletedListings`...) work too, so you can switch without changing your input.

### Output

A sold listing:

```json
{
  "itemId": "147687974443",
  "sold": true,
  "title": "Nintendo Switch OLED Bundle - White Console, Box, Game, Dock, Grip, Power, HDMI",
  "soldPrice": 409,
  "currency": "AUD",
  "priceText": "AU $409,00",
  "soldDate": "2026-11-25",
  "condition": "Gebraucht",
  "shippingCost": 54.68,
  "shippingCurrency": "EUR",
  "listingType": null,
  "bids": null,
  "itemLocation": "aus Australien",
  "seller": "ultimate_hub",
  "sellerFeedback": "99,8% positiv (1.079)",
  "url": "https://www.ebay.de/itm/147687974443",
  "image": "https://i.ebayimg.com/images/g/GBIAAeSwhCJq~umM/s-l500.jpg",
  "keyword": "nintendo switch oled",
  "site": "de",
  "status": "ok"
}
```

The summary row:

```json
{ "type": "summary", "keyword": "nintendo switch oled", "site": "de", "currency": "USD", "listingsInSample": 50, "pricesUsed": 19, "averagePrice": 179.09, "medianPrice": 180, "minPrice": 11.99, "maxPrice": 358.03, "p25Price": 149.59, "p75Price": 240, "soldTotal": 218, "completedTotal": 247, "sellThroughRate": 0.883, "status": "ok"}
```

Prices are shown as eBay shows them, in the seller's currency when the seller is abroad. The summary uses the listings in the most common currency of the sample (`pricesUsed`).

### Pricing

**$0.002 per listing** on the free plan, less on paid Apify plans (Bronze $0.0018, Silver $0.0016, Gold and up $0.0015). Item page details: **$0.004 per enriched listing** (Bronze $0.0036, Silver $0.0032, Gold and up $0.003), only when it opened. The analysis row, errors and empty keywords are free. No start fee. Set a maximum cost per run in the Apify console and the Actor stops cleanly at it.

### FAQ

**Do I need an eBay account?** No.

**Why are some prices in another currency?** eBay shows sales of sellers abroad in their currency, and eBay.com may convert prices to the currency of the reading location. The analysis uses the most common currency of the sample.

**Are these real sale prices?** Yes: the price eBay shows on the sold listing, as on the website.

# Actor input Schema

## `keywords` (type: `array`):

What to search, one per line (like the eBay search box). Each keyword is searched with the Sold filter on. Also accepted as searchQueries, query or search.

## `site` (type: `string`):

eBay site. Prices come in the site's currency (ebay.com may show them converted to the currency of the reading location).

## `maxItems` (type: `integer`):

Maximum listings per keyword (1-2,000). Also accepted as count or maxItemsPerQuery.

## `condition` (type: `array`):

Only these conditions. Empty: any.

## `minPrice` (type: `integer`):

Only listings sold at or above this price (site currency).

## `maxPrice` (type: `integer`):

Only listings sold at or below this price (site currency).

## `sort` (type: `string`):

Order of the results.

## `soldOnly` (type: `boolean`):

On: only listings that sold. Off: all completed listings (sold and unsold).

## `includeSummary` (type: `boolean`):

Add one free row per keyword with average, median, min, max and quartile prices, sold and completed totals and the sell-through rate.

## `soldWithinDays` (type: `integer`):

Only sales of the last N days (also daysToScrape or days). Newest-first reading stops at the first older page.

## `buyingFormat` (type: `string`):

Auctions, fixed price or listings that accepted offers.

## `itemLocation` (type: `string`):

Where the item ships from, relative to the site.

## `sellerCountry` (type: `string`):

Only items located in this country: 2-letter code (US, GB, DE, FR, IT, ES, CA, AU, CN, JP, HK...) or eBay's country number.

## `postalCode` (type: `string`):

Your postal code, for shipping costs and the distance sort.

## `sellerType` (type: `string`):

Private or business sellers. Each listing also says sellerType where eBay shows it.

## `categoryId` (type: `string`):

eBay category number (the 625 in ebay.com/b/Cameras/625). subcategoryId works too.

## `aspectFilter` (type: `object`):

Item specifics as on eBay's left filters, e.g. {"Brand": "Apple", "Storage Capacity": \["128 GB", "256 GB"]}.

## `freeShippingOnly` (type: `boolean`):

Only listings with free shipping.

## `exactMatch` (type: `boolean`):

Search the keyword as an exact phrase.

## `excludeKeywords` (type: `array`):

Leave out listings with these words (case, box, broken...).

## `skipOtherModels` (type: `boolean`):

Drop listings that name a different model than the one in your keyword (PS4 when you searched PS5).

## `deltaMode` (type: `boolean`):

Only sales not delivered to you before for the same keyword, site and filters (also onlyNewSales). Schedule the run to get only new sales, never charged twice.

## `deltaStateKey` (type: `string`):

Optional: keep separate monitors for the same keyword.

## `includeDetails` (type: `boolean`):

Also open the item page of the first listings: category path, item specifics, product ids (GTIN, MPN, brand), quantity sold and available, watchers, returns. Charged per enriched listing.

## `maxDetails` (type: `integer`):

How many listings get the item page (eBay allows about 12 pages a minute).

## `includeRaw` (type: `boolean`):

Add every text of the listing card (field raw).

## `maxWaitSeconds` (type: `integer`):

Stop and return what was read after this many seconds.

## Actor input object example

```json
{
  "keywords": [
    "nintendo switch oled"
  ],
  "site": "de",
  "maxItems": 50,
  "sort": "endedRecently",
  "soldOnly": true,
  "includeSummary": true,
  "buyingFormat": "all",
  "itemLocation": "default",
  "sellerType": "any",
  "freeShippingOnly": false,
  "exactMatch": false,
  "skipOtherModels": false,
  "deltaMode": false,
  "includeDetails": false,
  "maxDetails": 10,
  "includeRaw": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "keywords": [
        "nintendo switch oled"
    ],
    "site": "de",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("pomlabs/ebay-sold-listings").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 = {
    "keywords": ["nintendo switch oled"],
    "site": "de",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("pomlabs/ebay-sold-listings").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 '{
  "keywords": [
    "nintendo switch oled"
  ],
  "site": "de",
  "maxItems": 50
}' |
apify call pomlabs/ebay-sold-listings --silent --output-dataset

```

## MCP server setup

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

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/YScDrx3CLEziwSE5z/builds/idkW2ZEsvFxepW1lM/openapi.json
