# eBay Scraper | Products, Prices & Seller Data (`voyn/ebay-scraper`) Actor

Scrape eBay product listings, prices, seller profiles, images, and item details. Extract data from search results, filtered categories, and seller stores across multiple eBay countries. Supports pagination, bulk scraping, and JSON, CSV, or Excel exports.

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

## Pricing

from $4.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.
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 — Products, Search Results & Seller Data

![VOYN eBay Scraper workflow infographic](.actor/voyn-ebay-scraper-image.png)

Collect structured eBay product listings, item details, and seller information from multiple eBay marketplaces. Export titles, prices, conditions, images, shipping, item specifics, and seller data to JSON, CSV, or Excel.

### What can you scrape?

| Use case | Input URL | Output |
| --- | --- | --- |
| Product search | `/sch/` | Listings with prices, titles, and product links |
| Individual products | `/itm/` | Product details, images, and specifications |
| Seller profiles and stores | `/usr/` or `/str/` | Seller profile record and discovered inventory |
| Seller inventory searches | `/sch/` with `_ssn` | Listings from a selected seller |
| Filtered searches | `/sch/` with category, price, or condition filters | Listings matching the selected filters |

### Getting started

1. Copy a supported eBay search, item, seller profile, or store URL.
2. Add it to **Start URLs** in the Actor.
3. Choose **Maximum items** and **Maximum search pages**.
4. Optionally enable **Fetch item detail pages** for richer product records.
5. Start the run and export the dataset.

The examples below use illustrative product data and placeholder item IDs to show the expected output structure. Actual fields depend on the information present on each eBay page.

### Examples

#### 1. Scrape product search results

**Input**

```json
{
  "startUrls": [{"url": "https://www.ebay.com/sch/i.html?_nkw=iphone+13"}],
  "maxItems": 20,
  "maxPages": 2,
  "includeDetails": false
}
```

**Example output — default dataset**

```json
[
  {
    "itemId": "123456789012",
    "url": "https://www.ebay.com/itm/123456789012",
    "title": "Example iPhone 13 128GB",
    "price": 275,
    "priceText": "US $275.00",
    "currency": null,
    "condition": "Pre-owned",
    "seller": "example_seller",
    "shipping": "Free shipping",
    "location": null,
    "bids": null,
    "images": ["https://i.ebayimg.com/images/example.jpg"],
    "itemSpecifics": {},
    "description": null,
    "availability": null,
    "sourceSearchUrl": "https://www.ebay.com/sch/i.html?_nkw=iphone+13"
  }
]
```

#### 2. Scrape individual product details

Direct item URLs are processed as product detail pages. Replace the example item ID with a real eBay item ID.

**Input**

```json
{
  "startUrls": [{"url": "https://www.ebay.co.uk/itm/123456789012"}],
  "maxItems": 1
}
```

**Example output — default dataset**

```json
[
  {
    "itemId": "123456789012",
    "url": "https://www.ebay.co.uk/itm/123456789012",
    "title": "Example Digital Camera",
    "price": 149.99,
    "priceText": "£149.99",
    "currency": "GBP",
    "condition": "Used",
    "seller": "camera_shop",
    "shipping": "Standard delivery",
    "location": null,
    "bids": null,
    "images": ["https://i.ebayimg.com/images/camera-example.jpg"],
    "itemSpecifics": {"Brand": "Example", "Model": "Camera X"},
    "description": "Example camera listing description",
    "availability": "InStock",
    "sourceSearchUrl": null
  }
]
```

#### 3. Scrape a seller profile or store

Provide a seller profile (`/usr/`) or store (`/str/`) URL. The Actor stores seller information in the **sellers** dataset and product listings in the default dataset.

**Input**

```json
{
  "startUrls": [{"url": "https://www.ebay.com/usr/example_seller"}],
  "maxItems": 20,
  "maxPages": 2
}
```

