# Ebay Product Scraper (`getdataforme/ebay-product-scraper`) Actor

Scrape detailed product data from eBay by URL. Get title, price, images, seller info, reviews, specs, and more. Great for price tracking, catalog enrichment, and competitor research. Supports proxy use and delivers clean JSON output.

- **URL**: https://apify.com/getdataforme/ebay-product-scraper.md
- **Developed by:** [GetDataForMe](https://apify.com/getdataforme) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 38 total users, 2 monthly users, 99.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.00 / 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.

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

### What does eBay Product Scraper do?

**eBay Product Scraper** extracts structured product data from [eBay](https://www.ebay.com) product pages (`ebay.com/p/...` and item pages). Give it a list of eBay product URLs and it returns one record per product: the product group ID, name, category, description, the full list of product details (brand, MPN, UPC and more) and every variant with its price, currency, image and link. It works as a simple **eBay product API alternative** that you can schedule and call from your own tools.

### Why scrape eBay products?

- **Price monitoring:** track the price and currency of every variant of a product.
- **Catalog enrichment:** collect identifiers such as brand, MPN and UPC to match products across stores.
- **Market research:** compare variants and product details of competing listings.
- **Apify platform benefits:** schedule runs, start them through the API, export the data in several formats, connect it to other tools and use proxy rotation without managing anything yourself.

### What data can eBay Product Scraper extract?

| Field | Type | Description |
|---|---|---|
| `ProductGroupID` | string | eBay product group ID |
| `Name` | string | Product name |
| `Category` | string | Category label |
| `Description` | string | Product description |
| `ProductDetails` | array | List of `{Section, Name, Value}` entries, for example Brand, MPN, UPC |
| `Variants` | array | List of variants with `VariantID`, `SKU`, `VariantName`, `ImageURL`, `Price`, `Currency` and `ProductURL` |

### How to scrape eBay products

1. Open the Actor on Apify and go to the **Input** tab.
2. Add one or more eBay product URLs, for example `https://www.ebay.com/p/15051683639?iid=195730531718`.
3. Keep the default proxy setting (Apify residential proxy).
4. Click **Start**.
5. When the run finishes, open the **Output** tab to view the products or download them.

### How much will it cost to scrape eBay?

You pay for the Apify platform usage of the run. A product page takes only a few seconds, so small runs are cheap. See the pricing information on this Actor's page for the current model.

### Input

See the **Input** tab for all options.

| Field | Type | Description |
|---|---|---|
| `urls` | array, required | eBay product page URLs to scrape |
| `proxyConfiguration` | object | Proxy settings, residential by default |

Example:

```json
{
    "urls": ["https://www.ebay.com/p/15051683639?iid=195730531718"],
    "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

### Output

You can download the dataset in various formats such as JSON, HTML, CSV or Excel. Example item (shortened):

```json
{
    "ProductGroupID": "15051683639",
    "Name": "Pioneer DMH1700NEX Digital Media Receiver (No CD)",
    "Category": "ebay",
    "Description": "(Touch digitizer not included. ). 1 x LCD Display Panel (No Touch Screen).",
    "ProductDetails": [
        { "Section": "Product Identifiers", "Name": "Brand", "Value": "Pioneer" },
        { "Section": "Product Identifiers", "Name": "MPN", "Value": "DMH1700NEX" },
        { "Section": "Product Identifiers", "Name": "UPC", "Value": "0884938478939" }
    ],
    "Variants": [
        {
            "VariantID": "195730531718",
            "SKU": null,
            "VariantName": "Pioneer DMH1700NEX Digital Media Receiver (No CD)",
            "ImageURL": "https://i.ebayimg.com/images/g/nOoAAOSw3~5h38TV/s-l640.jpg",
            "Price": "88.90",
            "Currency": "USD",
            "ProductURL": "https://www.ebay.com/p/15051683639?iid=195730531718"
        }
    ]
}
```

### Tips

- Use full product URLs copied from eBay.
- One URL gives one product record, so the number of records equals the number of URLs that load.
- eBay sometimes answers with a block page; the Actor retries through other proxies automatically.

### FAQ, disclaimers and support

**Is it legal to scrape eBay?** Our Actors are ethical and do not extract any private user data, such as email addresses, gender or location. They only extract what the user has chosen to make public on eBay. Always make sure your use of the data complies with eBay's terms and the laws that apply to you, such as GDPR.

**The run failed with "No items scraped".** The product pages were blocked or the URL is not a product page. Check the URL and run again. If it keeps failing, open an issue on the **Issues** tab with the run link.

**Can I use it through the API?** Yes, see the **API** tab of this Actor.

### Item limit

Set `item_limit` (default 10, `0` = no limit) to cap the number of items per run.

# Actor input Schema

## `urls` (type: `array`):

A list of URLs of the web pages you want to scrape data from.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## `item_limit` (type: `integer`):

Maximum number of items to scrape per run. 0 means no limit.

## Actor input object example

```json
{
  "urls": [
    "https://www.ebay.com/p/15051683639?iid=195730531718"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "item_limit": 10
}
```

# Actor output Schema

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

Scraped products from the default dataset

# 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 = {
    "urls": [
        "https://www.ebay.com/p/15051683639?iid=195730531718"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "item_limit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("getdataforme/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 = {
    "urls": ["https://www.ebay.com/p/15051683639?iid=195730531718"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
    "item_limit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("getdataforme/ebay-product-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 '{
  "urls": [
    "https://www.ebay.com/p/15051683639?iid=195730531718"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "item_limit": 10
}' |
apify call getdataforme/ebay-product-scraper --silent --output-dataset

```

## MCP server setup

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