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

Scrape eBay for products, item details, seller profiles, and category listings. Supports search with filters, international domains, auction/BIN listings, and item specifics extraction.

- **URL**: https://apify.com/novashieldai/ebay-scraper.md
- **Developed by:** [Ali haydar Karadaş](https://apify.com/novashieldai) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## eBay Scraper

eBay Scraper extracts product listings, item details, and seller profiles from eBay across 8 country domains. Built for price monitoring, competitive analysis, and e-commerce research -- this is the most complete eBay data extraction tool available on Apify.

### What does eBay Scraper do?

Four modes cover every angle of eBay data. **Search** finds listings by keyword with filters for price range, condition (new, used, refurbished, open box, for parts), listing type (auction, buy it now, classified), and multiple sort options. **Item** pulls full details for a specific listing including description, item specifics, return policy, and payment methods. **Seller** fetches a seller's profile and their current listings. **Category** browses listings within a specific eBay category.

The scraper supports 8 eBay country domains: US, UK, Germany, France, Italy, Spain, Australia, and Canada. Prices, shipping costs, and bid counts are all captured. For auctions, you get the current bid count and time remaining.

Sorting options include best match, price ascending/descending, newly listed, ending soonest, and most watched. Combined with price and condition filters, you can build very targeted queries.

### What data do you get?

**Search and item results:**
- **id**, **title**, **price**, **currency**
- **bid_count**, **buy_it_now_price** (auctions)
- **shipping_cost**, **shipping_free**
- **seller_name**, **seller_rating**, **seller_feedback_pct**
- **condition**, **listing_type**, **time_left**
- **image_url**, **image_urls**, **url**, **location**
- **watch_count**, **sold_count**

**Item details (additional):**
- **description** (plain text), **item_specifics** (key-value pairs)
- **return_policy**, **payment_methods**
- **category_path**, **item_number**

**Seller profiles:**
- **username**, **feedback_score**, **positive_pct**
- **member_since**, **location**, **item_count**
- **store_name**, **store_url**, **top_rated**

### Who is this for?

- **E-commerce sellers** -- track competitor pricing, monitor market trends, and find sourcing opportunities
- **Resellers and arbitrage traders** -- compare prices across eBay markets to spot profitable deals
- **Market researchers** -- analyze pricing distributions, seller activity, and category trends
- **Brand protection teams** -- monitor for counterfeit or unauthorized listings of your products
- **Data analysts** -- build pricing databases and market intelligence reports

### How to use it

1. Open the actor in Apify Console and select a mode (search, item, seller, or category).
2. Enter a search query, item ID/URL, seller name, or category ID.
3. Set filters like price range, condition, listing type, country, and sort order.
4. Click "Start" to run the scraper.
5. Download results as JSON, CSV, or Excel from the Dataset tab.

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| mode | string | search | Scraping mode: search, item, seller, or category |
| query | string | -- | Search keywords (for search mode) |
| item_id | string | -- | eBay item ID or full URL (for item mode) |
| seller_name | string | -- | Seller username or store URL (for seller mode) |
| category_id | string | -- | eBay category ID (for category mode) |
| sort | string | best_match | Sort by: best_match, price_asc, price_desc, newly_listed, ending_soonest, most_watched |
| min_price | number | -- | Minimum price filter |
| max_price | number | -- | Maximum price filter |
| condition | string | -- | Item condition: new, open_box, refurbished, used, for_parts |
| listing_type | string | -- | Listing type: auction, buy_it_now, classified |
| country | string | us | eBay domain: us, uk, de, fr, it, es, au, ca |
| limit | integer | 50 | Maximum results to return (1-200) |
| page | integer | 1 | Page number (1-20) |

### Sample output

```json
{
  "id": "396012345678",
  "title": "Apple iPhone 15 Pro Max 256GB Unlocked - Blue Titanium",
  "price": 899.99,
  "currency": "USD",
  "bid_count": null,
  "buy_it_now_price": 899.99,
  "shipping_cost": 0.0,
  "shipping_free": true,
  "seller_name": "top_deals_usa",
  "seller_rating": 99.8,
  "seller_feedback_pct": 99.8,
  "condition": "new",
  "listing_type": "buy_it_now",
  "time_left": null,
  "image_url": "https://i.ebayimg.com/images/g/abc123/s-l500.jpg",
  "image_urls": [
    "https://i.ebayimg.com/images/g/abc123/s-l1600.jpg"
  ],
  "url": "https://www.ebay.com/itm/396012345678",
  "location": "New York, NY",
  "watch_count": 342,
  "sold_count": 1580
}
````

### How much does it cost?

Each result costs **$0.005**. Scraping 1,000 listings costs $5, and 10,000 listings costs $50.

Apify gives every new user $5 in free monthly credits, so you can scrape about 1,000 results for free.

### Common questions

**Which eBay sites does it support?**
Eight country domains: US (ebay.com), UK (ebay.co.uk), Germany (ebay.de), France (ebay.fr), Italy (ebay.it), Spain (ebay.es), Australia (ebay.com.au), and Canada (ebay.ca).

**Can I filter for auctions only?**
Yes. Set the `listing_type` parameter to "auction" to see only auction listings. You can also sort by "ending\_soonest" to find auctions about to close.

**Does it capture sold/completed listings?**
The scraper captures the `sold_count` field which shows how many units have sold for active listings. It does not search eBay's completed listings archive.

### Contact & Custom Solutions

Need a custom scraper, higher volume, or a specific integration? We're here to help.

If anything isn't working right or you need support, don't hesitate to reach out.

- Telegram: [t.me/novashield\_dev](https://t.me/novashield_dev)
- Email: novashield.dev@gmail.com

# Actor input Schema

## `mode` (type: `string`):

Mode

## `query` (type: `string`):

Search keywords for 'search' mode

## `item_id` (type: `string`):

eBay item ID or full URL for 'item' mode

## `seller_name` (type: `string`):

Seller username or store URL for 'seller' mode

## `category_id` (type: `string`):

eBay category ID for 'category' mode

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

Sort

## `min_price` (type: `number`):

Minimum price filter

## `max_price` (type: `number`):

Maximum price filter

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

Condition

## `listing_type` (type: `string`):

Listing Type

## `country` (type: `string`):

Country

## `limit` (type: `integer`):

Max Results

## `page` (type: `integer`):

Page

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

Select proxies to be used. Residential proxies are recommended for this actor to avoid blocking.

## Actor input object example

```json
{
  "mode": "search",
  "query": "iphone 15",
  "sort": "best_match",
  "country": "us",
  "limit": 50,
  "page": 1
}
```

# 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 = {
    "query": "iphone 15"
};

// Run the Actor and wait for it to finish
const run = await client.actor("novashieldai/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 = { "query": "iphone 15" }

# Run the Actor and wait for it to finish
run = client.actor("novashieldai/ebay-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "iphone 15"
}' |
apify call novashieldai/ebay-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=novashieldai/ebay-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "eBay Scraper",
        "description": "Scrape eBay for products, item details, seller profiles, and category listings. Supports search with filters, international domains, auction/BIN listings, and item specifics extraction.",
        "version": "1.0",
        "x-build-id": "efGVEMYsQcdCXA9X4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/novashieldai~ebay-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-novashieldai-ebay-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/novashieldai~ebay-scraper/runs": {
            "post": {
                "operationId": "runs-sync-novashieldai-ebay-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/novashieldai~ebay-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-novashieldai-ebay-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "item",
                            "seller",
                            "category"
                        ],
                        "type": "string",
                        "description": "Mode",
                        "default": "search"
                    },
                    "query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search keywords for 'search' mode"
                    },
                    "item_id": {
                        "title": "Item ID or URL",
                        "type": "string",
                        "description": "eBay item ID or full URL for 'item' mode"
                    },
                    "seller_name": {
                        "title": "Seller Name or URL",
                        "type": "string",
                        "description": "Seller username or store URL for 'seller' mode"
                    },
                    "category_id": {
                        "title": "Category ID",
                        "type": "string",
                        "description": "eBay category ID for 'category' mode"
                    },
                    "sort": {
                        "title": "Sort",
                        "enum": [
                            "best_match",
                            "price_asc",
                            "price_desc",
                            "newly_listed",
                            "ending_soonest",
                            "most_watched"
                        ],
                        "type": "string",
                        "description": "Sort",
                        "default": "best_match"
                    },
                    "min_price": {
                        "title": "Min Price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Minimum price filter"
                    },
                    "max_price": {
                        "title": "Max Price",
                        "minimum": 0,
                        "type": "number",
                        "description": "Maximum price filter"
                    },
                    "condition": {
                        "title": "Condition",
                        "enum": [
                            "new",
                            "open_box",
                            "refurbished",
                            "used",
                            "for_parts"
                        ],
                        "type": "string",
                        "description": "Condition"
                    },
                    "listing_type": {
                        "title": "Listing Type",
                        "enum": [
                            "auction",
                            "buy_it_now",
                            "classified"
                        ],
                        "type": "string",
                        "description": "Listing Type"
                    },
                    "country": {
                        "title": "Country",
                        "enum": [
                            "us",
                            "uk",
                            "de",
                            "fr",
                            "it",
                            "es",
                            "au",
                            "ca"
                        ],
                        "type": "string",
                        "description": "Country",
                        "default": "us"
                    },
                    "limit": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Max Results",
                        "default": 50
                    },
                    "page": {
                        "title": "Page",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Page",
                        "default": 1
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used. Residential proxies are recommended for this actor to avoid blocking."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
