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

Extract eBay product listings at scale with titles, prices, images, seller details, ratings, condition, shipping, availability, and product URLs. Ideal for eBay data scraping, price monitoring, product research, competitor analysis, and e-commerce datasets.

- **URL**: https://apify.com/shahidirfan/ebay-product-listing-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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?

The eBay Product Listing Scraper collects rich product listings from eBay using a keyword, marketplace, seller location, ZIP code, and sorting option. It is useful for eBay market research, competitor monitoring, product sourcing, resale analysis, and price tracking.

Run it with a simple keyword such as `mens jeans` or `wireless keyboard`, choose the eBay marketplace, and set the number of listings and pages to collect. The dataset includes listing URLs, images, prices, conditions, brands, sellers, shipping options, variations, and public listing signals when available.

The dataset includes listing identifiers, product titles, prices, currencies, original prices, conditions, availability, brands, images, attributes, sellers, seller feedback, shipping choices, item locations, variations, dates, and search metadata.

Empty and always-null properties are removed before records are saved, so each dataset item contains only values returned for that listing.

### Why use it?

- Monitor products and competitors across eBay marketplaces.
- Build product catalogs and price research datasets.
- Collect search results for resale, sourcing, and market analysis.
- Run scheduled searches with consistent pagination and deduplication.
- Send clean records to APIs, warehouses, spreadsheets, or automation tools.

### How to use eBay Product Listing Scraper

1. Open the Actor in Apify Console.
2. Enter a product keyword and choose an eBay marketplace.
3. Optionally set a seller location, ZIP code, sorting order, result count, and page limit.
4. Run the Actor and review the dataset preview.
5. Download the results as JSON, CSV, Excel, XML, or another supported dataset format, or connect the run to an integration.

The input form is the priority for each run. `INPUT.json` is used only for local execution when no input values are supplied.

### Input parameters

All inputs are optional. The Actor uses the values supplied in the run input. `INPUT.json` is only the local fallback when no run input is provided.

| Field                | Type    | Description                                                                                  | Default                 |
| -------------------- | ------- | -------------------------------------------------------------------------------------------- | ----------------------- |
| `keyword`            | string  | Product search phrase, such as `mens jeans` or `wireless keyboard`.                          | `mens jeans`            |
| `marketplace`        | string  | eBay hostname, such as `www.ebay.com`, `www.ebay.co.uk`, or `www.ebay.nl`.                   | `www.ebay.com`          |
| `location`           | string  | Seller location or US ZIP code used for the search.                                          | Empty                   |
| `sorting`            | string  | `best_match`, `newly_listed`, `ending_soonest`, `price_low_to_high`, or `price_high_to_low`. | `best_match`            |
| `results_wanted`     | integer | Maximum number of listings to save.                                                          | `20`                    |
| `max_pages`          | integer | Maximum number of eBay result pages to request.                                              | `2`                     |
| `proxyConfiguration` | object  | Apify Proxy settings. Residential proxies are recommended for reliable eBay access.          | Apify Residential Proxy |

### Usage examples

#### Basic keyword search

```json
{
    "keyword": "mens jeans",
    "results_wanted": 20,
    "max_pages": 2
}
```

#### Marketplace and location search

```json
{
    "keyword": "wireless mechanical keyboard",
    "marketplace": "www.ebay.nl",
    "location": "United States",
    "sorting": "newly_listed",
    "results_wanted": 20
}
```

#### Larger monitored search

```json
{
    "keyword": "vintage camera",
    "marketplace": "www.ebay.co.uk",
    "sorting": "price_low_to_high",
    "results_wanted": 100,
    "max_pages": 4,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    }
}
```

### What data can you extract from eBay?

Each dataset item includes the discovery fields below and any non-empty rich fields published by the listing.

| Field                                                  | Description                                                                    |
| ------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `item_id`                                              | eBay listing identifier.                                                       |
| `title`                                                | Product title.                                                                 |
| `url`                                                  | Direct listing URL.                                                            |
| `image_url`, `images`                                  | Primary and additional product images.                                         |
| `price`, `currency`                                    | Current listing price and currency.                                            |
| `original_price`                                       | Original or reference price when shown.                                        |
| `condition`, `availability`                            | Item condition and stock state.                                                |
| `brand`, `attributes`                                  | Brand and item-specific properties such as department, style, type, or colour. |
| `seller`, `seller_feedback`                            | Seller name and visible seller feedback summary.                               |
| `item_location`, `shipping`                            | Item location and available shipping options.                                  |
| `variants`                                             | Variation IDs, prices, stock text, and out-of-stock state when applicable.     |
| `start_date`, `end_date`, `listing_status`             | Listing lifecycle details.                                                     |
| `watch_count`, `sold_count`, `cart_count`, `views_24h` | Public engagement signals when available.                                      |
| `marketplace`, `keyword`, `search_url`, `page`         | Search context for the record.                                                 |
| `source`                                               | Source platform name, normally `eBay`.                                         |

#### Sample output

