# eBay Sold Comps — Real Sold-Price Market Data API (`nexgendata/ebay-sold-comps`) Actor

- **URL**: https://apify.com/nexgendata/ebay-sold-comps.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (community)
- **Categories:** E-commerce, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 sold 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Sold Comps

Pull real sold-price comps from eBay — actual transaction prices, condition and dates. Market data for pricing research, not investment advice.

> Market data for your research. Not investment, valuation or financial advice.

### ⏰ Run this as a daily price/listing watch (recommended)

Prices and listings move constantly. Schedule a daily sweep (`0 7 * * *`) and track changes over time — an always-on comp feed.

### 📊 What you get

Clean JSON, one record per comp (full output has 13 fields):

- `title` — Title
- `sold_price` — Sold price
- `currency` — Currency
- `sold_date` — Sold date
- `condition` — Condition
- `shipping_cost` — Shipping cost
- `bids_or_buyitnow` — Bids or buyitnow
- `listing_url` — Listing url
- `image_url` — Image url
- `seller` — Seller

**Pricing:** $0.008 per comp (Pay-Per-Event) — about **125 comps per $1**.

### 🤖 Use with AI agents

Point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull data on demand.

**Agentic payments (x402):** Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.

### 🔗 Related actors

**Commerce & pricing family — track prices and comps across marketplaces:**

[Google Shopping](https://apify.com/nexgendata/google-shopping-scraper) · [Walmart](https://apify.com/nexgendata/walmart-scraper) · [Competitor Price Monitor](https://apify.com/nexgendata/competitor-price-monitor) · [Reverb Instruments](https://apify.com/nexgendata/reverb-musical-instrument-scraper) · [Craigslist Marketplace](https://apify.com/nexgendata/craigslist-scraper)

**Detect & analyze storefronts:** [Shopify Revenue Estimator](https://apify.com/nexgendata/shopify-analyzer) · [Shopify Store Detector](https://apify.com/nexgendata/shopify-store-detector) · [Shopify Store Analyzer](https://apify.com/nexgendata/shopify-store-analyzer)

## *This actor is currently private — treated and ready for review.*

*Public web data, assembled for research and monitoring.*

# Actor input Schema

## `keywords` (type: `array`):

One or more search terms. Each term is searched against eBay SOLD/completed listings. Example: 'pokemon charizard psa 10'.

## `category` (type: `string`):

Optional eBay category ID (\_sacat) to narrow the search to a specific category. Leave blank to search all categories.

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

Optional item condition filter applied to sold listings.

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

Maximum number of sold listings to collect per keyword. Pagination stops once this is reached.

## Actor input object example

```json
{
  "keywords": [
    "pokemon charizard psa 10",
    "nike dunk low panda"
  ],
  "condition": "",
  "maxItems": 50
}
```

# 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 = {
    "keywords": [
        "pokemon charizard psa 10"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/ebay-sold-comps").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 = {
    "keywords": ["pokemon charizard psa 10"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/ebay-sold-comps").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 '{
  "keywords": [
    "pokemon charizard psa 10"
  ],
  "maxItems": 50
}' |
apify call nexgendata/ebay-sold-comps --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/ALvjqgOCbekpM6fpa/builds/X85d9aUBu9wd9awyU/openapi.json
