# eBay Sold Listings Scraper | Sold Prices, Dates & Shipping (`genial_candlestand/ebay-sold-listings-scraper`) Actor

Get eBay sold listings by keyword: sold price, sold date, shipping cost, total price, condition, bids, Best Offer flag and seller. 13 eBay sites, date, price and condition filters, optional unsold listings. No login.

- **URL**: https://apify.com/genial_candlestand/ebay-sold-listings-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 6 total users, 3 monthly users, 84.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 sold listings

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/running/actors-in-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 & Shipping

![eBay Sold Listings Scraper | Sold Prices, Dates & Shipping](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/ebay-sold-listings-scraper-banner-7df7d2ca.png)

Get eBay listings that actually sold, one row per item: sold price and currency, sold date, shipping cost, total price, condition, auction or Buy It Now format, bids, the seller and the item location. Search by keyword on 13 eBay sites. No login or API key is needed.

### What does eBay Sold Listings Scraper do?

You give it one or more keywords, like you would type them on eBay, and it returns the items that sold recently for each keyword, newest first. Every row carries the sold price, sold date, shipping, total price, condition, Best Offer flag and seller details, so you can price stock, build comps or track what really sells.

It is made for resellers, repricing tools, collectors, market researchers and AI agents that need "what does X sell for on eBay". You can also ask for listings that ended without a sale, to compute sell-through.

### How to scrape eBay sold listings

