# eBay Scraper (`unfenced-group/ebay-scraper`) Actor

Scrape eBay active and sold listings across 8 marketplaces (US, UK, DE, AU, CA, FR, IT, ES). Get prices, sold dates, conditions, buying formats and buyer-total cost (item + shipping) for price comps, reselling and market research. Filter by condition, price, location and recency.

- **URL**: https://apify.com/unfenced-group/ebay-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** E-commerce
- **Stats:** 3 total users, 1 monthly users, 66.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.79 / 1,000 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## eBay Scraper

![eBay Scraper](https://api.apify.com/v2/key-value-stores/ClElVyZWvQgPQIuDL/records/ebay-scraper)

Extract listings from 17 eBay marketplaces at scale, in a clean, consistent structure ready for price monitoring, market research, catalogue analysis and resale tooling. One actor covers the United States, the United Kingdom, Germany, France, Italy, Spain, the Netherlands, Belgium, Austria, Switzerland, Ireland, Poland, Canada, Australia, Singapore, Hong Kong and Malaysia. No API key required.

***

### Why this scraper?

#### 🌍 17 marketplaces, one actor

Every eBay site eBay operates, from ebay.com to ebay.pl, selectable with a single `market` field. Output keeps the same shape across all of them, so a pipeline built against one market works against the rest without changes.

#### 🗣️ Localized parsing

Condition, shipping and auction fields are read in the site's own language — Neu, Gebraucht, Nuovo, Usado, Occasion, Nowy, Gratis Lieferung, Consegna gratuita. Fields do not go empty just because the page is not in English.

#### 💶 Structured pricing in local currency

Current price as a clean number, with the correct currency code per marketplace: USD, GBP, EUR, CHF, CAD, AUD, PLN and MYR. Both `1,496.00` and `1.496,00` decimal styles are parsed. Items without a published price return `null`, never a guess.

#### 🤝 Seller and condition

Seller details and item condition in structured fields, ready for filtering.

#### ⭐ Review signals

Average rating and review count for every item that has them.

#### 🖼️ Photos

Photo URLs for every listing where the source publishes them.

***

### Marketplaces

| Code | Marketplace | Currency | Code | Marketplace | Currency |
|---|---|---|---|---|---|
| `us` | ebay.com | USD | `ie` | ebay.ie | EUR |
| `uk` | ebay.co.uk | GBP | `be` | ebay.be | EUR |
| `de` | ebay.de | EUR | `pl` | ebay.pl | PLN |
| `fr` | ebay.fr | EUR | `ca` | ebay.ca | CAD |
| `it` | ebay.it | EUR | `au` | ebay.com.au | AUD |
| `es` | ebay.es | EUR | `sg` | ebay.com.sg | USD |
| `nl` | ebay.nl | EUR | `hk` | ebay.com.hk | USD |
| `at` | ebay.at | EUR | `my` | ebay.com.my | MYR |
| `ch` | ebay.ch | CHF | | | |

Set `market` to the code, or pass a marketplace URL in `startUrls` and the market is detected from the domain.

***

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `market` | string | `"us"` | eBay marketplace to scrape, one of the 17 listed below. Ignored when Start URLs are provided. |
| `searchQuery` | string | `"vintage camera"` | Keyword to search, e.g. "vintage camera". |
| `searchQueries` | array | (empty) | Run several keyword searches in one job. Each keyword is searched separately. Combines with the single Search query field. |
| `condition` | string | `"any"` | Filter by item condition (server-side). |
| `minPrice` | integer | (empty) | Only listings at or above this price (marketplace currency). |
| `maxPrice` | integer | (empty) | Only listings at or below this price (marketplace currency). |
| `sortOrder` | string | `"bestMatch"` | How eBay orders results. Price sorts include shipping. |
| `buyItNowOnly` | boolean | `false` | Exclude auctions — fixed-price listings only. |
| `freeShippingOnly` | boolean | `false` | Only listings with free shipping. |
| `itemLocation` | string | `"any"` | Filter by item location relative to the marketplace. |
| `startUrls` | array | (empty) | eBay search URLs. Overrides Marketplace/Search. Market auto-detected per URL. |
| `maxResults` | integer | `5` | Maximum listings to return. Set to 0 for unlimited. |
| `proxyConfiguration` | object | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` | Fallback only. Requests route through a Web Unlocker by default, which does not consume your proxy. |

***

### Output schema

Every field below is present on every record. Fields the source does not publish for a given item are returned as `null` rather than omitted.

| Field | Type | Description |
|---|---|---|
| `itemId` | string | eBay item number. |
| `title` | string | Listing title. |
| `price` | number | Price in the marketplace's native currency. |
| `buyerPrice` | number | Total a buyer pays: item price + shipping. The number that decides a flip. |
| `currency` | string | Currency code (USD, GBP, EUR, etc.). |
| `condition` | string | Item condition, e.g. Brand New, Pre-Owned, Refurbished. |
| `buyingFormat` | string | Buy It Now, Best Offer, or Auction. |
| `bids` | number | Number of bids (auction listings). |
| `timeLeft` | string | Time remaining (auction listings), e.g. "3d 18h". |
| `rating` | string | Product rating out of 5 (listings with aggregated reviews). |
| `reviewCount` | string | Number of product ratings. |
| `soldCount` | string | Number sold (active listings with a sold count). |
| `shipping` | string | Shipping label, or "Free". |
| `shippingCost` | number | Shipping cost as a number (0 if free, null if unspecified). |
| `freeReturns` | boolean | Listing offers free returns. |
| `sponsored` | boolean | Sponsored placement in search results. |
| `topRatedSeller` | boolean | Carries eBay's Top Rated listing badge. |
| `location` | string | Item location. |
| `url` | string | Listing URL. |
| `image` | string | Primary image URL. |
| `market` | string | Marketplace code. |
| `source` | string | Source marketplace domain. |
| `scrapedAt` | string | ISO 8601 timestamp. |

#### Example record

```json
{
  "itemId": "278082692644",
  "title": "Rollei 35MM Compact 35MM Camera being sold AS IS",
  "price": 724.03,
  "buyerPrice": 1101.38,
  "currency": "USD",
  "condition": null,
  "buyingFormat": "Best Offer",
  "bids": null,
  "timeLeft": null,
  "rating": null,
  "reviewCount": null,
  "soldCount": null,
  "shipping": "+R$ 377.35 shipping",
  "shippingCost": 377.35,
  "freeReturns": false,
  "sponsored": true,
  "topRatedSeller": false,
  "location": null,
  "url": "https://www.ebay.com/itm/278082692644",
  "image": "https://i.ebayimg.com/images/g/H9gAAeSwbqtqLIfU/s-l500.jpg",
  "market": "us",
  "source": "ebay.com",
  "scrapedAt": "2026-06-27T12:31:28.856Z"
}
```

***

### Examples

**Search for vintage camera:**

```json
{
  "searchQuery": "vintage camera",
  "maxResults": 100
}
```

**Compare one product across marketplaces** (run once per market, or schedule all of them):

```json
{
  "market": "de",
  "searchQuery": "sony wh-1000xm5",
  "maxResults": 100
}
```

**Cap the price:**

```json
{
  "searchQuery": "vintage camera",
  "maxResults": 100,
  "maxPrice": 39.99
}
```

**Scrape a specific search URL:**

```json
{
  "startUrls": [
    {
      "url": "https://www.ebay.de/sch/i.html?_nkw=kamera"
    }
  ],
  "maxResults": 200
}
```

**Daily monitoring (run on a schedule):**

```json
{
  "searchQuery": "vintage camera",
  "sortOrder": "newlyListed",
  "maxResults": 500
}
```

Schedule this input to run once a day in the Apify Scheduler. Sorting by newest first puts the most recent listings at the top of every run.

***

### Sold and completed listings

eBay now requires a signed-in account to view sold and completed listings. Those pages return a sign-in screen to anyone who is not logged in, so this actor no longer offers them. The `listingType` and `maxDaysBack` inputs have been removed for that reason, and a start URL carrying `LH_Sold=1` is scraped as its active-listing equivalent.

The `soldCount` field is unaffected. It reports how many units an active listing has sold, which eBay still publishes on the search page.

***

### 💰 Pricing

**$1.99 per 1,000 results** — you only pay for successfully retrieved listings. Failed retries are never charged.

| Results | Cost |
|---|---|
| 100 | ~$0.20 |
| 1,000 | ~$1.99 |
| 10,000 | ~$19.90 |
| 100,000 | ~$199 |

> Flat-rate alternatives typically charge $29–$49/month regardless of usage.

Subscription tiers lower the rate further, down to $1.69 per 1,000 at the highest tier. Use the **Max results** cap in the input to control your spend exactly.

***

### Performance

| Run size | Typical time |
|---|---|
| 100 results | under 1 minute |
| 1,000 results | 2–4 minutes |
| 10,000 results | 20–35 minutes |

***

### Known limitations

- Some fields (brand, condition, shipping) are only returned when the seller or source publishes them — expect `null` on a share of records.
- Prices and stock change constantly; records reflect the moment of scraping.
- Very large result sets are bounded by the source's own paging limits.
- Items can sell or be withdrawn at any time, so a small share of URLs may expire shortly after scraping.

***

### Technical details

- **Source:** ebay.com
- **Coverage:** everything the public search exposes, filterable via the input parameters above
- **Retry:** automatic retry on network errors with exponential backoff

***

### Rate this actor

If this scraper does its job, a short review on the **Reviews** tab helps other users find it. Something not working? Open an issue on the **Issues** tab instead — issues get fixed.

### Need a custom scraper?

**[Unfenced Group](https://www.unfencedgroup.nl)** builds Apify actors for any website — for free.

If the site you need isn't in our portfolio yet, just ask. We scope, build, and publish it at no cost to you. You only pay for results — we absorb the compute and proxy costs ourselves. Same pay-per-result pricing, same quality, same standards as every actor in this portfolio.

**Get in touch:** [www.unfencedgroup.nl](https://www.unfencedgroup.nl)

# Actor input Schema

## `market` (type: `string`):

eBay marketplace to scrape. Ignored when Start URLs are provided.

## `searchQuery` (type: `string`):

Keyword to search, e.g. "vintage camera".

## `searchQueries` (type: `array`):

Run several keyword searches in one job. Each keyword is searched separately. Combines with the single Search query field.

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

Filter by item condition (server-side).

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

Only listings at or above this price (marketplace currency).

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

Only listings at or below this price (marketplace currency).

## `sortOrder` (type: `string`):

How eBay orders results. Price sorts include shipping.

## `buyItNowOnly` (type: `boolean`):

Exclude auctions — fixed-price listings only.

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

Only listings with free shipping.

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

Filter by item location relative to the marketplace.

## `startUrls` (type: `array`):

eBay search URLs. Overrides Marketplace/Search. Market auto-detected per URL. Sold and completed listings are no longer available: eBay requires a signed-in account for them, so a URL carrying LH\_Sold is scraped as its active-listing equivalent.

## `maxResults` (type: `integer`):

Maximum listings to return. Set to 0 for unlimited.

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

Used only as a fallback. The actor routes through a Web Unlocker by default, which does not consume your proxy.

## Actor input object example

```json
{
  "market": "us",
  "searchQuery": "vintage camera",
  "searchQueries": [
    "nintendo switch",
    "ps5",
    "xbox series x"
  ],
  "condition": "any",
  "sortOrder": "bestMatch",
  "buyItNowOnly": false,
  "freeShippingOnly": false,
  "itemLocation": "any",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "vintage camera",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/ebay-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 = {
    "searchQuery": "vintage camera",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/ebay-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 '{
  "searchQuery": "vintage camera",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call unfenced-group/ebay-scraper --silent --output-dataset

```

## MCP server setup

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