# eBay Scraper - Fast Listings, Sold Comps, Deals & Market Facets (`jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets`) Actor

Fast eBay scraper with no proxy required. Extract search results, category listings, sold comps, Best Offer & auction data, seller details, and market facets.

- **URL**: https://apify.com/jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets.md
- **Developed by:** [Some Data Guy](https://apify.com/jinef) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 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.

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 Scraper - Fast Listings, Sold Comps, Deals & Market Facets

Collect eBay search results and category listings. Paste a few keywords, or
copy any eBay search or category URL straight from your browser. The actor
returns one clean row per listing with price, currency, condition, shipping,
seller and item URL.

**No proxy required.** A proxy is optional, for large or frequent production
runs.

### What it does

- **Keywords, search URLs and category pages.** Paste `puma shoes`, a filtered
  eBay search URL, or a `/b/` category page. Every filter in the URL is kept.
- **Sponsored filtering that respects your limit.** With `excludeSponsored`,
  sponsored placements are removed before `maxItems` is counted, so the cap is
  spent on organic listings only.
- **Market facets and price histogram.** For each search you get counts across
  the whole result set by condition, brand, buying format, material and more,
  plus a price distribution. No extra requests.
- **Deep commercial and auction fields.** `best_offer_accepted`, `sold_at`,
  `bid_count`, `time_left`, `ended_at`, `previous_price`, `discount_percent`,
  `watch_count`, `just_listed`, `quantity`, `variation_id` and
  `item_specifics`.
- **Structured seller details.** `name`, `feedback_count`, `feedback_percent`
  and `has_store` as separate fields, with no text parsing needed.
- **Category and HD image per listing.** `item_category_id` is each
  listing's own eBay category, even for keyword searches, and `image_large`
  links a 1600 px image next to the thumbnail.
- **Sold and completed listings** across 17 marketplaces, in local currencies.

### Input

```json
{
  "searches": [
    "iphone 15 pro",
    "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5",
    "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094",
    "https://www.ebay.com/b/256-GB-Android-Cell-Phones-Smartphones/9355/bn_80188403?Brand=Apple%7CSamsung&mag=1&rt=nc"
  ],
  "maxPages": 1,
  "maxItems": 500,
  "excludeSponsored": false
}
```

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `searches` | array | required | Plain keywords or full eBay search/category URLs. |
| `marketplaces` | array | `["ebay.com"]` | Used for plain keywords only. URLs use their own domain. |
| `maxPages` | integer | `1` | Result pages per search (max `100`). |
| `maxItems` | integer | `1000` | Stop after this many listings in total, across all searches. |
| `sold` | boolean | `false` | Collect only sold/completed listings. |
| `excludeSponsored` | boolean | `false` | Drop sponsored placements before counting `maxItems`. |
| `requestDelayMillis` | integer | `300` | Pause between result pages and between searches, in milliseconds. |
| `proxyConfiguration` | object | off | Optional. No proxy is needed; enable Apify Proxy for large or frequent runs. |

#### Searches you can paste

| Input | What it collects |
| --- | --- |
| `iphone 15 pro` | Normal keyword search. |
| `https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5` | Puma shoes, keeping the location filter from the URL. |
| `https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094` | All listings in the Cell Phones & Smartphones category. |
| `https://www.ebay.com/b/256-GB-Android-Cell-Phones-Smartphones/9355/bn_80188403?Brand=Apple%7CSamsung&mag=1&rt=nc` | 256 GB Android phones from Apple or Samsung. |

All URL filters are kept: brand, storage, condition, price range, item
location, buying format, sold status and so on. Pagination and tracking
parameters are handled for you.

### Output

One dataset item per listing. `type` is `search` for keyword results and
`category` for `/b/` category pages. Duplicate `item_id` values are removed
within each search.

```json
{
  "type": "search",
  "source": "ebay",
  "site": "ebay.com",
  "marketplace": "EBAY-US",
  "query": "puma shoes",
  "input": "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5",
  "category_id": null,
  "item_category_id": "95672",
  "total_entries": 1243,
  "total_pages": 32,
  "item_id": "226879504338",
  "title": "Y2k Puma Low Sneakers",
  "price": "$30.00",
  "price_value": 30.0,
  "currency": "USD",
  "previous_price": "$40.00",
  "previous_price_value": 40.0,
  "discount": "25% off",
  "discount_percent": 25.0,
  "price_drop": false,
  "condition": "Pre-Owned",
  "shipping": "+$20.00 delivery",
  "location": "Located in Poland",
  "buying_format": "Best Offer",
  "best_offer": true,
  "best_offer_accepted": false,
  "quantity": 1,
  "has_variations": false,
  "seller": "triftstore_poland (196) 97.9%",
  "seller_feedback": "196",
  "seller_details": {
    "name": "triftstore_poland",
    "feedback_count": 196,
    "feedback_percent": 97.9,
    "has_store": false
  },
  "item_specifics": ["US W 7", "PUMA"],
  "attributes": ["US W 7", "PUMA"],
  "is_sponsored": false,
  "free_returns": false,
  "authenticity": false,
  "just_listed": false,
  "image": "https://i.ebayimg.com/images/g/C4kAAeSwwFxoe8k6/s-l225.jpg",
  "image_large": "https://i.ebayimg.com/images/g/C4kAAeSwwFxoe8k6/s-l1600.jpg",
  "url": "https://www.ebay.com/itm/226879504338?_skw=puma+shoes&hash=item34d3127fd2:g:C4kAAeSwwFxoe8k6",
  "page": 1,
  "position": 36,
  "scrapedAt": "2026-11-25T22:30:00.838Z"
}
```

Auction listings carry bidding fields instead of the Best Offer and discount
fields. From the same search:

```json
{
  "item_id": "198816311146",
  "price": "$1.10",
  "buying_format": "Auction",
  "bid_count": 1,
  "time_left": "3d 21h 42m",
  "ended_at": "2026-11-29T20:12:00.000Z",
  "brand": "PUMA"
}
```

Other fields that appear when eBay shows them: `sold_at` (sold and completed
searches), `watch_count` (watchers), `variation_id` (multi-variation
listings), `subtitle`, and `free_returns` / `authenticity` set to `true` for
listings with those badges. `attributes` carries the same display strings as
`item_specifics` for compatibility.

`category_id` is the category you searched in (empty for keyword searches).
`item_category_id` is the listing's own eBay category, so you can group or
filter results by category.

#### Market facets

The run's `OUTPUT` record includes a `facets` object for each search. It holds
the counts eBay shows in its filters for the **whole result set**, not just
the pages you fetched. That covers buying format, condition and item aspects
such as brand, model, material, department and country of origin, plus a price
histogram:

```json
{
  "groups": [
    {
      "name": "Condition",
      "values": [
        { "label": "New with tags", "count": 1049, "param": "LH_ItemCondition=1000" },
        { "label": "Pre-Owned", "count": 388, "param": "LH_ItemCondition=3000" }
      ]
    },
    {
      "name": "Brand",
      "values": [
        { "label": "PUMA", "count": 1078, "param": "Brand=PUMA" }
      ]
    }
  ],
  "price_histogram": [
    { "min": 50, "max": 75, "count": 125 },
    { "min": 1000, "max": null, "count": 59 }
  ]
}
```

`param` is the URL parameter that applies the filter. Add it to an eBay search
URL to drill into that segment.

### Supported marketplaces

`ebay.com`, `ebay.co.uk`, `ebay.de`, `ebay.fr`, `ebay.it`, `ebay.es`,
`ebay.ie`, `ebay.com.au`, `ebay.ca`, `ebay.nl`, `ebay.ch`, `ebay.at`,
`ebay.com.hk`, `ebay.com.sg`, `ebay.com.my`, `ebay.ph`, `ebay.pl`.

Prices are returned in each marketplace's local currency (USD, GBP, EUR, AUD,
CAD, CHF, HKD, SGD, MYR, PHP, PLN).

