# eBay Deal Hubs & Price-Drop Monitor (`crawlyth-forge/ebay-deals-tracker`) Actor

Track eBay's curated deal hubs across eight marketplaces. Get deal prices, original prices, discount percentages, free shipping, refurbishment badges and per-hub discount summaries, plus a monitor mode that returns only new deals and price drops.

- **URL**: https://apify.com/crawlyth-forge/ebay-deals-tracker.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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/actors/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 Deal Hubs & Price-Drop Monitor

Explore eBay's curated deal pages without a login. This actor reads the hub menus eBay builds for
its own promotions — featured deals, tech, fashion, home and garden, collectibles, automotive,
health and beauty, sports, toys and more — and returns one clean row per discounted item. It reads
the same public pages in eight marketplaces, keeps prices in the site's own currency, and can turn
a scheduled run into a new-deal and price-drop feed.

Every row is real data from the deal card: item ID, title, canonical link, image, deal price,
original price, discount percentage and amount, free-shipping text, condition badge, urgency text
and the hub it came from. A second set of summary rows gives each hub's deal count, median
discount and price range.

The actor needs no eBay account, cookies, developer key or proxy configuration.

### What you get

Each deal row carries:

- item ID, full title and a clean `https://www.ebay.com/itm/<id>` link with tracking parameters removed
- the hub slug, human-readable hub name and hub URL that surfaced the deal
- deal price as a number and as displayed text, plus the currency
- original or "previous" price and the discount percentage and amount when the card publishes them
- free-shipping flag and the exact shipping text when the card states it
- condition from the card's badge, including eBay Refurbished
- urgency flags: `almostGone`, `limitedTime` and the raw availability note
- units sold and quantity remaining when the hub card prints them
- `firstSeenAt`, `lastSeenAt`, and in monitor mode `isNew`, `isPriceDrop`, `previousPrice`,
  `priceChange` and `priceChangePercent`
- every hub the item appeared in, across the selected marketplace

Each summary row carries:

- marketplace, hub slug, hub name and hub URL
- deals seen on the page and deals returned after filters
- median and average discount, minimum/median/maximum price and currency
- free-shipping, refurbished and almost-gone counts
- in monitor mode, new-deal and price-drop counts

### Deal hub groups

Each group follows the marketplace's own hub menu and includes its subcategories. The groups are:

| Group | Covers |
|---|---|
| `featured` | The marketplace's front deal page |
| `tech` | Tech, electronics, phones, cameras, audio, gaming and computing hubs |
| `fashion` | Fashion, jewellery, watches, clothing, shoes, bags and accessories |
| `homeGarden` | Home, garden, kitchen, furniture, tools, appliances and outdoor living |
| `collectibles` | Collectibles, art, coins and bullion hubs |
| `motors` | Automotive, car parts, tyres and garage hubs |
| `healthBeauty` | Health, beauty, personal care and wellness hubs |
| `sports` | Sports, fitness, outdoor, camping, cycling and golf hubs |
| `toys` | Toys, hobbies and model hubs |
| `businessIndustrial` | Business, industrial, office and workshop hubs |
| `coins` | Coin, bullion and precious-metal hubs |
| `all` | Every hub page in the marketplace's menu |

The US site uses the full Global Deals menu (about 35 pages). The UK, German, Australian, Canadian,
French, Italian and Spanish sites use their own Deals menus. Hubs vary by marketplace and season,
so a group can be empty on one site and rich on another.

### How monitor mode works

Monitor mode saves the last deal price for each matching item under a monitor key in the actor's
key-value store. The first monitor run is the baseline: every matching deal is returned as new. On
later runs, only deals that were not present before and deals whose price fell are returned. Every
matching deal seen on a successful page is recorded, even when `maxItems` caps the rows delivered,
so the next run does not report it as new again. Summary rows then show how many changes each hub
produced.

Use the same `monitorKey` on every scheduled run. Use a different key for a different hub set or
filter set. `resetMonitorState` clears the baseline before the run, so every current deal is new
again. The state is kept per monitor key and marketplace. A failed or empty page never overwrites a
marketplace's saved prices.

### Input

