# eBay Category Scraper (`v0iddo/mint-ebay-scraper`) Actor

Collect listings from eBay category pages: title, price with currency, condition, shipping, sold and watcher counts, bids when shown, photo and link. Paste category links. Public pages only, no seller data.

- **URL**: https://apify.com/v0iddo/mint-ebay-scraper.md
- **Developed by:** [vøiddo](https://apify.com/v0iddo) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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.
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 Category Scraper

Collect listings from eBay category pages: title, price with currency, condition, shipping, sold and watcher counts, bids when shown, photo and link. Paste category links. Public pages only, no seller data.

### What you get

Every result is one row in the run's dataset. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API. The main fields:

| Field | Meaning |
|---|---|
| `title` | Item |
| `price` | Price |
| `currency` | Currency |
| `priceText` | Price as shown |
| `condition` | Condition |
| `shippingText` | Shipping |
| `buyingFormat` | Buying format |
| `bids` | Bids |
| `soldText` | Sold |
| `watchersText` | Watchers |
| `image` | Photo |
| `url` | Link |

Example row:

```json
{
  "itemId": "137846556265",
  "cardType": "listing",
  "productId": null,
  "title": "Motorola Moto Edge 2025 256GB Unlocked",
  "price": 189.0,
  "priceMax": null,
  "currency": "USD",
  "priceText": "$189.00",
  "previousPrice": null,
  "condition": "Open Box",
  "brand": "Motorola",
  "shippingText": "$14.85 shipping",
  "shippingCost": 14.85,
  "deliveryText": null,
  "buyingFormat": null,
  "bestOffer": false,
  "bids": null,
  "timeLeftText": null,
  "soldText": null,
  "sold": null,
  "watchersText": "29 watching",
  "watchers": 29,
  "location": null,
  "badge": null,
  "newListing": false,
  "image": "https://i.ebayimg.com/images/g/Wu4AAeSwTJBqtrbN/s-l400.webp",
  "url": "https://www.ebay.com/itm/137846556265",
  "categoryUrl": "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094",
  "page": 1,
  "position": 37
}
```

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `categoryUrls` | array | yes | eBay category links such as https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094. Links with filters or page numbers are used without them. Search links are not supported. |
| `includeRelatedCategories` | boolean | no | Also read the categories that the page lists next to it in its category menu. Each one adds a page. Default: `false`. |
| `relatedPerCategory` | integer | no | At most this many related categories are added for each link. Default: `5`. |
| `maxItems` | integer | no | The run stops after this many result rows. It also caps what one run can cost. Default: `200`. |
| `proxyConfiguration` | object | no | Leave as is: the run starts on the cheapest network the site accepts and switches to Apify Proxy automatically when the site blocks it. Pick proxy groups here only to force one specific network. |

Example input:

```json
{
  "categoryUrls": [
    "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094"
  ],
  "maxItems": 20
}
```

### Pricing

You pay per result row in the dataset (the current price per 1,000 results is on the Pricing tab). A run that finds nothing produces no rows and no result charges. Set **Maximum results** to cap what a single run can cost.

### Limits and notes

- Each category link gives the first page of results, about 60 items. eBay's robots.txt closes page numbers, filters and search, so for more rows give more category links or switch on related categories.
- Some cards are catalog products rather than single listings (cardType product): their price can be a range (price is the low end, priceMax the high end) and the link points to a representative listing.
- Bids, buying format, time left and location are filled only when the card shows them; many cards do not. Brand is the second part of the condition line as eBay prints it.
- Sellers are never collected: no names, feedback or profile links. Only eBay program badges such as eBay Refurbished are kept.
- The run uses a real browser on a direct connection, so it is slower and costs more per page than the other scrapers. If eBay shows an error page instead of results the run stops with a clear message.
- Only publicly visible data is collected. No login, no paywalled content, no personal contact details.
- The actor reads only pages that the site's robots.txt leaves open to automated access.
- Sites change their pages from time to time. The actor is checked automatically and repaired when a check fails.
- Each run sends one short usage record to the developer: the Actor and run IDs, the number of results, whether the run succeeded (and if not, the kind of error, such as "blocked" or "input problem") and whether the account is on a paid Apify plan. It contains nothing from your input or results.

### Use it from your code or agent

Run it from the Apify Console, on a schedule, through the Apify API and client libraries, from Make, Zapier or n8n, or as a tool through the Apify MCP server. The dataset of each run stays available for download.

# Actor input Schema

## `categoryUrls` (type: `array`):

eBay category links such as https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094. Links with filters or page numbers are used without them. Search links are not supported.

## `includeRelatedCategories` (type: `boolean`):

Also read the categories that the page lists next to it in its category menu. Each one adds a page.

## `relatedPerCategory` (type: `integer`):

At most this many related categories are added for each link.

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

The run stops after this many result rows. It also caps what one run can cost.

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

Leave as is: the run starts on the cheapest network the site accepts and switches to Apify Proxy automatically when the site blocks it. Pick proxy groups here only to force one specific network.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094"
  ],
  "includeRelatedCategories": false,
  "relatedPerCategory": 5,
  "maxItems": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One dataset row per processed item.

# 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 = {
    "categoryUrls": [
        "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("v0iddo/mint-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 = {
    "categoryUrls": ["https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("v0iddo/mint-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 '{
  "categoryUrls": [
    "https://www.ebay.com/b/Cell-Phones-Smartphones/9355/bn_320094"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call v0iddo/mint-ebay-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,v0iddo/mint-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/GP0jNbpW4efetXeIz/builds/uEUgTnXYeAr2ftouI/openapi.json
