# eBay Scraper — Search & Item Details | $3.4/1K (`bovi/ebay-scraper`) Actor

Scrape eBay search results and item detail pages into clean JSON. Returns title, price, currency, condition, shipping, seller, location, and images. Structural HTML parsing anchored on data-attributes and ARIA roles — not fragile CSS classes. Every record ships a parse\_confidence score.

- **URL**: https://apify.com/bovi/ebay-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Lead generation, MCP servers
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.30 / 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 — Search & Item Details

Built for e-commerce analysts, resale arbitrage traders, and price intelligence tools that need clean eBay data without OAuth apps or proxy subscriptions.

**Pricing:** Pay per listing — $1.50/1K (search results), $3.00/1K (item detail mode with full metadata). First 10 results free.

**No eBay API key needed. No login. No proxy required.**

Scrape eBay search results and item detail pages into clean, structured JSON.

### What you get

**Search mode** (`searchQueries`): scrape listing cards from eBay search results.

| Field | Description |
|---|---|
| `item_id` | eBay numeric item ID |
| `title` | Full listing title |
| `price` | Numeric price (e.g. `334.03`) |
| `currency` | Currency code (`USD`, `EUR`, `GBP`, ...) |
| `condition` | Condition text as shown in search card |
| `listing_type` | `"Buy It Now"`, `"Auction"`, `"or Best Offer"` |
| `shipping` | Shipping cost string (e.g. `"+$9.99 delivery"`, `"Free shipping"`) |
| `seller_name` | Seller username |
| `seller_feedback` | e.g. `"99.5% positive (162.4K)"` |
| `location` | Item location country/city |
| `url` | Canonical eBay item URL |
| `image_url` | Primary product image |
| `source` | `"search"` |
| `query` | The search keyword that produced this record |
| `page` | Result page number |
| `parse_confidence` | 0.0–1.0 quality score |
| `warnings` | List of parser warning codes |
| `scraped_at` | ISO 8601 timestamp |

**Item detail mode** (`itemIds`): fetch individual item pages for richer data.

Additional fields vs search: `availability`, `image_urls` (all images), `brand`, `model`, `color`.

### How it works

This actor accesses eBay's public listing pages without login or credentials. No proxy is required from Apify's infrastructure as of the time of writing (probed May 2026).

**Parser design**: structural anchors (`data-listingid`, `div[role="heading"]`, `li[data-view]`,\
schema.org JSON-LD) rather than fragile CSS class names. When eBay changes its layout,\
`parse_confidence` drops below 0.5 — your monitoring catches it before buyers notice.

**Item pages**: resolved via schema.org JSON-LD `Product` embedded in every item page —\
far more stable than HTML selectors. Falls back to HTML for fields JSON-LD doesn't cover\
(seller info, location).

### Access notes

- **Item pages**: require a warm session (fetch search first, then item). A fresh cold\
  item request triggers a JS challenge; this actor handles it automatically.
- **No proxy needed today** — the actor runs cleanly from Apify's datacenter IPs.\
  Add a residential proxy via `proxyConfiguration` as a fallback (paid for by the buyer).

### eBay official Browse API?

eBay's official Browse API requires OAuth app credentials (developer application key) and\
has strict rate limits on the free tier. This actor uses the public website instead —\
no credentials, no quota, all public listing data. Buyer data / private account data\
is not accessible and not scraped.

### vs. competitors

| Feature | This actor | apify/ebay-scraper (epctex) |
|---|---|---|
| Reliable access from Apify cloud | Yes | No — breaks frequently |
| parse\_confidence drift signal | Yes | No |
| Detail-mode depth toggle | Yes | No |
| Price | $1.50/1K | $2–3/1K |

### parse\_confidence trust signal

Every record ships a `parse_confidence` score (0.0–1.0). When eBay changes its layout, confidence drops below 0.5 — your pipeline catches drift before buyers notice. Low-confidence records are never silently discarded.

### Use with AI agents (MCP)

This actor is tagged `MCP_SERVERS` — compatible with Claude, GPT-4o, and other MCP-aware agents. Point your agent at the Apify actor to pull eBay data into any LLM workflow:

```
https://mcp.apify.com/?tools=bovi/ebay-scraper
```

### Inputs

| Input | Type | Default | Description |
|---|---|---|---|
| `searchQueries` | array of strings | — | Search keywords. Each produces up to `maxItems × maxPages` results. |
| `itemIds` | array of strings | — | eBay item IDs for direct detail-page fetch. |
| `maxItems` | integer | 200 | Total records limit across all queries. |
| `maxPages` | integer | 5 | Pages per query (~50 results/page). |
| `sort` | string | `best_match` | Sort order: `best_match`, `newest_first`, `price_asc`, `price_desc`, etc. |
| `condition` | string | (all) | Filter: `new`, `used`, `refurbished`. |
| `categoryId` | string | — | eBay category ID to narrow scope. |
| `minPrice` / `maxPrice` | integer | — | Price range filter in USD. |
| `proxyConfiguration` | object | — | Optional residential proxy (not required today). |