| Field | Default | What it does |
|---|---|---|
| `marketplaces` | `["US"]` | eBay sites to read: US, GB, DE, AU, CA, FR, IT or ES |
| `hubs` | `["featured"]` | Hub groups to read; `all` walks the whole menu |
| `customHubUrls` | – | Extra deal hub URLs or paths to add |
| `keyword` | – | Keep only titles containing every word |
| `excludeKeywords` | – | Drop titles containing any of these words |
| `minDiscountPercent` | `0` | Minimum published discount |
| `minPrice` | – | Lowest deal price to keep |
| `maxPrice` | – | Highest deal price to keep |
| `freeShippingOnly` | `false` | Keep only cards that state free shipping |
| `condition` | `any` | Any, new, refurbished, used or for parts when the card has a badge |
| `monitorMode` | `false` | Return only new deals and price drops |
| `monitorChangeTypes` | `["new", "priceDrop"]` | Which changes monitor mode returns |
| `monitorKey` | `default` | Name of the saved price baseline |
| `resetMonitorState` | `false` | Clear the baseline before this run |
| `sortBy` | `hubOrder` | Hub order, biggest discount, lowest price or highest price |
| `maxItems` | `100` | Maximum deal rows; summary rows are extra |
| `maxHubPages` | `60` | Safety cap on hub pages per marketplace |
| `includeSummary` | `true` | Add one summary row per hub |

The smallest useful run reads the US featured hub, returns five deal rows and one hub summary.

### Examples

Featured deals on the US site:

```json
{
  "marketplaces": ["US"],
  "hubs": ["featured"],
  "maxItems": 20
}
```

All US tech hubs, biggest discounts first:

```json
{
  "marketplaces": ["US"],
  "hubs": ["tech"],
  "minDiscountPercent": 15,
  "sortBy": "discountHigh",
  "maxItems": 100
}
```

A daily new-deal and price-drop feed for UK and German deals:

```json
{
  "marketplaces": ["GB", "DE"],
  "hubs": ["all"],
  "monitorMode": true,
  "monitorKey": "uk-de-daily",
  "sortBy": "discountHigh",
  "maxItems": 50
}
```

Fashion and home deals under 100 in local currency with free shipping:

```json
{
  "marketplaces": ["US"],
  "hubs": ["fashion", "homeGarden"],
  "maxPrice": 100,
  "freeShippingOnly": true,
  "maxItems": 50
}
```

### Use cases

- Watch eBay's promoted deals without opening each hub page.
- Build a daily feed of new discounts in a category.
- Catch price drops on items eBay keeps promoting.
- Compare discount depth and price ranges between hubs and marketplaces.
- Feed a resale or sourcing workflow with item links, prices and discount percentages.

### Limits

- eBay's deal cards do not print a seller username or feedback score. The actor does not guess
  them, and it does not read individual item pages, which eBay blocks for signed-out datacenter
  requests. Seller and feedback fields are therefore not part of the output.
- Condition comes only from a card badge. Most cards show no condition, and those rows omit the
  field rather than guessing.
- Original price and discount exist only when the card shows them. Deals without a published
  discount omit those fields and are excluded when `minDiscountPercent` is above zero.
- Hub pages are curated lists, not search results. There is no pagination beyond the links eBay
  puts in the menu, so the number of deals per hub changes throughout the day.
- A hub can legitimately return zero deals. If every selected page is blocked, the run fails with a
  clear error instead of saving an empty result.

### FAQ

**Does this need an eBay account or cookies?**
No. It reads public deal pages.

**Can it track a keyword instead of a hub?**
Use `keyword` as a title filter on top of the hub groups. For eBay search results, use a dedicated
eBay search actor.

**Why did monitor mode return nothing?**
Nothing new appeared and no saved price fell since the last run. The summary rows still show what
was read. The first monitor run is the baseline and returns everything as new.

**Does the price include shipping?**
No. `price` is the promoted deal price. Shipping is reported separately when the card states it.

**Can I watch a hub that is not in the menu?**
Yes. Paste its URL or path into `customHubUrls`.

**Why do counts differ between runs?**
eBay rotates the deal cards and the hub menu. The actor returns what is live at run time.

# Actor input Schema

## `marketplaces` (type: `array`):

eBay sites to read. The United States has the full Global Deals hub tree; the other sites expose their own curated Deals hub tree. Prices come back in each site's currency.

## `hubs` (type: `array`):

Curated deal sections to read. Each group follows the marketplace's own hub menu, including its subcategories. Select all to walk every hub page in the menu.

## `customHubUrls` (type: `array`):

Optional eBay deal hub URLs or paths to add to the selected groups, for example a campaign page under /deals/featured or /globaldeals.

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

