# eBay Product Listing Scraper (`w3crawler/ebay-product-listing-scraper`) Actor

Extract structured product listings from public eBay search, category, and item pages.

- **URL**: https://apify.com/w3crawler/ebay-product-listing-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 product listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does eBay Product Listing Scraper do?

**eBay Product Listing Scraper** turns public eBay search, category, and item pages into clean product records. It is an **eBay API alternative** for price monitoring, product research, assortment discovery, and marketplace analytics. It reads only pages that eBay makes publicly available and never attempts to bypass sign-in, CAPTCHA, rate limits, or other access controls.

### Why use eBay Product Listing Scraper?

Use it to compare prices across listings, monitor competitors, find resale inventory, or feed a catalog into your own workflow. The Actor supports multiple public URLs, deduplicates items, follows normal redirects, and normalizes prices, seller feedback, counts, URLs, and boolean badges. Apify adds scheduling, API access, integrations, proxy configuration, and run monitoring without requiring a custom server.

### What data can it extract?

| Field | Type | Description |
| --- | --- | --- |
| `title` | string | Listing title |
| `price` / `currency` | number / string | Current offer and currency |
| `originalPrice` | number | Previous price when shown |
| `condition` | string | New, used, or other public condition text |
| `sellerName` | string | Public seller name |
| `sellerFeedbackPercent` | number | Positive feedback percentage |
| `soldCount` | integer | Sold count when eBay displays it |
| `productUrl` | URL | Canonical public listing URL |
| `imageUrl` | URL | Primary listing image |

### How to scrape eBay listings

1. Open the Actor in Apify Console and select **Try for free**.
2. Add one or more public eBay search, category, or item URLs in the input tab, or provide a search query.
3. Set the maximum number of listings and start the run.
4. Download the dataset as JSON, HTML, CSV, or Excel, or consume it through the API tab.

### How much does it cost?

The Actor uses normal Apify compute and data-transfer resources. Your cost depends on page count and response size; limiting `maxItems` and using focused URLs keeps runs small. Apify plans include a free allowance and paid plans for larger scheduled workloads.

### Input

See the input tab for full configuration options. `startUrls` accepts objects with a `url` property. `query` builds a US eBay search URL when no URLs are supplied. Production runs never accept fixture-backed output.

### Access and reliability

The Actor establishes a bounded anonymous session through eBay's public help page, then sends bounded requests with a coherent Chrome User-Agent and standard browser headers. Optional `proxyConfiguration` is honored, responses stop at `maxBytes`, and every row reports its transport. If a request is rejected, the Actor emits a diagnostic row and reports `SOURCE_UNAVAILABLE` in `OUTPUT_SUMMARY` instead of crashing.

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. A simplified record looks like this:

```json
{
  "title": "Wireless Headphones Pro",
  "price": 79.99,
  "currency": "$",
  "condition": "Brand New",
  "sellerName": "audio_shop",
  "soldCount": 12,
  "productUrl": "https://www.ebay.com/itm/123456789012"
}
```

### Tips and troubleshooting

Use URLs from the eBay country site whose currency and inventory you need. If a page returns no rows, inspect the run log: eBay may have presented a consent, verification, or rate-limit page. Narrow the URL or wait before retrying rather than increasing request pressure.

### FAQ, disclaimer, and support

This Actor extracts public marketplace information only. Our Actors are ethical and do not extract private user data. Personal data that sellers choose to publish may still appear; use it only with a legitimate purpose and follow applicable laws, eBay terms, and privacy rules. For help, review the Issues tab, then use the API tab for programmatic access.

# Actor input Schema

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

Public eBay search, category, or product URLs. If omitted, query is used.

## `query` (type: `string`):

Keyword used to build a public eBay search URL when startUrls is empty.

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

Maximum unique product records to store.

## `userAgent` (type: `string`):

Optional browser-like User-Agent for the public request.

## `timeoutMs` (type: `integer`):

Maximum time allowed for each public request.

## `maxBytes` (type: `integer`):

Stop downloading a response after this many bytes.

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

Optional Apify proxy route for public eBay pages.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ebay.com/sch/i.html?_nkw=wireless+headphones"
    }
  ],
  "maxItems": 50,
  "timeoutMs": 30000,
  "maxBytes": 5000000
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/ebay-product-listing-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/ebay-product-listing-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 '{}' |
apify call w3crawler/ebay-product-listing-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/ebay-product-listing-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/odJDsdWA046wF2PH6/builds/zCmSmcai2LNFIuIRN/openapi.json