### Tips

- Apply complex filters directly on eBay, then paste the URL into `searches`.
- Use `maxPages` to go deeper than the first page.
- Use one search per product or category to keep runs easy to reason about.
- `maxItems` is a total cap across every search. Set it high enough to cover
  all of them (a first page usually has around 50 listings), or run one search
  at a time while testing.

#### Production runs

- No proxy is needed to get started or for occasional runs.
- For large or frequent runs (many searches, deep pagination, scheduled jobs),
  turn on **Proxy configuration** and use Apify Proxy. Requests are then spread
  across many IP addresses instead of coming from one, which keeps long runs
  steady.

# Actor input Schema

## `searches` (type: `array`):

One item per search. Use plain keywords or paste any eBay search or category URL, including filters.

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

Used for plain keyword searches. eBay URLs always use the marketplace from their domain. Examples: ebay.com, ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ie, ebay.com.au, ebay.ca, ebay.nl, ebay.ch, ebay.at, ebay.com.hk, ebay.com.sg, ebay.com.my, ebay.ph, ebay.pl.

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

Maximum result pages to collect for each search or URL.

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

Stop after this many listings across all searches.

## `sold` (type: `boolean`):

Only sold or completed listings.

## `excludeSponsored` (type: `boolean`):

Drop paid/sponsored placements and keep only organic results.

## `requestDelayMillis` (type: `integer`):

Pause between result pages and between searches, in milliseconds. A short pause avoids bursts from one IP.

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

Not required: the actor runs without a proxy. For large or frequent production runs, enable Apify Proxy to spread requests across IP addresses.

## Actor input object example

```json
{
  "searches": [
    "iphone 15 pro",
    "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5"
  ],
  "marketplaces": [
    "ebay.com"
  ],
  "maxPages": 1,
  "maxItems": 1000,
  "sold": false,
  "excludeSponsored": false,
  "requestDelayMillis": 300,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

One row per eBay listing.

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

Prices, previous prices, discounts and Best Offer flags.

## `sellers` (type: `string`):

Seller name, feedback count, positive percentage and store flag per listing.

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

Bids, time left, end time, sold time and watchers.

## `summary` (type: `string`):

Per-search totals, facet counts by condition, brand and other aspects, and the price histogram.

# 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 = {
    "searches": [
        "iphone 15 pro",
        "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5"
    ],
    "marketplaces": [
        "ebay.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets").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 = {
    "searches": [
        "iphone 15 pro",
        "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5",
    ],
    "marketplaces": ["ebay.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets").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 '{
  "searches": [
    "iphone 15 pro",
    "https://www.ebay.com/sch/i.html?_nkw=puma+shoes&_sacat=0&_from=R40&rt=nc&LH_PrefLoc=5"
  ],
  "marketplaces": [
    "ebay.com"
  ]
}' |
apify call jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jinef/ebay-scraper-fast-listings-sold-comps-deals-market-facets"
        }
    }
}
```

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/bCgX11Oz7BbM5i0dW/builds/AduiHZ8fdflwYHusH/openapi.json
