# eBay Search Scraper with AI Product Data (`webdatalabs/ebay-deal-finder`) Actor

Scrape any eBay search across 8 marketplaces: one flat row per active listing with title, item ID, price, condition, image and direct URL. GPT-4o-mini adds brand, model and category from messy titles in any language. Active asking prices only - eBay no longer serves sold prices logged out.

- **URL**: https://apify.com/webdatalabs/ebay-deal-finder.md
- **Developed by:** [WebDataLabs](https://apify.com/webdatalabs) (community)
- **Categories:** E-commerce, Business, AI
- **Features:** Limited permissions
- **Stats:** 442 total users, 0 monthly users, 85.2% runs succeeded, 7 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 listing scraped.s

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 Search Scraper with AI Product Data

> Scrape any eBay search on **8 marketplaces** and get one clean, flat row per listing — item ID, title, price, currency, condition, listing type, image and direct URL — with **GPT-4o-mini turning messy multi-language titles into structured brand / model / variant / category fields**.

### What you get

One row per live listing, ready for a spreadsheet, a database or an AI agent.

- **The listing, complete.** eBay item ID, cleaned title, direct URL, price in the marketplace's own currency, condition, fixed-price vs auction, Best Offer flag and image.
- **Auction detail.** Auction rows carry the bid count, and — whenever eBay renders a countdown on the card — the hours remaining and an ISO close timestamp.
- **AI product normalisation.** GPT-4o-mini reads each title in any language and returns `brand`, `model`, `variant`, `productCategory` and `isAccessory`. "Sony Alpha 700 Spiegelreflex Kamera mit 2 Objektiven" becomes brand `Sony`, model `Alpha 700`, category `camera`.
- **Condition in one language.** eBay's per-country condition wording ("Gebraucht", "Occasion", "Pre-Owned") is mapped to a single English set so a multi-marketplace dataset filters with one expression.
- **Price-change tracking.** Re-run the same search and each row is marked `NEW`, `PRICE_DROP` (with `previousPrice`) or `UNCHANGED`.
- **8 marketplaces.** US, UK, Germany, France, Italy, Spain, Australia, Canada.

### What this actor does NOT do

It does not estimate market value, score deals, or predict profit.

eBay's sold/completed **search** now requires a signed-in account — verified 2026-07-27 across all eight marketplaces, every IP, every browser fingerprint and every locale: the request is answered with a redirect to the sign-in page. Without real sold comparables, any "market value", "deal score" or "potential profit" would be a number we made up. So those fields are gone rather than guessed. What is left is real, and every field in it is documented below.

### How you're billed

Pay-per-event, charged **per listing delivered to the dataset**. A query that eBay says has no exact matches delivers nothing and costs nothing beyond the actor start.

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| **searchQuery** | String | What to search for on eBay. Quotes, commas, curly quotes and non-English words all work. | `iphone 13 pro` |
| **locale** | Dropdown | eBay marketplace: US, UK, DE, FR, IT, ES, AU, CA | `US` |
| **maxActiveListings** | Number | How many listings to return (10–200) | `50` |
| **trackPriceHistory** | Boolean | Remember prices between runs to report `PRICE_DROP` | `true` |
| **proxyConfiguration** | Proxy | Residential strongly recommended | Apify Residential |

Inputs from older versions of this actor (`minProfitAmount`, `minProfitPercent`, `auctionEndingWithinHours`, `maxBidCount`, `allowSimilarComparables`, `maxSoldListings`, `dealTypes`) are **accepted and ignored**, with a warning naming them — existing saved tasks and schedules keep running instead of breaking.

### Output

A verbatim record from a verification run (`consola playstation 5` on ebay.es):

```json
{
  "productId": "227445925297",
  "title": "Sony PlayStation 5 PS5 825GB Edición Disco (CFI-1215A) con Mando y Cables",
  "url": "https://www.ebay.es/itm/227445925297",
  "currentPrice": 241.89,
  "currency": "EUR",
  "condition": "Used",
  "listingType": "auction",
  "acceptsBestOffer": false,
  "imageUrl": "https://i.ebayimg.com/images/g/T0oAAeSwdhFqUWae/s-l140.jpg",
  "bidCount": 42,
  "auctionEndsAt": "2026-07-31T14:46:35.786Z",
  "hoursRemaining": 72,
  "brand": "Sony",
  "model": "PlayStation 5",
  "variant": "825GB Edición Disco (CFI-1215A)",
  "productCategory": "console",
  "isAccessory": false,
  "changeType": "UNCHANGED",
  "previousPrice": null,
  "searchQuery": "consola playstation 5",
  "marketplace": "ES",
  "scrapedAt": "2026-07-28T14:46:57.911Z"
}
```

Note `condition: "Used"` — eBay.es displayed "Usado"; every marketplace's wording is mapped to the same English set.

#### Fields

| Field | Type | Always populated? |
|-------|------|-------------------|
| `productId` | string | Yes — eBay's item ID |
| `title` | string | Yes |
| `url` | string | Yes |
| `currentPrice` | number | Yes — cards with no readable price are skipped, never delivered empty |
| `currency` | string | Yes — ISO 4217, the marketplace's own; no FX is applied |
| `condition` | string | null | `New`, `New (Other)`, `Open Box`, `Pre-owned`, `Used`, `Refurbished`, `For Parts`. Null when eBay's card shows no condition |
| `listingType` | string | Yes — `auction`, `buy_it_now` or `classified` |
| `acceptsBestOffer` | boolean | Yes |
| `imageUrl` | string | null | Null only if eBay served no image |
| `bidCount` | number | null | Auctions only — null (not `0`) for fixed-price. This is the reliable "is it an auction" signal |
| `auctionEndsAt` | string | null | ISO 8601. Auctions only, and only where eBay's card shows a countdown |
| `hoursRemaining` | number | null | Same coverage as `auctionEndsAt` |
| `brand` | string | null | AI. Null when the title names no brand |
| `model` | string | null | AI. Null when the title states no concrete model |
| `variant` | string | null | AI. Storage / size / colour / generation |
| `productCategory` | string | null | AI. One of 42 categories |
| `isAccessory` | boolean | null | AI. A filter you can apply — this actor never drops a row because of it |
| `changeType` | string | null | `NEW`, `PRICE_DROP`, `UNCHANGED`. Null when price history is off |
| `previousPrice` | number | null | Only when `changeType` is `PRICE_DROP` |
| `searchQuery`, `marketplace`, `scrapedAt` | string | Yes |

#### Views

**Overview** (price, condition, link) · **AI product data** (brand/model/variant/category) · **Auctions** (bids, hours left, close time) · **Full record**.

### Honest coverage numbers

Measured over **1,050 rows across 24 runs on all 8 marketplaces**, 2026-07-28:

A field that cannot be read from the listing is `null`. It is never guessed, defaulted, or filled with a placeholder, so a `null` means eBay did not publish it rather than that the scraper failed.

| Field | When it is null |
|-------|-----------------|
| id, title, url, price, currency, listing type, Best Offer, image | Never. These come from every card |
| `productCategory` | The listing fits none of the 42 categories |
| `condition` | eBay shows no condition on some cards, which varies by marketplace |
| `brand` | The title names no brand |
| `model` | The title states no concrete model |
| `variant` | The title states no storage, size, or colour |
| `bidCount` | Fixed-price listings, by design |
| `auctionEndsAt`, `hoursRemaining` | eBay omits the countdown on one of its two card layouts |

The AI fields are ranges because they depend on how descriptive the titles are. A phone or camera search sits at the top of each range; a search that returns bundles and in-game items ("ALL Event Pokémon bundle distributions") sits at the bottom, because those listings genuinely have no brand or model to extract. The model is instructed to return `null` rather than guess.

Nothing is ever filled with `"Unknown"`, `"N/A"` or a `0` price. A field that cannot be known is `null` and says so here.

Verified in the same rounds: zero rows containing HTML, `[object Object]`, placeholder strings, duplicate item IDs, or mis-parsed European decimals; `listingType` and `bidCount` never disagreed; and the delivered row count equalled the dataset item count and the charged event count on every run.

### Reliability

- eBay's **sign-in wall** and its localized **"Security measure"** interstitial are both HTTP 200 pages. This actor classifies the page body and treats them as a **block** — it fails loudly rather than reporting them as a successful scrape of zero listings.
- A query that genuinely has no exact matches **succeeds with zero rows** and says so. eBay's "you might also like" substitutes are not delivered and not billed, because they are not what you searched for.
- Every run writes a machine-readable `OUTPUT` record to the key-value store: `rowsPushedToDataset`, `rowsCharged`, `aiEnriched`, `pagesFetched`, `cardsDroppedNoPrice`, `countsReconcile` and any warnings. The delivered row count is checked against the dataset's own item count.
- The run is bounded by a wall-clock budget, so a bad stretch of proxy IPs produces a fast partial result instead of an hour of billed compute.

### Use cases

- **Price research** — what a model actually lists for, across 8 countries, in one dataset
- **Reseller sourcing** — filter by condition, Best Offer, or auctions ending soon
- **Catalogue building** — messy marketplace titles normalised into brand / model / variant
- **Repricing & monitoring** — schedule the same search and read `PRICE_DROP`
- **Automation** — feed n8n, Zapier or Make; the flat one-record-per-listing shape needs no reshaping

### Limitations, stated up front

- **Active listings only.** eBay's sold/completed search requires a signed-in account, so no sold prices, no market value and no deal scoring — see above.
- **Up to 200 listings per run** (eBay serves 60 per page; this actor reads at most 5 pages).
- **eBay truncates long titles** on its search-results page with a trailing `...`. That ellipsis is eBay's; the full title exists only on the listing page.
- **AI fields need `OPENAI_API_KEY`.** Without it every listing is still delivered, with the five AI fields `null` and a warning in the run output.
- **No currency conversion, anywhere.** Prices are in the searched marketplace's currency.
- **`hoursRemaining` is eBay's own countdown** at fetch time, so `auctionEndsAt` is accurate to about a minute.

### Related actors

- [Kleinanzeigen Scraper](https://apify.com/webdatalabs/ebay-kleinanzeigen-scraper) — German classifieds listings, prices and locations
- [Facebook Marketplace Scraper](https://apify.com/webdatalabs/facebook-marketplace-deal-finder) — Marketplace listings, prices and locations
- [Vinted Scraper - Listings, Prices, Brands & Sizes](https://apify.com/webdatalabs/vinted-scraper-pro) — listings, prices, brands and sizes
- [Whatnot Scraper - Shows, Listings & Seller Intel](https://apify.com/webdatalabs/whatnot-marketplace-intelligence) — live shows, listings and seller intel
- [AliExpress Scraper — Products, Prices, Variants & Sales Signals](https://apify.com/webdatalabs/aliexpress-product-intelligence) — products, prices, variants and sales signals

Explore the full portfolio from [WebDataLabs](https://apify.com/webdatalabs).

### Support

Found a bug, or need a field that is missing? Open an issue on the **Issues** tab of this Actor and
it will be picked up there. You can also reach WebDataLabs through the support channel on our
[Store profile](https://apify.com/webdatalabs).

# Actor input Schema

## `searchQuery` (type: `string`):

What to search for on eBay. Anything you would type into eBay's own search box works, including quotes, commas and non-English words.

## `locale` (type: `string`):

Which eBay site to search. Prices are returned in that site's own currency; no exchange rate is applied.

## `maxActiveListings` (type: `integer`):

How many live listings to return. eBay serves up to 60 per page and this actor reads at most 5 pages.

## `trackPriceHistory` (type: `boolean`):

Remember prices between runs so repeat runs of the same search can report NEW, PRICE_DROP or UNCHANGED per listing

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

Residential proxies recommended - eBay is more likely to serve datacenter IPs a block page

## Actor input object example

```json
{
  "searchQuery": "iphone 13 pro",
  "locale": "US",
  "maxActiveListings": 50,
  "trackPriceHistory": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `products` (type: `string`):

No description

## `auctions` (type: `string`):

No description

## `full` (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 = {
    "searchQuery": "iphone 13 pro",
    "maxActiveListings": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdatalabs/ebay-deal-finder").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 = {
    "searchQuery": "iphone 13 pro",
    "maxActiveListings": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("webdatalabs/ebay-deal-finder").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 '{
  "searchQuery": "iphone 13 pro",
  "maxActiveListings": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call webdatalabs/ebay-deal-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webdatalabs/ebay-deal-finder"
        }
    }
}
```

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/0pDpUgfFsdCpwZLFT/builds/eVkRVNi28iWl6gi9c/openapi.json