### Pricing example

| Volume | Mode | Cost |
|---|---|---|
| 100 results | Search | $0.15 |
| 1,000 results | Search | $1.50 |
| 1,000 results | Item detail | $3.00 |
| 10,000 results | Search | $15.00 |

First 10 results are free. You pay only for items actually returned.

### FAQ

**Do I need an eBay API key or login?**
No. This actor uses the public eBay website — no credentials required.

**Do I need a proxy?**
No proxy is needed from Apify cloud IPs as of May 2026. A `proxyConfiguration` input is available as a fallback — paid for by the run owner.

**What output formats are available?**
JSON (default), CSV, and Excel — via the Apify dataset export or API.

**What if results come back empty?**
Check your search query. eBay search returns 0 results if the keyword matches nothing, or the actor was blocked (see logs for `BlockedError`). Add a residential proxy via `proxyConfiguration` if you see 403 errors in the logs.

### Legal

eBay's ToS restricts automated scraping. This actor extracts only publicly visible\
listing data — the same data visible to any anonymous browser visitor. It does not\
access private accounts or authentication-gated data. Use responsibly and in accordance\
with applicable law. Not affiliated with eBay Inc.

### Pricing

Pay-per-result: you pay only for data you receive. Priced per listing item returned.

### Integrations

Built for e-commerce resellers and price-intelligence tools tracking listings, conditions, and sold prices across categories — the JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — trigger a run or pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database) with no code: [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes, to push results straight into your pipeline ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com) so an AI agent can pull this data mid-conversation ([guide](https://blog.apify.com/how-to-use-mcp/)).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

### Not affiliated with eBay Inc.

This is an independent tool. All eBay trademarks belong to eBay Inc.

### More scrapers from our toolkit

Building a data pipeline? These actors pair well with this one — each runs on your own Apify account with the same pay-per-result pricing, no subscription:

- [Etsy Listings](https://apify.com/bovi/etsy-listings)
- [Facebook Marketplace Scraper](https://apify.com/bovi/facebook-marketplace-scraper)
- [Grailed Listings](https://apify.com/bovi/grailed-listings)
- [Kleinanzeigen Listings Scraper](https://apify.com/bovi/kleinanzeigen-listings-scraper)
- [Leboncoin Listings](https://apify.com/bovi/leboncoin-listings)
- [Marktplaats Listings Scraper](https://apify.com/bovi/marktplaats-listings-scraper)

Chain any of them together from the **Integrations** tab (the *Run succeeded* trigger) to build a multi-step workflow — one actor's output feeds the next.

# Actor input Schema

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

eBay search keywords. Each query produces up to maxItems × maxPages results. Leave empty if using Item IDs mode.

## `itemIds` (type: `array`):

eBay numeric item IDs for direct detail-page scraping (richer data: brand, model, images list, availability). E.g. \['286865561827', '116073553576'].

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

Maximum number of listing records to return across all queries / item IDs. The default is small enough for Apify quality checks; raise it for larger pulls.

## `maxPages` (type: `integer`):

How many result pages to fetch per search query. Each page returns ~50 listings.

## `getDetails` (type: `boolean`):

For each search result, fetch its item page to add product codes, brand, sold count, was price, full image list, and item specifics. Disable for faster search-only scraping.

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

Optional proxy. The actor works without any proxy using Safari TLS impersonation. If you want to route through a proxy, use Apify datacenter proxies — eBay blocks residential IPs regardless of TLS fingerprint. Leave empty for best results.

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

How to sort search results.

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

Filter by item condition. Leave blank for all conditions.

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

eBay category ID to narrow search scope. E.g. '175672' for Laptops. Find IDs via eBay's category browse pages.

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

Minimum item price in USD.

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

Maximum item price in USD.

## Actor input object example

```json
{
  "searchQueries": [],
  "itemIds": [
    "286865561827",
    "116073553576"
  ],
  "maxItems": 5,
  "maxPages": 1,
  "getDetails": false,
  "sort": "best_match",
  "condition": ""
}
```

# Actor output Schema

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

Dataset containing Ebay Scraper records (item\_id, title, price, was\_price, brand, sold\_count, condition, listing\_type, shipping, seller\_name, seller\_feedback, location, image\_url, url, parse\_confidence).

# 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": [],
    "itemIds": [
        "286865561827",
        "116073553576"
    ],
    "maxItems": 5,
    "maxPages": 1,
    "getDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/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": [],
    "itemIds": [
        "286865561827",
        "116073553576",
    ],
    "maxItems": 5,
    "maxPages": 1,
    "getDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/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": [],
  "itemIds": [
    "286865561827",
    "116073553576"
  ],
  "maxItems": 5,
  "maxPages": 1,
  "getDetails": false
}' |
apify call bovi/ebay-scraper --silent --output-dataset

```

## MCP server setup

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