Only keep deals whose title contains every word in this filter. Leave empty to keep every deal.

## `excludeKeywords` (type: `array`):

Drop deals whose title contains any of these words.

## `minDiscountPercent` (type: `number`):

Only keep deals showing at least this discount. Deals without a published original price and discount are dropped when this is above zero.

## `minPrice` (type: `number`):

Lowest deal price to keep, in the marketplace currency. Leave empty for no minimum.

## `maxPrice` (type: `number`):

Highest deal price to keep, in the marketplace currency. Leave empty for no maximum.

## `freeShippingOnly` (type: `boolean`):

Keep only deals whose card states free shipping or free postage.

## `condition` (type: `string`):

Keep only deals whose card carries a condition badge. eBay's deal cards label refurbished stock most consistently; other conditions are omitted when the card does not state one.

## `monitorMode` (type: `boolean`):

Compare this run with the previous run in the same monitor key and return only new deals and price drops. The first monitor run is the baseline.

## `monitorChangeTypes` (type: `array`):

Which changes monitor mode should return. New deals are items not present in the previous run; price drops are items whose deal price fell.

## `monitorKey` (type: `string`):

Name for this monitor. Use the same key on every scheduled run; use a different key for another set of hubs or filters.

## `resetMonitorState` (type: `boolean`):

Clear the saved prices for this monitor key before the run, so every current deal is treated as new.

## `sortBy` (type: `string`):

Order of the deal rows across all selected hubs and marketplaces.

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

Total deal rows to save. Summary rows are not counted against this limit.

## `maxHubPages` (type: `integer`):

Safety cap on hub pages read per marketplace. The full US menu is about 35 pages and the largest international menu is about 50.

## `includeSummary` (type: `boolean`):

Add one summary row per hub with deal counts, median discount and price range.

## Actor input object example

```json
{
  "marketplaces": [
    "US"
  ],
  "hubs": [
    "featured"
  ],
  "minDiscountPercent": 0,
  "freeShippingOnly": false,
  "condition": "any",
  "monitorMode": false,
  "monitorChangeTypes": [
    "new",
    "priceDrop"
  ],
  "monitorKey": "default",
  "resetMonitorState": false,
  "sortBy": "hubOrder",
  "maxItems": 5,
  "maxHubPages": 60,
  "includeSummary": true
}
```

# Actor output Schema

## `deals` (type: `string`):

One row per deal with item ID, title, hub, deal price, original price, discount, shipping, condition and first-seen time.

## `summaries` (type: `string`):

One row per hub with deals seen, deal count, median discount, price range and monitor change counts.

# 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 = {
    "marketplaces": [
        "US"
    ],
    "hubs": [
        "featured"
    ],
    "minDiscountPercent": 0,
    "freeShippingOnly": false,
    "condition": "any",
    "monitorMode": false,
    "monitorChangeTypes": [
        "new",
        "priceDrop"
    ],
    "monitorKey": "default",
    "resetMonitorState": false,
    "sortBy": "hubOrder",
    "maxItems": 5,
    "maxHubPages": 60,
    "includeSummary": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/ebay-deals-tracker").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 = {
    "marketplaces": ["US"],
    "hubs": ["featured"],
    "minDiscountPercent": 0,
    "freeShippingOnly": False,
    "condition": "any",
    "monitorMode": False,
    "monitorChangeTypes": [
        "new",
        "priceDrop",
    ],
    "monitorKey": "default",
    "resetMonitorState": False,
    "sortBy": "hubOrder",
    "maxItems": 5,
    "maxHubPages": 60,
    "includeSummary": True,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/ebay-deals-tracker").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 '{
  "marketplaces": [
    "US"
  ],
  "hubs": [
    "featured"
  ],
  "minDiscountPercent": 0,
  "freeShippingOnly": false,
  "condition": "any",
  "monitorMode": false,
  "monitorChangeTypes": [
    "new",
    "priceDrop"
  ],
  "monitorKey": "default",
  "resetMonitorState": false,
  "sortBy": "hubOrder",
  "maxItems": 5,
  "maxHubPages": 60,
  "includeSummary": true
}' |
apify call crawlyth-forge/ebay-deals-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/ebay-deals-tracker"
        }
    }
}
```

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/SllnSJLi2gHXLpwsR/builds/IxPFMLfErciFjbQbw/openapi.json
