# eBay Product Scraper (`xtracto/ebay-product-scraper`) Actor

Extract complete listing details from eBay item pages.

- **URL**: https://apify.com/xtracto/ebay-product-scraper.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 1 monthly users, 96.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 Product Scraper

Convert any eBay item URL into a complete, structured product record — title, brand, condition, price, seller, shipping, item specifics, and full image gallery.

### Why use this actor

- No eBay account or login required — works on fully public listing pages.
- Accepts a list of item URLs and processes them all in a single run.
- Comprehensive output covering every field a buyer sees: price, condition, availability, seller reputation, shipping cost, and item specifics.
- Full item specifics map captures Brand, Model, GTIN, MPN, Color, Size, and any other attributes the seller has filled in.
- Ended or removed listings are recorded as clean error rows rather than crashing the run.
- Stable JSON output ready to load into any database, spreadsheet, or data pipeline.

### How it works

1. You provide one or more eBay item URLs.
2. The actor fetches the full listing page for each URL and extracts all visible product data.
3. Item specifics, shipping options, seller details, and the image gallery are parsed alongside pricing.
4. Results stream into your Apify dataset as each listing is processed.
5. Download the complete dataset as JSON, CSV, or Excel when the run finishes.

You don't need to manage any browsers or scrapers.

### Input

```json
{
  "productUrls": [
    { "url": "https://www.ebay.com/itm/327126384858" }
  ],
  "maxConcurrency": 5,
  "maxRequestRetries": 5,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

| Field | Type | Description |
|---|---|---|
| `productUrls` | array | List of eBay item URLs (`https://www.ebay.com/itm/<id>`) to scrape. |
| `maxConcurrency` | integer | Maximum parallel listing requests. Default: 5. |
| `maxRequestRetries` | integer | Per-request retry budget before giving up. Default: 5. |
| `proxyConfiguration` | object | Apify Proxy or your own proxy list. RESIDENTIAL group is recommended. |

### Output

One record per item URL:

```json
{
  "url": "https://www.ebay.com/itm/327126384858",
  "itemId": "327126384858",
  "title": "Nintendo Switch OLED Model 64GB - Gray Handheld Console",
  "brand": "Nintendo",
  "condition": "Used",
  "price": 419.99,
  "currency": "USD",
  "availability": "https://schema.org/InStock",
  "seller": "topseller_store",
  "shipping": "Free shipping",
  "location": "Brooklyn, NY, United States",
  "rating": 4.85,
  "description": "Nintendo Switch OLED model in good cosmetic condition. Fully tested and working. Includes original dock, Joy-Con controllers, and HDMI cable.",
  "itemSpecifics": {
    "Brand": "Nintendo",
    "Model": "Switch OLED",
    "Storage Capacity": "64 GB",
    "Color": "Gray"
  },
  "images": [
    "https://i.ebayimg.com/images/g/abc/s-l1600.jpg",
    "https://i.ebayimg.com/images/g/def/s-l1600.jpg"
  ],
  "scrapedAt": "2026-05-07T10:00:00Z"
}
```

| Field | Type | Description |
|---|---|---|
| `url` | string | The item URL that was scraped. |
| `itemId` | string | eBay item ID. |
| `title` | string | Full listing title. |
| `brand` | string | Brand extracted from item specifics or title. |
| `condition` | string | Item condition (e.g. `New`, `Used`, `Refurbished`). |
| `price` | number | Current Buy It Now price or winning bid. |
| `currency` | string | ISO currency code. |
| `availability` | string | Schema.org availability URL (e.g. `InStock`, `OutOfStock`). |
| `seller` | string | Seller username. |
| `shipping` | string | Shipping cost description (e.g. `Free shipping`, `+$5.99`). |
| `location` | string | Seller's listed item location. |
| `rating` | number | Seller's positive feedback percentage as a decimal (0–5 scale). |
| `description` | string | Full item description text. |
| `itemSpecifics` | object | Key-value map of all item specifics the seller provided. |
| `images` | array | Full-resolution listing image URLs. |
| `scrapedAt` | string | ISO 8601 timestamp of when the record was collected. |

### Other eBay Scrapers

| Actor | Description |
|---|---|
| [eBay Search Scraper](https://apify.com/search?q=ebay-search-scraper) | Keyword search results across multiple pages and country domains. |
| [eBay Product Scraper](https://apify.com/search?q=ebay-product-scraper) | Full listing detail from individual eBay item URLs. |

# Actor input Schema

## `productUrls` (type: `array`):

List of product URLs to scrape.

## `maxConcurrency` (type: `integer`):

Maximum number of parallel requests.

## `maxRequestRetries` (type: `integer`):

How many times a request will be retried before giving up.

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

Apify Proxy or your own proxy list. RESIDENTIAL group is recommended.

## Actor input object example

```json
{
  "productUrls": [
    {
      "url": "https://www.ebay.com/itm/327126384858"
    }
  ],
  "maxConcurrency": 5,
  "maxRequestRetries": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "productUrls": [
        {
            "url": "https://www.ebay.com/itm/327126384858"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/ebay-product-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 = {
    "productUrls": [{ "url": "https://www.ebay.com/itm/327126384858" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("xtracto/ebay-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [
    {
      "url": "https://www.ebay.com/itm/327126384858"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call xtracto/ebay-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=xtracto/ebay-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/ufiRuHMLfwq9Yc9tO/builds/tYRHss2UxoeNZqDsH/openapi.json