**Example output — sellers dataset**

```json
[
  {
    "username": "example_seller",
    "profileUrl": "https://www.ebay.com/usr/example_seller",
    "feedbackCount": 1250,
    "feedbackPercentage": 99.8,
    "rating": null,
    "location": null,
    "totalListedItems": 245,
    "inventoryUrl": "https://www.ebay.com/sch/i.html?_ssn=example_seller"
  }
]
```

**Example output — default dataset**

```json
[
  {
    "itemId": "123456789013",
    "url": "https://www.ebay.com/itm/123456789013",
    "title": "Example Seller Product",
    "price": 45,
    "priceText": "US $45.00",
    "currency": null,
    "condition": "New",
    "seller": "example_seller",
    "shipping": "Free shipping",
    "location": null,
    "bids": null,
    "images": [],
    "itemSpecifics": {},
    "description": null,
    "availability": null,
    "sourceSearchUrl": "https://www.ebay.com/sch/i.html?_ssn=example_seller"
  }
]
```

#### 4. Scrape a seller's inventory using a search URL

Use a seller-filtered search URL when you want product listings from a specific seller.

**Input**

```json
{
  "startUrls": [{"url": "https://www.ebay.com/sch/i.html?_ssn=example_seller"}],
  "maxItems": 50,
  "maxPages": 5,
  "includeDetails": false
}
```

**Example output — default dataset**

```json
[
  {
    "itemId": "123456789014",
    "url": "https://www.ebay.com/itm/123456789014",
    "title": "Example Seller Accessory",
    "price": 19.99,
    "priceText": "US $19.99",
    "currency": null,
    "condition": "New",
    "seller": "example_seller",
    "shipping": "Free shipping",
    "location": null,
    "bids": null,
    "images": [],
    "itemSpecifics": {},
    "description": null,
    "availability": null,
    "sourceSearchUrl": "https://www.ebay.com/sch/i.html?_ssn=example_seller"
  }
]
```

A seller record may also be saved to the **sellers** dataset when the linked seller profile is available.

#### 5. Scrape filtered searches and categories

Apply category, condition, price, or sorting filters on eBay, then copy the resulting search URL. For example, this search requests used products with a maximum price of £200.

**Input**

```json
{
  "startUrls": [{
    "url": "https://www.ebay.co.uk/sch/i.html?_nkw=gaming+monitor&LH_ItemCondition=3000&_udhi=200"
  }],
  "maxItems": 25,
  "maxPages": 3
}
```

**Example output — default dataset**

```json
[
  {
    "itemId": "123456789015",
    "url": "https://www.ebay.co.uk/itm/123456789015",
    "title": "Example Used Gaming Monitor",
    "price": 120,
    "priceText": "£120.00",
    "currency": "GBP",
    "condition": "Used",
    "seller": "monitor_shop",
    "shipping": "£5.00 delivery",
    "location": null,
    "bids": null,
    "images": [],
    "itemSpecifics": {},
    "description": null,
    "availability": null,
    "sourceSearchUrl": "https://www.ebay.co.uk/sch/i.html?_nkw=gaming+monitor&LH_ItemCondition=3000&_udhi=200"
  }
]
```

### Multiple eBay marketplaces

The Actor accepts supported eBay URLs from several countries:

| Country | Marketplace |
| --- | --- |
| United States | `ebay.com` |
| United Kingdom | `ebay.co.uk` |
| Germany | `ebay.de` |
| France | `ebay.fr` |
| Italy | `ebay.it` |
| Spain | `ebay.es` |
| Canada | `ebay.ca` |
| Australia | `ebay.com.au` |
| Netherlands | `ebay.nl` |
| Belgium | `ebay.be` |
| Austria | `ebay.at` |
| Switzerland | `ebay.ch` |
| Ireland | `ebay.ie` |
| Singapore | `ebay.com.sg` |
| Malaysia | `ebay.com.my` |
| Hong Kong | `ebay.com.hk` |
| Philippines | `ebay.ph` |

