# eBay Search Scraper — Listings, Prices & Auctions (`tagadanar/ebay-search-scraper`) Actor

Scrape live eBay search results by keyword or search URL: price and currency, shipping cost, condition, auction or Buy It Now, bids, time left, location, image and URL. Price, condition, format and sort filters. $1.00 per 1,000 listings + $0.001/run.

- **URL**: https://apify.com/tagadanar/ebay-search-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 listings

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 — live listings, prices & sellers

Scrape **live eBay search results** by keyword or by pasting an eBay search URL. One flat row per listing:
price and currency, shipping cost, condition, buying format (auction, Buy It Now, Best Offer), bids, time
left, item location, image and listing URL. Filter by price, condition and buying format, and pick eBay's
sort order. No eBay account, no API key, no browser.

Want what things **sold** for instead? Use our [eBay Sold Listings Scraper](https://apify.com/tagadanar/ebay-sold-comps).

### What you get

| Field | Example | Notes |
|---|---|---|
| `itemId` | `800856696704` | eBay item number |
| `title` | `Nintendo Switch – OLED Model w/ Neon Red & Neon Blue Joy-Con` | |
| `price`, `currency` | `289.99`, `USD` | Current price (bid or Buy It Now). Currency is the one eBay printed |
| `priceMax` | `35.00` | High end of a price range (multi-variation listings) |
| `shippingCost`, `shipping` | `15.09`, `+$15.09 delivery` | `0` = free shipping; `null` = not specified |
| `condition` | `Pre-Owned` | As eBay labels it |
| `format` | `Auction` | `Auction`, `Buy It Now`, `Best Offer` or `Auction + Buy It Now` |
| `bids` | `3` | Auctions |
| `timeLeft`, `timeLeftSeconds`, `endsAtApprox` | `2d 4h`, `187200`, ISO time | Auctions; the end time is scrape time + time left |
| `sellerName`, `sellerFeedbackPercent`, `sellerFeedbackCount` | | Only when eBay prints the seller on the result card (often it does not) |
| `location` | `United States` | |
| `imageUrl`, `url` | | |
| `searchTerm`, `page`, `position`, `sourceUrl`, `scrapedAt` | | Where the row came from |

### Input

- **Keywords or eBay search URLs** (`searches`): one per line. A pasted URL keeps its own filters
  (category, location, item specifics); a pasted *sold* URL is turned into a live-listings search.
- **Max listings** (`maxResults`): total across all searches.
- **Sort**: best match, newly listed, ending soonest, price + shipping lowest / highest.
- **Buying format**: any, auction, Buy It Now.
- **Condition**: any, new, used, for parts or not working.
- **Minimum / maximum price**.

Price, condition and format filters are sent to eBay **and** re-checked on every row, so a promoted listing
outside your band is dropped before it is charged.

```json
{
  "searches": ["nintendo switch oled", "https://www.ebay.com/sch/i.html?_nkw=canon+ef+50mm"],
  "maxResults": 200,
  "sort": "newly-listed",
  "buyingFormat": "buy-it-now",
  "condition": "used",
  "priceMin": 100,
  "priceMax": 300
}
```

### Pricing

**$1.00 per 1,000 listings** (Free plan; $0.70 per 1,000 on Gold) plus **$0.001 per run**. Platform usage
and proxies are included: you pay only for listings delivered. Rows dropped by your own filters are not
charged.

### How it works and what can go wrong

- eBay search pages are fetched over plain HTTP with a browser-grade TLS fingerprint. eBay's bot protection
  (Akamai) sometimes answers with a "Pardon Our Interruption" or "Security Measure" page instead of results;
  the actor detects those pages and retries on another route. If every route is refused, the run fails
  with a message saying so, and no listing is charged.
- **No results**: if eBay itself reports 0 results, the run succeeds with no rows and says so (only the
  $0.001 start fee). eBay's "results matching fewer words" are never returned as matches.
- Prices follow the visitor's region: eBay can print some prices in another currency. The `currency`
  field is always the one printed next to that price.
- Seller name and feedback appear only when eBay shows them on the search card; this actor does not open
  each listing page.
- eBay serves at most about 10,000 results per search. Split broad searches by price band or category to
  go further.

### Status messages

Every run ends with a one-line status: how many listings were delivered, how many eBay returned outside your
filters, and whether a search was empty on eBay, refused, or cut by the run time limit.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/ebay-search-scraper/changelog.md

# Actor input Schema

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

One keyword per line (e.g. "nintendo switch oled"), or paste an eBay search or category URL (https://www.ebay.com/sch/i.html?\_nkw=...). Live listings only.

## `maxResults` (type: `integer`):

Stop after this many listings across all searches (eBay serves 240 per page, about 10,000 per search at most).

## `sort` (type: `string`):

eBay's own result order.

## `buyingFormat` (type: `string`):

Auctions only, Buy It Now only (includes Best Offer listings), or both.

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

New (incl. open box), used (incl. refurbished), or for parts / not working.

## `priceMin` (type: `integer`):

In the listing's currency. Applied on eBay and re-checked on every row; rows outside the band are not charged.

## `priceMax` (type: `integer`):

In the listing's currency. Applied on eBay and re-checked on every row; rows outside the band are not charged.

## Actor input object example

```json
{
  "searches": [
    "nintendo switch oled"
  ],
  "maxResults": 50,
  "sort": "best-match",
  "buyingFormat": "any",
  "condition": "any"
}
```

# Actor output Schema

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

One item per live eBay listing in the default dataset.

# 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": [
        "nintendo switch oled"
    ],
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/ebay-search-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 = {
    "searches": ["nintendo switch oled"],
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/ebay-search-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 '{
  "searches": [
    "nintendo switch oled"
  ],
  "maxResults": 50
}' |
apify call tagadanar/ebay-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tagadanar/ebay-search-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/3by5ZDhIq9Clk8zOl/builds/2p2Xh46mwPPlanndD/openapi.json
