# eBay Seller & Comps Intelligence (`lukas-ebner/ebay-comps-intelligence`) Actor

Scrape eBay active + sold listings and get the comps eBay's API hides: median/percentile sold prices, sell-through rate, sold velocity, and seller-level analytics.

- **URL**: https://apify.com/lukas-ebner/ebay-comps-intelligence.md
- **Developed by:** [Lukas Ebner](https://apify.com/lukas-ebner) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 1 monthly users, 85.7% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## 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 Seller & Comps Intelligence — Sold Prices, Sell-Through & Seller Analytics

Scrape eBay **active and sold/completed listings** and get the data eBay's own API hides: real **sold prices** (median, percentiles, min/max), **sell-through rate**, **sold velocity**, condition/format breakdowns, and **seller-level analytics** — exported as clean JSON, CSV, or Excel.

No eBay account or API key required.

---

### Why this exists

eBay's official Browse API only returns **active** listings. The "what did it *actually* sell for" data — completed/sold listings — is locked behind the partner-only Marketplace Insights API (the engine behind eBay's own Terapeak). And Terapeak itself has **no API, no bulk export, and a ~250-query/day cap**.

That sold-comps data is exactly what resellers, sellers, and collectors make money on. This Actor gives it to you at scale, with the **derived metrics already computed** — not just raw rows.

### What you get that a plain scraper doesn't

Most eBay scrapers dump listings. This one ships the **intelligence layer**:

- **Comps** — median, mean, 25th/75th percentile, min, max, and standard deviation of sold prices. (Median, not average, because one $50,000 graded card shouldn't move your number.)
- **Sell-through rate** — sold ÷ (active + sold) over eBay's ~90-day window. The single best "is this worth listing?" signal.
- **Sold velocity** — sold in the last 7 / 30 / 90 days and an estimated sales-per-day.
- **Breakdowns** — by condition and listing format (auction / Buy It Now / Best Offer).
- **Seller analytics** — point a run at a seller username and get their active catalog, price distribution, and category mix.

### Who it's for

- **Resellers / flippers** — sourcing decisions from real sold comps ("buy or skip?").
- **eBay sellers** — repricing, sell-through benchmarking, competitor-seller monitoring.
- **Collectors & price-guide builders** — cards, sneakers, watches, coins: track sold comps over time.
- **Brands / MAP monitoring** — catch unauthorized sellers and price violations.
- **Cross-platform arbitrage & alt-data** — an eBay price/volume feed for your own tools.

### Three modes

| Mode | Input | Output |
|------|-------|--------|
| **Search comps** (default) | search terms | listings + a comps report per term |
| **Seller analytics** | seller usernames | their listings + a seller report |
| **Item details** | item URLs | fully enriched item records |

### Example input

```json
{
  "mode": "searchComps",
  "searchTerms": ["pokemon charizard psa 10", "nintendo switch oled"],
  "listingType": "both",
  "market": "us",
  "maxItemsPerSearch": 240,
  "includeItemDetails": false,
  "proxyConfiguration": { "useApifyProxy": true }
}
````

Set `listingType` to `"both"` to compute sell-through (it needs active *and* sold counts). Turn on `includeItemDetails` to visit each item page for seller, feedback %, item specifics, shipping, and bids.

### Example output

**Comps report** (one per search term, also saved to the key-value store):

```json
{
  "query": { "keyword": "pokemon charizard psa 10", "market": "us", "sold": true },
  "listingCount": 60,
  "comps": { "count": 60, "currency": "$", "min": 18.5, "p25": 155.26,
             "median": 300, "mean": 411.9, "p75": 1030.07, "max": 50000, "stdev": 6405 },
  "sellThrough": { "activeCount": 18000, "soldCount": 30000, "sellThroughRate": 62.5 },
  "velocity": { "withDates": 60, "last7Days": 60, "last30Days": 60, "perDay": 8.65 },
  "conditionBreakdown": { "New (Other)": 57, "Pre-Owned": 2, "Graded": 1 },
  "formatBreakdown": { "or Best Offer": 41, "Buy It Now": 12, "12 bids": 7 }
}
```

**Listing rows** (one per item, in the dataset):

```json
{
  "recordType": "listing", "query": "nintendo switch oled",
  "itemId": "276582090868", "title": "Nintendo Switch OLED 64GB Console",
  "price": 245.77, "currency": "$", "sold": true, "soldDate": "2026-05-30",
  "format": "or Best Offer", "condition": "Pre-Owned",
  "url": "https://www.ebay.com/itm/276582090868"
}
```

### Recurring use cases (schedule it)

Run on a schedule to turn snapshots into trends:

- **Sold-comps tracking** — build >90-day price history that Terapeak can't give you.
- **Daily new-listings** in a category — spot fresh inventory and saturation.
- **Competitor-seller monitoring** — a rival's active count, price moves, assortment.
- **Price/MAP alerts** — flag new listings below a threshold.

### Reliability

eBay actively blocks naive scrapers (plain requests get HTTP 403). This Actor mints a real browser session, rotates request fingerprints, re-establishes the session on a block, and routes through Apify Proxy. Datacenter proxies are enough to start; switch to residential under heavy load.

### Pricing

Pay-per-event — you pay only for what you pull (run start, listings scraped, optional item-detail enrichment, and reports). No monthly rental.

### Legality

This Actor collects **publicly available** eBay data and does not log in or access gated areas. You are responsible for using the data in line with eBay's Terms of Service and applicable law. Item images and descriptions are copyrighted by their owners; factual data points (prices, dates, condition) are not.

### FAQ

**Does it get true sold prices?** Yes — completed/sold listings via the public search filter, which the official API does not expose. For Best Offer sales eBay shows the asking price; the accepted price is marked where detectable.

**Which marketplaces?** US, UK, DE, AU, CA, FR, IT, ES.

**Do I need item details for comps?** No. Comps, sell-through, and velocity come from search results alone. Enrichment adds seller/feedback/specifics at extra cost.

**How many results per query?** Up to `maxItemsPerSearch` (paginated, 240/page).

# Actor input Schema

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

What to do: compute comps for search terms, analyze sellers, or enrich specific item URLs.

## `searchTerms` (type: `array`):

Keywords to research, e.g. "pokemon charizard psa 10". Used in 'Search comps' mode.

## `sellerUsernames` (type: `array`):

eBay seller usernames to analyze. Used in 'Seller analytics' mode.

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

Direct eBay item URLs to enrich. Used in 'Item details' mode.

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

Active listings, sold/completed listings (the high-value comps data), or both.

## `market` (type: `string`):

Which eBay marketplace to scrape.

## `maxItemsPerSearch` (type: `integer`):

Upper bound on listings fetched per term/seller (per active/sold side).

## `includeItemDetails` (type: `boolean`):

Visit each item page to add seller, feedback %, item specifics, shipping, bids. Slower and costs more.

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

eBay sort code.

## `conditionId` (type: `string`):

Restrict to a condition. Leave empty for all conditions.

## `enrichConcurrency` (type: `integer`):

Parallel item-page fetches when enriching.

## `requestDelayMs` (type: `integer`):

Polite delay between requests. Lower = faster but higher block risk.

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

Proxies to route requests through. Apify Proxy (datacenter) is enough to start; switch to residential if blocked.

## Actor input object example

```json
{
  "mode": "searchComps",
  "searchTerms": [
    "nintendo switch oled"
  ],
  "listingType": "both",
  "market": "us",
  "maxItemsPerSearch": 240,
  "includeItemDetails": false,
  "sort": "12",
  "enrichConcurrency": 4,
  "requestDelayMs": 600,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "searchTerms": [
        "nintendo switch oled"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lukas-ebner/ebay-comps-intelligence").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 = { "searchTerms": ["nintendo switch oled"] }

# Run the Actor and wait for it to finish
run = client.actor("lukas-ebner/ebay-comps-intelligence").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 '{
  "searchTerms": [
    "nintendo switch oled"
  ]
}' |
apify call lukas-ebner/ebay-comps-intelligence --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "eBay Seller & Comps Intelligence",
        "description": "Scrape eBay active + sold listings and get the comps eBay's API hides: median/percentile sold prices, sell-through rate, sold velocity, and seller-level analytics.",
        "version": "0.1",
        "x-build-id": "LEV9A5G0FB7dwmBic"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lukas-ebner~ebay-comps-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lukas-ebner-ebay-comps-intelligence",
                "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/lukas-ebner~ebay-comps-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-lukas-ebner-ebay-comps-intelligence",
                "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/lukas-ebner~ebay-comps-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-lukas-ebner-ebay-comps-intelligence",
                "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": [
                            "searchComps",
                            "seller",
                            "items"
                        ],
                        "type": "string",
                        "description": "What to do: compute comps for search terms, analyze sellers, or enrich specific item URLs.",
                        "default": "searchComps"
                    },
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Keywords to research, e.g. \"pokemon charizard psa 10\". Used in 'Search comps' mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "sellerUsernames": {
                        "title": "Seller usernames",
                        "type": "array",
                        "description": "eBay seller usernames to analyze. Used in 'Seller analytics' mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "Item URLs",
                        "type": "array",
                        "description": "Direct eBay item URLs to enrich. Used in 'Item details' mode.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "listingType": {
                        "title": "Listing type",
                        "enum": [
                            "active",
                            "sold",
                            "both"
                        ],
                        "type": "string",
                        "description": "Active listings, sold/completed listings (the high-value comps data), or both.",
                        "default": "both"
                    },
                    "market": {
                        "title": "Marketplace",
                        "enum": [
                            "us",
                            "uk",
                            "de",
                            "au",
                            "ca",
                            "fr",
                            "it",
                            "es"
                        ],
                        "type": "string",
                        "description": "Which eBay marketplace to scrape.",
                        "default": "us"
                    },
                    "maxItemsPerSearch": {
                        "title": "Max items per search",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Upper bound on listings fetched per term/seller (per active/sold side).",
                        "default": 240
                    },
                    "includeItemDetails": {
                        "title": "Enrich item details",
                        "type": "boolean",
                        "description": "Visit each item page to add seller, feedback %, item specifics, shipping, bids. Slower and costs more.",
                        "default": false
                    },
                    "sort": {
                        "title": "Sort order",
                        "enum": [
                            "12",
                            "10",
                            "13",
                            "15",
                            "16"
                        ],
                        "type": "string",
                        "description": "eBay sort code.",
                        "default": "12"
                    },
                    "conditionId": {
                        "title": "Condition filter",
                        "enum": [
                            "1000",
                            "1500",
                            "2000",
                            "2500",
                            "3000"
                        ],
                        "type": "string",
                        "description": "Restrict to a condition. Leave empty for all conditions."
                    },
                    "enrichConcurrency": {
                        "title": "Enrichment concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Parallel item-page fetches when enriching.",
                        "default": 4
                    },
                    "requestDelayMs": {
                        "title": "Request delay (ms)",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Polite delay between requests. Lower = faster but higher block risk.",
                        "default": 600
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxies to route requests through. Apify Proxy (datacenter) is enough to start; switch to residential if blocked.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
