# eBay Deals Scraper — Today's Discounted Listings (`thenetaji/ebay-deals-scraper`) Actor

Export everything on eBay's deals page in one run. Each item comes back with its title, discounted price, currency, and image — the fastest way to watch what eBay is promoting. Turn on item details to add condition, brand and specs.

- **URL**: https://apify.com/thenetaji/ebay-deals-scraper.md
- **Developed by:** [The Netaji](https://apify.com/thenetaji) (community)
- **Categories:** E-commerce, Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 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/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 Deals Scraper

The Actor exports the items currently listed on eBay's deals page, saving each one with its title, discounted price and currency, image, item ID, and link. A live run returns roughly 115 items. Enabling `enrichItemDetails` adds the full item page to every row.

```json
{
  "maxItems": 0,
  "enrichItemDetails": false
}
```

### Accepted input

`maxItems` bounds the number of records saved and defaults to `0`, which disables the bound. The default differs from the rest of this domain deliberately: the deals page arrives whole in a single request, so a cap discards rows that have already been fetched rather than saving a request. `enrichItemDetails` defaults to `false`.

There is no keyword, category, or region input. The deals page is a single curated listing that eBay composes itself, and it is returned as eBay presents it.

### Result fields

Each row carries `item_id`, `url`, `title`, `price`, `currency`, and `image_url`. With `enrichItemDetails` enabled each row additionally carries `condition`, `availability`, `images`, `brand`, `mpn`, `gtin`, `model`, `breadcrumbs`, `seller`, `store_name`, and `item_detail`.

```json
{
  "item_id": "157392565949",
  "url": "https://www.ebay.com/itm/157392565949?_trkparms=5373%3A0%7C5374%3AFeatured",
  "title": "adidas women Grand Court 2.0 Shoes",
  "price": 24,
  "currency": "USD",
  "image_url": "https://i.ebayimg.com/images/g/wJAAAeSw1KtqdLPP/s-l400.jpg"
}
```

### Fields a card does not carry

The structured fields are read from the deals page's own markup. Most cards carry all of them, but a card that omits a price, a currency, or an image is saved without that field rather than with a guessed one; `item_id` and `url` are always present. Enabling `enrichItemDetails` fills these gaps from the item's own page, which is the reliable source for anything beyond the card.

Where a card and the item page disagree, the item page wins on enrichment. This matters for two fields in particular: `title` on a deals card is frequently truncated, and `url` carries the tracking parameters eBay stamps onto every promoted link. Enrichment replaces both with the full title and the canonical link, while leaving any field the item page has no value for exactly as the card reported it.

### What the price means

`price` is the promoted price shown on the deals page at the moment of the run. It is a live figure rather than a historical one, and no pre-discount price or discount percentage is published by this listing. Tracking how a promoted price moves therefore requires scheduling the Actor and comparing runs; a single run captures one point in time.

### Related Actors

Scheduling this Actor daily and keying on `item_id` is the usual way to build a price history of what eBay promotes. For a specific set of listings rather than eBay's own selection, use the [eBay Product Scraper](https://apify.com/thenetaji/ebay-product-scraper). For everything in a category rather than everything on promotion, use the [eBay Category Products Scraper](https://apify.com/thenetaji/ebay-category-products-scraper), with the [eBay Category Tree Scraper](https://apify.com/thenetaji/ebay-category-tree-scraper) to find the category link it takes. For a single seller's catalogue, use the [eBay Store Scraper](https://apify.com/thenetaji/ebay-store-scraper).

# Actor input Schema

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

Maximum number of records to save. Set 0 for no limit.

## `enrichItemDetails` (type: `boolean`):

Add the full item page to every row — condition, availability, all images, brand, MPN, GTIN, model, the category path, and the seller's store. This makes one extra request per item.

## Actor input object example

```json
{
  "maxItems": 0,
  "enrichItemDetails": false
}
```

# Actor output Schema

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

All records scraped by this run

# 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 = {
    "maxItems": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/ebay-deals-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 = { "maxItems": 0 }

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

```

## MCP server setup

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