You can include URLs from multiple marketplaces in one run. The output retains each product's marketplace URL and extracts displayed prices and available currency information.

### Input settings

| Setting | Default | Description |
| --- | --- | --- |
| `startUrls` | Required | eBay search, item, seller profile, or store URLs |
| `maxItems` | 100 | Maximum unique products across the run |
| `maxPages` | 10 | Maximum pages followed per starting search |
| `includeDetails` | `false` | Fetch individual product pages for more fields |
| `requestTimeoutSecs` | 90 | Page request timeout in seconds |
| `maxRequestRetries` | 2 | Retries for failed page requests |

Free users can collect up to **10 products per run**. Paying users can set their own product count with **Maximum items**, without an Actor-imposed cap. Seller profile records are saved separately.

### Working with results

- **Default dataset:** product listings and item details.
- **Sellers dataset:** seller profile information, when collected.
- **Export formats:** JSON, CSV, and Excel from Apify Storage.
- **Deduplication:** products are deduplicated by item ID within each run.
- **Automation:** run on a schedule or integrate with the Apify API.

#### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/voyn~ebay-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":[{"url":"https://www.ebay.com/sch/i.html?_nkw=iphone+13"}],"maxItems":5}'
```

### Frequently asked questions

#### Can I scrape multiple eBay URLs in one run?

Yes. Add multiple URLs to `startUrls`. The `maxItems` setting applies to the entire run.

#### Can I collect seller data and product listings together?

Yes. Seller profile and store URLs can produce a seller record in the **sellers** dataset and product records in the default dataset.

#### Can I get product specifications and images?

Yes. Set `includeDetails` to `true` for search results, or provide direct item URLs.

#### Does the Actor support pagination?

Yes. Use `maxPages` to choose how many search-result pages to visit.

#### Can I use different eBay country websites?

Yes. Use a supported marketplace URL, such as `ebay.com`, `ebay.co.uk`, `ebay.de`, or `ebay.com.au`.

#### How are Sold Items and Completed Items URLs handled?

Those search filters are excluded from collection. The Actor logs the skipped URL and continues with the other URLs in the run.

#### Can I automate collection?

Yes. Use Apify Schedules or the Apify API.

***

Built by **[VOYN Software](https://voyn.com.tr)**.

# Actor input Schema

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

Accepts /sch/ searches, /itm/ items, /usr/ seller profiles and /str/ stores. Sold/completed searches are unsupported and skipped with an error log.

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

Maximum unique items saved across all URLs (free users are limited to 10 items per run).

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

Maximum number of search results pages to visit per starting search URL.

## `includeDetails` (type: `boolean`):

Visit each item's detail page to extract additional seller, shipping, images and item specifics.

## `requestTimeoutSecs` (type: `integer`):

Timeout in seconds for each request to the configured scraper API.

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

Number of times a failed request should be retried.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.ebay.com/sch/i.html?_nkw=iphone+13"
    }
  ],
  "maxItems": 100,
  "maxPages": 10,
  "includeDetails": false,
  "requestTimeoutSecs": 90,
  "maxRequestRetries": 2
}
```

# Actor output Schema

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

Structured eBay search listings and item details, available as JSON, CSV or Excel through 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 = {
    "startUrls": [
        {
            "url": "https://www.ebay.com/sch/i.html?_nkw=iphone+13"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("voyn/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 = { "startUrls": [{ "url": "https://www.ebay.com/sch/i.html?_nkw=iphone+13" }] }

# Run the Actor and wait for it to finish
run = client.actor("voyn/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 '{
  "startUrls": [
    {
      "url": "https://www.ebay.com/sch/i.html?_nkw=iphone+13"
    }
  ]
}' |
apify call voyn/ebay-scraper --silent --output-dataset

```

## MCP server setup

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