![How eBay Sold Listings Scraper works: Requests eBay's recent-sales search endpoint for each keyword; Reads pages of up to 240 listings, newest sale first; Retries blocked pages on the same session, up](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/ebay-sold-listings-scraper-how-46b07037.png)

1. Open the actor in Apify Console and enter your keywords in **Search keywords**, one per line (eBay operators such as `-case` or `"exact phrase"` work).
2. Pick the **eBay site** (ebay.com by default) and, optionally, the date window, condition, listing type, price range or category.
3. Set **Max results per keyword** and **Max results in total**.
4. Click **Start** and download the dataset as JSON, CSV or Excel, or read it through the API.

### How much does it cost to scrape eBay sold listings?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Sold listing | $3.00 per 1,000 | $2.70 per 1,000 | $2.40 per 1,000 | $2.10 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 240 rows in 7 s.

You pay per sold listing row: $0.003 per row (about $3.00 per 1,000 rows) plus a tiny actor start fee of $0.00005. Rows outside your `soldWithinDays` window and duplicates are free. You only pay for the rows you get.

| Scenario | Rows | Cost on the Free plan |
|---|---|---|
| One keyword, default limit (240 rows) | 240 | about $0.72 |
| Three keywords, 240 rows each | 720 | about $2.16 |
| One keyword, 1,000 rows | 1,000 | about $3.00 |
| Ten keywords, 500 rows each | 5,000 | about $15.00 |

### Input

![eBay Sold Listings Scraper input example: Search keywords, eBay site, Max results per keyword, Max results in total, Sort by, Include unsold ended listings, Condition](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/ebay-sold-listings-scraper-input-e91ae16b.png)

Only `queries` is required. Main fields:

| Field | Meaning |
|---|---|
| `queries` | Keywords, one search per line |
| `marketplace` | ebay.com, ebay.co.uk, ebay.de, ebay.com.au, ebay.ca, ebay.fr, ebay.it, ebay.es, ebay.nl, ebay.pl, ebay.ie, ebay.at or ebay.ch |
| `maxItemsPerQuery` / `maxItems` | Row limits per keyword (default 240) and per run (default 1000) |
| `soldWithinDays` | Keep only items sold in the last N days (1–365) |
| `sort` | `endedRecently` (default), `priceLowest`, `priceHighest` |
| `includeUnsold` | Also return listings that ended without a sale |
| `condition`, `listingType` | New or used; auction or Buy It Now |
| `minPrice`, `maxPrice`, `categoryId` | Price range in the site's currency; eBay category number |
| `proxyConfiguration` | Apify Proxy (default datacenter works) |

Example:

```json
{
  "queries": ["iphone 13 128gb"],
  "marketplace": "ebay.com",
  "soldWithinDays": 30,
  "maxItemsPerQuery": 240
}
```

### What data can you extract from eBay sold listings?

![eBay Sold Listings Scraper output example: Image, Title, Price, Currency, Shipping, Sold on](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/ebay-sold-listings-scraper-output-af6dac15.png)

| Field | Description |
|---|---|
| `price`, `priceMax`, `currency`, `priceText` | Sold price (low and high end for price ranges), currency and the text eBay shows |
| `shippingCost`, `totalPrice` | Shipping and price plus shipping (null when eBay shows no shipping line) |
| `isSold`, `soldDate`, `endedDate` | Sold flag and the date as YYYY-MM-DD |
| `bestOfferAccepted` | True when the sale came through Best Offer; `price` is then the asking price, not the accepted offer |
| `listingFormat`, `bidCount` | `auction` or `fixedPrice`, and bids for auctions |
| `condition`, `itemAttributes`, `epid`, `categoryId` | Condition, key attributes, eBay catalog product and category |
| `sellerName`, `sellerFeedbackPercent`, `sellerFeedbackCount`, `topRatedSeller` | Seller details |
| `location`, `imageUrl`, `title`, `subtitle`, `url` | Item location, image, title and item link |
| `marketplace`, `query`, `position` | Site, the keyword that found the row and its rank |

Example item:

```json
{
  "id": "820312402581",
  "url": "https://www.ebay.com/itm/820312402581?nordt=true",
  "title": "Broken Unlocked Apple iPhone 13 512GB 26.0 Blue MLA03LL/A",
  "price": 169.99,
  "currency": "USD",
  "shippingCost": 0,
  "shippingText": "Free delivery",
  "totalPrice": 169.99,
  "isSold": true,
  "soldDate": "2026-11-04",
  "statusText": "Sold Nov 4, 2026",
  "bestOfferAccepted": false,
  "listingFormat": "fixedPrice",
  "condition": "Parts Only",
  "sellerName": "paymore_santa_clarita",
  "sellerFeedbackPercent": 99.8,
  "sellerFeedbackCount": 4200,
  "topRatedSeller": true,
  "location": "Located in United States",
  "epid": "16074098210",
  "categoryId": "9355",
  "marketplace": "ebay.com",
  "query": "iphone 13 128gb",
  "position": 1
}
```

### Use cases

- **Reseller comps:** check what an item sold for in the last 30 days, with shipping, before you buy or list it.
- **Repricing and inventory tools:** feed recent sold prices by keyword or category into your own pricing logic.
- **Collectors:** follow cards, LEGO sets, watches or sneakers, auctions only if you like, with bid counts.
- **Sell-through research:** turn on unsold listings and compare sold and unsold rows for a product.
- **Cross-market checks:** run the same keyword on several eBay sites and compare prices in local currency.

### Limitations

- The actor reads an undocumented eBay endpoint that serves the same results as the sold search. eBay may change or close it; the run then fails with a clear error instead of returning wrong data.
- eBay shows roughly the last 90 days of sales, and at most 50 pages (about 12,000 rows) per search.
- For Best Offer sales the real accepted price is not public: `price` is the asking price and `bestOfferAccepted` is true.
- Seller fields, `location`, shipping and `epid` can be empty, depending on what eBay shows; this varies by site and by the country of the proxy.
- eBay shows only items that ship to the proxy's country, so results can differ from what you see in your own browser.
- No filter by seller, aspect or postal code, and no item-page details such as UPC or MPN.

### Tips and troubleshooting

- For a recent window use `soldWithinDays` with the default sort `endedRecently`: paging stops early. With a price sort, more pages are read.
- `includeUnsold` cannot be combined with `condition` (new or used); the run fails with a message naming both fields.
- `minPrice` must not be above `maxPrice`; the prices are in the currency of the chosen site.
- Zero rows means eBay found no sold listings for the keyword or all were outside your date window; check the run log warning for the keyword.
- Without Apify Proxy results are incomplete and depend on your server's country; keep the proxy on.
- For exact local results pick a proxy country matching the eBay site.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/ebay-sold-listings-scraper").call(run_input={"queries": ["iphone 13 128gb"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/ebay-sold-listings-scraper').call({"queries": ["iphone 13 128gb"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~ebay-sold-listings-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["iphone 13 128gb"]}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/ebay-sold-listings-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/ebay-sold-listings-scraper"}}}`. Then ask, for example:

- "Get iPhone 13 128gb sold prices on eBay from the last 30 days"
- "Compare auction sale prices of lego 75192 on eBay with bid counts"
- "Show sold and unsold canon ae-1 listings on eBay to estimate sell-through"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Is it legal to scrape eBay sold listings?**<br>
The actor collects publicly visible listing data without logging in. You are responsible for how you use it and for following eBay's terms and the laws that apply to you. Seller names are public usernames shown on the listings.

**Do I need an eBay account or API key?**<br>
No. The actor needs no login, cookies or developer keys.

**How many eBay sites are supported?**<br>
Thirteen: US, UK, Germany, Australia, Canada, France, Italy, Spain, the Netherlands, Poland, Ireland, Austria and Switzerland.

**How does it differ from other eBay sold actors?**<br>
It covers 13 sites, has no per-run start fee beyond $0.00005, returns `shippingCost`, `totalPrice` and `bestOfferAccepted` on every row, supports price ranges via `priceMax`, and a date window of 1–365 days where rows outside the window are free.

**Can I get listings that did not sell?**<br>
Yes, set `includeUnsold`. Those rows have `isSold` false and an `endedDate`.

### Also useful

- [Amazon Best Sellers Scraper](https://apify.com/genial_candlestand/amazon-best-sellers-scraper) — compare eBay sold prices with Amazon ranks, prices and ratings
- [Naver Shopping Scraper](https://apify.com/genial_candlestand/naver-shopping-product-search-scraper) — check product prices by keyword on Korea's Naver Shopping
- [Woolworths Product Scraper](https://apify.com/genial_candlestand/woolworths-product-scraper) — track retail prices and specials of Australian products
- [Coles Product Scraper](https://apify.com/genial_candlestand/coles-product-scraper) — add Coles prices, offers and stock for Australian products

# Actor input Schema

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

Items to look for, one keyword search per line, as you would type it on eBay. Operators work: -word excludes a word, "exact phrase" in quotes. Every row shows which keyword found it. Example: iphone 13 128gb.

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

Which eBay site to search. Prices are in the site's currency (USD on ebay.com, GBP on ebay.co.uk, EUR on ebay.de …). All filters below work on every site. Note: ebay.com currently blocks signed-out sold searches, so runs on ebay.com usually fail; ebay.de (the default) and ebay.co.uk work.

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

Stop each keyword search after this many rows. eBay serves about 240 rows per page and at most 50 pages (about 12 000 rows) per search.

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

Stop the whole run after this many rows across all keywords. You pay only for the rows you get.

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

Keep only items sold (or ended) in the last N days, counted from today (UTC). Empty = no date limit. eBay shows roughly the last 90 days of sales. Fastest with sort Ended recently; with a price sort more pages are read.

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

Order of results. "Ended recently" gives the newest sales first. The price sorts include shipping.

## `includeUnsold` (type: `boolean`):

Also return completed listings that ended without a sale (isSold = false, with endedDate). Off = sold items only. Cannot be combined with Condition (eBay returns an incomplete list for that combination).

## `condition` (type: `string`):

Only new or only used (pre-owned) items. Any = no filter. Not available together with "Include unsold ended listings".

## `listingType` (type: `string`):

Only auctions (rows have bidCount) or only Buy It Now / fixed-price listings. All = both.

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

Lowest item price, in the currency of the chosen eBay site (e.g. EUR on ebay.de). Must not be above Max price.

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

Highest item price, in the currency of the chosen eBay site. Must not be below Min price.

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

Optional eBay category number to search in, together with the keywords, e.g. 15709 (Athletic Shoes) or 9355 (Cell Phones) — the number after /b/.../ or \_sacat= in an eBay URL of the same site. Digits only; eBay ignores unknown numbers.

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

Apify Proxy is recommended (default datacenter works). eBay shows only items that ship to the proxy's country; for exact local results pick a proxy country matching the eBay site. Without a proxy results depend on your server's country.

## Actor input object example

```json
{
  "queries": [
    "iphone 13 128gb"
  ],
  "marketplace": "ebay.de",
  "maxItemsPerQuery": 240,
  "maxItems": 1000,
  "sort": "endedRecently",
  "includeUnsold": false,
  "condition": "any",
  "listingType": "all",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with all sold listing rows

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

Sold listings in the Overview table view

# 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": [
        "iphone 13 128gb"
    ],
    "marketplace": "ebay.de"
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/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": ["iphone 13 128gb"],
    "marketplace": "ebay.de",
}

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/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": [
    "iphone 13 128gb"
  ],
  "marketplace": "ebay.de"
}' |
apify call genial_candlestand/ebay-sold-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/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/DUjbsnCdl4F07amdq/builds/EFS1nQspP2lxu1tDO/openapi.json
