# 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, Marketing
- **Stats:** 1 total users, 0 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/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 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(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 '{
  "keywords": [
    "pokemon charizard psa 10"
  ],
  "maxItems": 50
}' |
apify call nexgendata/ebay-sold-comps --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexgendata/ebay-sold-comps"
        }
    }
}
```

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/ALvjqgOCbekpM6fpa/builds/X85d9aUBu9wd9awyU/openapi.json
