# eBay Scraper (`dami_studio/ebay-scraper`) Actor

eBay scraper API and price tracker for listings on 15 eBay sites. Search words or links in; price, condition, auction or Buy It Now, bids, shipping, watchers and sold count out. Filter by condition, price or seller, sort by price, add seller feedback and item specifics. $0.46 per 1,000 listings.

- **URL**: https://apify.com/dami_studio/ebay-scraper.md
- **Developed by:** [Dami's Studio](https://apify.com/dami_studio) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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 Scraper turns what you'd search on eBay, or eBay search and item links, into one row per listing**: title, price and currency, condition, Buy It Now or auction with bids and time left, shipping cost, where it ships from, watchers and sold count. It covers 15 eBay sites, ebay.com and ebay.co.uk among them, with prices in each site's own currency.

Turn on details and each row also gets the seller, their feedback, the item specifics, brand, MPN, GTIN, stock and every photo. Details open each listing's own page, so they run at about 6 to 9 listings a minute: give a big run with details a longer timeout.

| | |
|---|---|
| **Input** | Search words, eBay search links (with /sch/ in them) or item links (/itm/), on any of 15 eBay sites |
| **Output** | One row per listing: title, link, price, currency, condition, Buy It Now or auction, bids, time left, shipping cost, ships from, watchers, sold count, photo. With details: seller name, feedback score and percentage, brand, MPN, GTIN, item specifics, product rating, stock, returns and every photo |
| **Ceiling** | 10,000 listings per search, 100 searches and 200 links per run |
| **Speed** | About 250 to 850 listings a minute from searches, 6 to 9 a minute with details (measured on our runs) |
| **Account needed** | None from you |
| **Price** | $0.46 per 1,000 listings, the same on every plan. With details, $1.60 per 1,000. The free plan's $5 a month covers about 10,800 listings |

| Using an AI agent? | |
|---|---|
| Actor | `dami_studio/ebay-scraper` |
| Set one field | `searchQueries`, labelled "Search words" in the Console |
| Cap the bill | `maxTotalChargeUsd` on the run, for example `0.10`: it never charges past that |
| MCP, one link | `https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/ebay-scraper` |
| How often | Daily, on the same searches, to follow prices and new listings over time |

### 🔍 What eBay Scraper does

Type what you would type into eBay's search box, pick the site, and it turns the result pages until it has as many listings as you asked for or the search runs out. Each listing comes back as a clean row, in the order eBay shows them.

Paste an eBay search link instead and the filters already in the link are kept. Paste an item link and you get that one listing with its details.

The filters are eBay's own: condition, auction or Buy It Now, Best Offer, a price range, free shipping, returns accepted, a category and up to 10 sellers. Words to leave out are matched against each title. The price range, free shipping, listing type and left-out words are checked on every row, and a row that fails one is dropped and not charged.

### 📋 What data you get from each eBay listing

| What you'd call it | Fields |
|---|---|
| The listing | `itemId`, `title`, `url`, `subtitle`, `epid`, `imageUrl` |
| Price | `price`, `priceTo`, `currency`, `priceConverted`, `originalPrice`, `couponPrice`, `couponText`, `unitPriceText` |
| Condition and format | `condition`, `buyingFormat`, `bestOffer`, `bids`, `timeLeft`, `sellerType` |
| Shipping and returns | `shippingCost`, `freeShipping`, `shippingText`, `freeReturns`, `itemLocation` |
| Demand | `watchers`, `soldCount`, `stockText`, `badges` |
| Where it came from | `marketplace`, `searchQuery`, `searchUrl`, `page`, `position`, `scrapedAt` |
| Details (paid extra) | `detailsIncluded`, `sellerName`, `sellerFeedbackScore`, `sellerFeedbackPercent`, `brand`, `mpn`, `gtin`, `itemSpecifics`, `productRating`, `productRatingCount`, `availability`, `quantitySold`, `quantityAvailable`, `itemLocationFull`, `returnsText`, `description`, `imageUrls` |

### ▶️ How to scrape eBay listings

1. Open [eBay Scraper](https://apify.com/dami_studio/ebay-scraper) and go to the Input tab.
2. Type one or more searches under "Search words", or paste links under "eBay links".
3. Pick the site under "Marketplace" and set "Max results per search".
4. Set any filters you want, and tick "Add seller and item details" if you need the seller.
5. Press Start, then open the Output tab or export the dataset as CSV, Excel or JSON.

Start a run with an empty input and you get one free sample row showing the shape.

### 💰 How much does it cost to scrape eBay listings?

$0.46 per 1,000 listings, the same on the Free, Starter, Scale and Business plans. A listing with seller and item details costs $1.60 per 1,000 instead. The free plan's $5 a month covers about 10,800 listings.

You're never charged for the free sample row, for note rows, for a listing two of your searches both found, or for a row a filter left out.

### 📥 What you give it

| Field | Console label | What it does | Default |
|---|---|---|---|
| `searchQueries` | Search words | One eBay search per line | none |
| `startUrls` | eBay links | Search links (/sch/) or item links (/itm/) from one of the 15 sites | none |
| `marketplace` | Marketplace | The site your search words run on: ebay.com, ebay.co.uk, ebay.de, ebay.fr, ebay.it, ebay.es, ebay.ie, ebay.nl, ebay.pl, ebay.ca, cafr.ebay.ca, ebay.com.au, ebay.com.sg, ebay.com.my or ebay.com.hk | ebay.com |
| `maxItems` | Max results per search | 1 to 10,000 | 100 |
| `includeDetails` | Add seller and item details | Opens each listing's own page too | false |
| `condition` | Condition | Any of new, openBox, refurbished, used, forParts | any |
| `listingType` | Listing type | all, auction or buyItNow | all |
| `bestOfferOnly` | Best Offer only | Only listings whose seller takes offers | false |
| `minPrice` | Minimum price | In the site's currency, shipping not included | none |
| `maxPrice` | Maximum price | In the site's currency, shipping not included | none |
| `sortBy` | Sort | bestMatch, endingSoonest, newlyListed, priceLowest or priceHighest | bestMatch |
| `freeShippingOnly` | Free shipping only | Only listings with free shipping | false |
| `returnsAcceptedOnly` | Returns accepted only | Only listings whose seller takes returns | false |
| `categoryId` | Category id | eBay's number for a category, such as 19006 | none |
| `sellers` | Sellers | Up to 10 seller user names | none |
| `excludeKeywords` | Words to leave out | Up to 20; a listing whose title has one is left out | none |
| `searchInDescription` | Search descriptions too | Matches your words in listing descriptions as well | false |

The filters apply to the search words and to pasted search links, on top of what a link already carries; a pasted link keeps its own sort unless you pick one. Item links ignore them. Take a category id from a category page on the site you search.

```json
{
  "searchQueries": ["nintendo switch oled", "steam deck"],
  "marketplace": "ebay.com",
  "maxItems": 200,
  "condition": ["used"],
  "sortBy": "priceLowest",
  "maxPrice": 250
}
```

### 📤 What you get back

A listing row from a real run on ebay.com, trimmed:

```json
{
  "recordType": "listing",
  "itemId": "168850248521",
  "title": "Nintendo Switch OLED Model Handheld Console w/ White Joy-Con, Black/White",
  "url": "https://www.ebay.com/itm/168850248521",
  "subtitle": "Nintendo Switch · Nintendo Switch (OLED Model) · Pre-Owned",
  "condition": "Pre-Owned",
  "price": 180,
  "currency": "USD",
  "buyingFormat": "BUY_IT_NOW",
  "bestOffer": true,
  "shippingCost": 7.89,
  "freeShipping": false,
  "shippingText": "$7.89 delivery",
  "itemLocation": "United States",
  "watchers": 13,
  "imageUrl": "https://i.ebayimg.com/images/g/b~4AAeSwSkJq8cfG/s-l1600.jpg",
  "marketplace": "ebay.com",
  "searchQuery": "nintendo switch oled",
  "page": 1,
  "position": 15,
  "detailsIncluded": false
}
```

With details on, a listing from a run on ebay.co.uk carried, among the rest:

```json
{
  "brand": "LEGO",
  "mpn": "75192",
  "itemSpecifics": { "LEGO Theme": "Star Wars", "LEGO Set Number": "75192", "Number of Pieces": "7541", "Retired": "Yes", "Year Manufactured": "2017" },
  "productRating": 4.87,
  "productRatingCount": 47,
  "sellerFeedbackPercent": 100,
  "availability": "InStock",
  "quantityAvailable": 1,
  "itemLocationFull": "Doncaster, United Kingdom",
  "returnsText": "Seller does not accept returns This item is covered by eBay Money Back Guarantee",
  "detailsIncluded": true
}
```

| Field | How to read it |
|---|---|
| `price`, `priceTo` | When a listing has options at different prices, `price` is the lowest and `priceTo` the highest |
| `priceConverted` | True when eBay shows the price converted into the site's currency |
| `shippingCost` | Shipping to the site's own country: outside ebay.com to a central postcode there, London on ebay.co.uk and Berlin on ebay.de. 0 for free shipping, empty when the listing doesn't state a cost |
| `itemLocation` | Where the item ships from, when eBay prints it with the result |
| `watchers`, `soldCount`, `bids` | Empty when eBay doesn't show them for that listing |
| `condition` | eBay's own words on that site, such as "Pre-Owned" or "Gebraucht" |
| `sellerType` | BUSINESS or PRIVATE, on the European sites that show it |

### 🧾 Reading the output

Every listing row has `recordType: "listing"`, and `detailsIncluded` says whether its own page was read. A row with `ok: false` and `recordType: "note"` is free and says what happened in `errorCode`:

- `BAD_INPUT`: a field couldn't be used, such as a category id eBay doesn't search in on that site. Nothing was charged for it.
- `NO_RESULTS`: the search found nothing with these filters, or only listings an earlier search in the run already delivered.
- `NOT_FOUND`: eBay has no page at that link. An item may have ended.
- `NOT_SERVED`: a page didn't come back this run, or came back in another order than the sort you picked, or priced for buyers in another country. Rows before it were delivered. Run it again later.
- `TIME_LIMIT`, `COST_LIMIT`: the run's own time or cost limit stopped it. Rows before it were delivered.
- `UNEXPECTED_ERROR`: the run hit an error of ours. Nothing was charged for it.

The free sample row carries `_sample: true` and `recordType: "sample"`. To keep only listings, filter on `recordType` equal to `listing`.

### 💡 What people use it for

- Resellers pricing used gear: search the model, keep Used, sort by price with the lowest first and see what the same thing is listed at today.
- Anyone hunting underpriced listings: run the same search every hour sorted by newly listed and compare `itemId` with the last run.
- Sellers checking where their listings rank for a search, by `position`, and how many watchers and sales the ones above them have.
- Collectors following auctions: keep Auction, sort by ending soonest and read `bids` and `timeLeft`.

A recipe: put your searches under "Search words" and schedule the run daily; filter the dataset on `condition` and `price`; send the `itemId` values you haven't seen before to a sheet or a webhook.

### 🚧 What it does not do

- It reads listings for sale now. Sold and ended listings aren't in it.
- It doesn't sign in, bid, buy or message sellers.
- No contact details of buyers or sellers. A seller is the user name eBay prints on the listing, with details on.
- Up to 10,000 listings per search; split a broad search by category or price for more.
- It is not an official eBay tool. Dami's Studio is independent and is not affiliated with or endorsed by eBay, or by any other company named on this page.

### 🧭 Which eBay scraper do you need?

| If you want | Use |
|---|---|
| eBay listings, prices and sellers | [This one](https://apify.com/dami_studio/ebay-scraper) |
| Amazon products by keyword or ASIN | [Amazon Scraper](https://apify.com/dami_studio/amazon-scraper) |
| Etsy listings, shops and reviews | [Etsy Scraper](https://apify.com/dami_studio/etsy-scraper) |
| One product's price across many stores | [Google Shopping Scraper](https://apify.com/dami_studio/google-shopping-scraper) |

### ❓ Questions people ask

#### Do I need an eBay account to scrape listings?

No. The listings are public, and they're read the way a visitor who isn't signed in sees them.

#### Why is a price or a count different from what I see on eBay?

eBay changes prices, bids and stock all day, and what it shows depends on where the buyer is. The rows show each site as a buyer in its own country sees it, so a shopper elsewhere can see other listings, prices or shipping. Open the search in a private window to compare.

#### How do I track eBay prices over time?

Schedule the same run daily from the Schedules page, then compare rows by `itemId` and `scrapedAt`. Each run is charged for what it delivers.

#### Can I call it from code or an AI assistant?

Yes. The API tab has ready calls in several languages, and the MCP address for assistants is `https://mcp.apify.com/?tools=fetch-actor-details,dami_studio/ebay-scraper`. In Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("dami_studio/ebay-scraper").call(
    run_input={"searchQueries": ["nintendo switch oled"], "maxItems": 60},
    max_total_charge_usd=0.10,
)
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row.get("ok") is False:
        continue
    print(row["title"], row["price"], row["currency"])
```

#### Is scraping eBay legal?

The listings here are public and read the way a signed-out visitor sees them, with no account and nothing private. Seller user names come with details, so GDPR and similar laws apply to what you keep: keep only what you need. eBay's own terms still apply to what you do with the data. Apify's post on [the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/) covers the general picture. We are not lawyers.

### 🆘 If something breaks

Open an issue on the Issues tab with the run's link and what you expected. We read every one.

# Actor input Schema

## `searchQueries` (type: `array`):

What you would type into eBay's search box, one search per line, for example `lego star wars` or `nintendo switch oled`. Each search runs on the site picked in Marketplace and returns up to Max results per search.

## `startUrls` (type: `array`):

eBay search links (the address has /sch/ in it) or item links (/itm/), copied from your browser. A search link keeps the filters you set on eBay. An item link returns that listing with its details. The link has to be on one of the sites in the Marketplace list.

## `marketplace` (type: `string`):

The eBay site your search words run on. Prices come back in that site's currency. Links in eBay links carry their own site.

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

The most listings to return for each search or search link. eBay shows up to 240 listings on a page; the actor turns the pages until it has this many or the search runs out.

## `includeDetails` (type: `boolean`):

Also open each listing's own page for the seller's name, feedback score and positive percentage, item specifics, brand, MPN, GTIN, product rating, stock left and sold, returns and all photos. A listing with details is billed at the details price instead of the plain one, and the run takes longer.

## `condition` (type: `array`):

Keep only these conditions. Leave empty for any condition.

## `listingType` (type: `string`):

All listings, auctions only, or Buy It Now only.

## `bestOfferOnly` (type: `boolean`):

Keep only listings where the seller takes offers.

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

Lowest item price, in the marketplace's currency, shipping not included.

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

Highest item price, in the marketplace's currency, shipping not included.

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

The order eBay lists the results in.

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

Keep only listings with free shipping to the marketplace's country.

## `returnsAcceptedOnly` (type: `boolean`):

Keep only listings whose seller accepts returns.

## `categoryId` (type: `string`):

eBay's number for a category, digits only, for example 19006. It is the number after /sch/ or /b/ in a category page's address. Leave empty for all categories.

## `sellers` (type: `array`):

Keep only listings from these eBay sellers, by their user name as eBay shows it. Up to 10.

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

Drop listings whose title has any of these words, for example `case` or `broken`. Up to 20.

## `searchInDescription` (type: `boolean`):

Match the search words in listing descriptions as well as titles. Brings more, looser results.

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

Optional. Runs work without it. If you set your own proxy addresses, every request goes through them.

## Actor input object example

```json
{
  "searchQueries": [
    "lego star wars"
  ],
  "marketplace": "ebay.com",
  "maxItems": 100,
  "includeDetails": false,
  "listingType": "all",
  "bestOfferOnly": false,
  "sortBy": "bestMatch",
  "freeShippingOnly": false,
  "returnsAcceptedOnly": false,
  "searchInDescription": false
}
```

# Actor output Schema

## `results` (type: `string`):

One row per listing. A search with no match, a link eBay has no page for, or a run cut short writes one free row saying so.

# 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 = {
    "searchQueries": [
        "lego star wars"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dami_studio/ebay-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 = { "searchQueries": ["lego star wars"] }

# Run the Actor and wait for it to finish
run = client.actor("dami_studio/ebay-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 '{
  "searchQueries": [
    "lego star wars"
  ]
}' |
apify call dami_studio/ebay-scraper --silent --output-dataset

```

## MCP server setup

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