# eBay Scraper - Listings, Prices & Sellers (`benthepythondev/ebay-scraper`) Actor

Returns eBay listings for any keyword through the official Browse API: title, price, original price and discount, shipping cost, condition, buying options, seller name and feedback, category, item location, image and link. Covers eBay US, UK, DE, FR, IT, ES, AU and CA. For price tracking.

- **URL**: https://apify.com/benthepythondev/ebay-scraper.md
- **Developed by:** [Ben](https://apify.com/benthepythondev) (community)
- **Categories:** E-commerce, Automation, Business
- **Features:** Limited permissions
- **Stats:** 11 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 results

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 Scraper — Listings, Prices & Seller Data via the Official API

Extract **eBay listings** as clean, structured data using the **official eBay Browse API** — no browser, no proxy, no captchas. Search any keyword across any eBay marketplace (US, UK, Germany, France, Italy, Spain, Australia, Canada) and get **price, currency, condition, shipping cost, discount, seller rating, category, location, image and item URL** for every result. It runs in seconds and is built for price monitoring, reselling and product analytics. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

### 📦 What is the eBay Scraper?

It turns any eBay keyword search into a structured dataset. Give it a search term (like `nike air max`, `iphone 15` or `lego star wars`), pick a marketplace, and optionally filter by condition and sort order — it returns every matching listing with price, seller reputation, shipping and discount details. Because it calls eBay's official Browse API instead of scraping HTML, it's fast, reliable and never hits blocks or captchas. It paginates automatically up to your result cap.

Each listing comes back fully parsed: the price and currency are split out, the cheapest shipping option is picked for you, on-sale items expose both the original price and the discount percentage, and seller reputation arrives as a username, feedback percentage and feedback score. You also get the buying format (fixed price or auction), the top category and the item's location country — everything you need to compare offers or repricing decisions at a glance. Billing is per result, so empty searches cost nothing.

#### What data does it extract?

- **`title`** — listing title
- **`price`** and **`currency`**
- **`original_price`** and **`discount_percentage`** (when an item is on sale)
- **`shipping_cost`** — cheapest available shipping option
- **`condition`** — New, Pre-owned, Refurbished, …
- **`seller_username`**, **`seller_feedback_pct`** and **`seller_feedback_score`**
- **`buying_options`** — Fixed price / Auction
- **`category`** and **`item_location_country`**
- **`item_id`**, **`url`** and **`image`**
- **`marketplace`**, **`search_query`** and **`scraped_at`**

### ⬇️ Input

Search any eBay marketplace by keyword:

| Field | Description |
|-------|-------------|
| `searchQueries` | One or more keywords, e.g. `nike air max`, `iphone 15`, `lego star wars`. Each is searched on its own and every row names its query in `search_query`. Empty: `laptop` |
| `searchQuery` | One keyword (older single field, still accepted and searched together with `searchQueries`) |
| `marketplace` | eBay country site — `EBAY_US`, `EBAY_GB`, `EBAY_DE`, `EBAY_FR`, `EBAY_IT`, `EBAY_ES`, `EBAY_AU` or `EBAY_CA` |
| `condition` | `all`, `new` or `used` |
| `sort` | `best_match`, `price_asc`, `price_desc` or `newly_listed` |
| `maxResults` | Maximum listings to return per search query (1–10000) |

#### Example input

```json
{
  "searchQueries": ["nike air max", "iphone 15"],
  "marketplace": "EBAY_US",
  "condition": "all",
  "sort": "best_match",
  "maxResults": 100
}
```

### ⬆️ Output

Every listing is one clean row (view as a **table**, or export **JSON / CSV / Excel**):

```json
{
  "item_id": "286393092388",
  "title": "Nike Air Max 90 Smoke Grey Black",
  "price": 104.99,
  "currency": "USD",
  "original_price": 123.5,
  "discount_percentage": "15",
  "shipping_cost": 0.0,
  "condition": "New with box",
  "seller_username": "wise_sneakers",
  "seller_feedback_pct": "100.0",
  "seller_feedback_score": 5421,
  "buying_options": ["FIXED_PRICE"],
  "category": "Athletic Shoes",
  "item_location_country": "US",
  "image": "https://i.ebayimg.com/images/g/.../s-l1600.jpg",
  "url": "https://www.ebay.com/itm/286393092388",
  "marketplace": "EBAY_US",
  "search_query": "nike air max",
  "scraped_at": "2026-06-26T15:30:00+00:00"
}
```

### 💡 Use cases

- **📉 Price monitoring:** track competitor prices and market value for any product over time.
- **💰 Reselling & arbitrage:** find underpriced items, spot discounts and analyse seller trends.
- **📊 Market research:** analyse price distribution, conditions and seller reputation across countries.
- **📈 Product analytics:** feed dashboards and repricing tools with live marketplace data.

### ❓ FAQ

**How do I scrape eBay listings?** Enter one or more `searchQueries`, choose a `marketplace`, optionally set `condition` and `sort`, then Run. You get structured listings with price, shipping, condition, seller rating and discount data.

**Which eBay marketplaces are supported?** United States, United Kingdom, Germany, France, Italy, Spain, Australia and Canada (`EBAY_US`, `EBAY_GB`, `EBAY_DE`, `EBAY_FR`, `EBAY_IT`, `EBAY_ES`, `EBAY_AU`, `EBAY_CA`).

**Do I need an API key?** No. You run the Actor on Apify with just a keyword and marketplace — there are no eBay developer credentials for you to register or manage.

**Does it use the official eBay API?** Yes — it queries eBay's official Browse API rather than scraping HTML, which is why it's fast and never hits captchas or blocks.

**Do I need a proxy?** No. Because it's API-based, no proxy is required and runs are cheap and quick.

**Can I get seller ratings and shipping costs?** Yes — every listing includes `seller_username`, `seller_feedback_pct`, `seller_feedback_score` and the cheapest `shipping_cost`, plus `original_price` and `discount_percentage` when an item is discounted.

**Can I filter by condition or sort by price?** Yes — set `condition` to `new` or `used`, and `sort` to `price_asc`, `price_desc`, `newly_listed` or `best_match`.

**How many listings can it return?** Up to your `maxResults` cap (max 10000); it paginates the API automatically.

**Can I run it on a schedule or via API?** Yes — schedule recurring runs in Apify, call it via the API/SDK, or connect it to Make, Zapier or n8n.

**Why use this instead of plain HTML scraping?** HTML scrapers break when eBay changes its layout and get blocked by captchas and rate limits. This Actor calls the official Browse API, so results are stable, structured and arrive in seconds without proxies or anti-bot headaches.

**Is scraping eBay legal?** It uses eBay's official Browse API to retrieve publicly available listing data. Use the data only for lawful purposes and in line with eBay's terms.

### 🔗 You might also like

- **[Amazon Product Scraper](https://apify.com/benthepythondev/amazon-product-scraper)** — product search, prices, ratings & reviews
- **[Vinted Scraper](https://apify.com/benthepythondev/vinted-scraper)** — second-hand fashion listings & prices
- **[Grailed Scraper](https://apify.com/benthepythondev/grailed-scraper)** — menswear & streetwear resale listings
- **[Discogs Scraper](https://apify.com/benthepythondev/discogs-scraper)** — vinyl, music releases & labels

***

**Keywords:** eBay scraper, eBay API, eBay Browse API, eBay price tracker, eBay listings data, price monitoring, reselling arbitrage, product analytics, eBay seller data, marketplace research, eBay US UK DE, competitor price tracking, ecommerce data, eBay product scraper.

# Actor input Schema

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

One or more keywords to search on eBay (e.g. 'nike air max', 'iphone 15', 'lego star wars'). Each is searched on its own, Max Results applies per query, and every row names its query in search_query. Empty: laptop.

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

One keyword, e.g. 'nike air max'. Kept so saved inputs keep working; it is searched together with Search queries. Use Search queries for new inputs.

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

Which eBay country site to search.

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

Filter by item condition.

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

Result order: best_match, price_asc (cheapest first), price_desc or newly_listed. Example: price_asc.

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

Maximum number of listings to return per search query.

## Actor input object example

```json
{
  "searchQueries": [
    "nike air max"
  ],
  "marketplace": "EBAY_US",
  "condition": "all",
  "sort": "best_match",
  "maxResults": 3
}
```

# 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 = {
    "searchQueries": [
        "nike air max"
    ],
    "maxResults": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/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 = {
    "searchQueries": ["nike air max"],
    "maxResults": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/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 '{
  "searchQueries": [
    "nike air max"
  ],
  "maxResults": 3
}' |
apify call benthepythondev/ebay-scraper --silent --output-dataset

```

## MCP server setup

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