```json
{
    "item_id": "318033714372",
    "title": "Mens Motorcycle Riding Jeans Size 38 Grey Denim",
    "url": "https://www.ebay.co.uk/itm/318033714372",
    "image_url": "https://i.ebayimg.com/images/g/hh4AAeSwGB9p1BIg/s-l500.webp",
    "images": [
        "https://i.ebayimg.com/images/g/hh4AAeSwGB9p1BIg/s-l1600.webp",
        "https://i.ebayimg.com/images/g/ircAAeSwJHtp1BIg/s-l1600.webp"
    ],
    "price": 7.2,
    "currency": "GBP",
    "original_price": 39.5,
    "condition": "New with tags",
    "availability": "InStock",
    "brand": "Marks & Spencer",
    "attributes": {
        "Department": "Women",
        "Style": "Jeans",
        "Colour": "Black"
    },
    "seller": "reskinned",
    "seller_feedback": "99.5% positive Feedback 381K items sold",
    "item_location": "London, United Kingdom",
    "shipping": [
        { "cost": 27.43, "currency": "GBP", "country": "PAK" },
        { "cost": 1.95, "currency": "GBP", "country": "GBR" }
    ],
    "end_date": "2026-09-20T11:08:19.000Z",
    "listing_status": "ACTIVE",
    "watch_count": 35,
    "sold_count": 29,
    "source": "eBay",
    "marketplace": "www.ebay.co.uk",
    "keyword": "jeans",
    "search_url": "https://www.ebay.co.uk/sch/i.html?_nkw=jeans&_sop=12&_pgn=1&_ipg=60&rt=nc",
    "page": 1
}
```

### Tips for best results

- Start with 20 results and one or two pages while checking the output.
- Use a specific marketplace when currency, seller location, and shipping context matter.
- Use Apify Residential Proxy when eBay returns an access-denied or anti-bot response.
- Keep `max_pages` proportional to `results_wanted`, because rich fields are collected for each selected listing.

### Integrations

Connect the dataset to Google Sheets, Airtable, Make, Zapier, webhooks, or your own API using Apify integrations. Results can be downloaded as JSON, CSV, Excel, XML, RSS, or HTML from the dataset page.

### Frequently Asked Questions

#### Why did a run return no results?

Check that the keyword and marketplace are valid, the result limit is greater than zero, and Apify Residential Proxy is enabled. eBay may temporarily challenge direct access, especially for larger runs.

#### Does the Actor collect price and seller details?

Yes. The Actor collects each selected listing's publicly available product, price, seller, shipping, and item-specific details when eBay publishes them.

#### Are empty properties included?

No. Empty, null, undefined, and empty collection values are omitted from each saved record.

#### Can I export eBay results to CSV or Excel?

Yes. Apify datasets can be downloaded as CSV, Excel, JSON, XML, and other supported formats.

#### Can I schedule recurring eBay searches?

Yes. Schedule the Actor in Apify Console to refresh product, price, seller, or availability data on a recurring basis.

### Related Actors

For other ecommerce product datasets from the same developer, see these verified public Actors:

- [Zara Product Scraper](https://apify.com/shahidirfan/zara-product-scraper)
- [Shein Product Scraper](https://apify.com/shahidirfan/shein-product-scraper)
- [Target Product Scraper](https://apify.com/shahidirfan/target-product-scraper)

### Support

For bugs or feature requests, use the Issues tab on the Actor page. Include the eBay marketplace, a sanitized input example, the run ID, and the error message.

### Legal

This Actor is an independent data collection tool and is not affiliated with or endorsed by eBay. Use it responsibly, respect eBay's Terms of Service and applicable laws, and collect only data you are permitted to access and use.

# Actor input Schema

## `keyword` (type: `string`):

Product keyword to search for, for example mens jeans or wireless keyboard.

## `marketplace` (type: `string`):

eBay marketplace to search, such as www.ebay.com or www.ebay.nl.

## `location` (type: `string`):

Optional seller location or US ZIP code used when building a search URL.

## `sorting` (type: `string`):

Sort order used when building a search URL.

## `results_wanted` (type: `integer`):

Maximum number of listings to save.

## `max_pages` (type: `integer`):

Maximum number of eBay result pages to request.

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

Use Apify Residential Proxy for reliable access to eBay search pages.

## Actor input object example

```json
{
  "keyword": "mens jeans",
  "marketplace": "www.ebay.com",
  "sorting": "best_match",
  "results_wanted": 20,
  "max_pages": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "keyword": "mens jeans",
    "marketplace": "www.ebay.com",
    "sorting": "best_match",
    "results_wanted": 20,
    "max_pages": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/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 = {
    "keyword": "mens jeans",
    "marketplace": "www.ebay.com",
    "sorting": "best_match",
    "results_wanted": 20,
    "max_pages": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/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 '{
  "keyword": "mens jeans",
  "marketplace": "www.ebay.com",
  "sorting": "best_match",
  "results_wanted": 20,
  "max_pages": 2
}' |
apify call shahidirfan/ebay-product-listing-scraper --silent --output-dataset

```

## MCP server setup

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