# eBay Sold Listings Scraper & Real Market Price Valuator (`viktornovakuae/ebay-sold-price-valuator`) Actor

Scrape completed & sold eBay items with statistical market valuation: median sold price, IQR fair-value range, outlier filtering & deal discount percentage.

- **URL**: https://apify.com/viktornovakuae/ebay-sold-price-valuator.md
- **Developed by:** [Viktor Novak](https://apify.com/viktornovakuae) (community)
- **Categories:** E-commerce, Automation, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.80 / 1,000 sold-item-valueds

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/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 Listings Scraper & Secondary Market Price Valuator API

Extract, enrich, and analyze **eBay sold listings and resale market values** in seconds with clean, structured JSON/CSV/Excel output—engineered for **B2B growth teams, data pipelines, n8n/Make automations, and AI MCP agents**.

***

### Why Choose This Actor?

- **Statistical Fair-Value Engine Built In:** Computes **IQR-trimmed Median Sold Price** (automatically discarding `$1` broken-parts outliers and unrealistic listings), **25th–75th Fair Value Band**, and **Recommended Max Flip Buy Price** (accounting for marketplace fees + target margin).
- **Total Landed Cost Calculation:** Combines `soldPrice` + `shippingPrice` into `totalLandedPrice` so inflated shipping tricks never skew your valuation.
- **Instant Deal Spread (`vsMedianPct` & `dealTag`):** Flags every historical sale as `STEAL_BELOW_MARKET` (`<= -20%`), `FAIR_MARKET`, or `ABOVE_MARKET`.
- **Multi-Country Support + Resilient Hybrid Engine:** Supports `ebay.com`, `ebay.co.uk`, `ebay.de`, `ebay.com.au`, and `ebay.ca` with Residential proxy support *plus* automatic web-index valuation fallback so health checks and quick runs always succeed.

***

### High-ROI Use Cases

- **Flippers, Arbitrageurs & Pawn / Recommerce Apps:** Value electronics, watches, sneakers, camera lenses, trading cards, and auto parts in real time.
- **AI Shopping & Pricing Agents (MCP):** Give Claude or custom e-commerce pricing bots real secondary-market transaction comps instead of inflated active asking prices.
- **Inventory Liquidation Valuation:** Batch-price hundreds of SKUs or estate items in minutes at `$1.80 / 1,000` (nearly half the `$3.50 / 1,000` competitor rate).

***

### Quick Start: How to Use in 3 Clicks (No Coding Required)

1. **Click "Try for free"** to open the Actor in your Apify Console—sensible prefilled defaults are already loaded so you can test immediately.
2. **Enter your targets** in the **Target Sources & Search Inputs** section (domains, keywords, slugs, or URLs) and set your desired result limit.
3. **Click "Start"** and download your enriched dataset in **Excel (`.xlsx`), CSV, JSON, or JSONL**, or pipe results directly into Google Sheets, Slack, HubSpot, or n8n.

***

### Input Parameters

| Parameter | Type | Required | Description |
| :--- | :--- | :---: | :--- |
| `keywords` | `array` | Yes | Products, model numbers, collectibles, or SKUs to value (e.g. 'Sony WH-1000XM5', 'Rolex Datejust 1601', 'RTX 4090'). *(Default: `["Sony WH-1000XM5"]`)* |
| `marketplace` | `string` | Optional | Regional eBay marketplace. *(Default: `"ebay.com"`)* |
| `condition` | `string` | Optional | Optional item condition filter. *(Default: `"ALL"`)* |
| `maxItemsPerKeyword` | `integer` | Optional | Maximum sold items to extract per keyword. *(Default: `40`)* |
| `proxyConfiguration` | `object` | Optional | eBay blocks datacenter IPs; Apify Residential Proxy is selected by default for reliable sold-listing extraction. *(Default: `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`)* |

#### Input JSON Example

```json
{
  "keywords": [
    "Sony WH-1000XM5"
  ],
  "marketplace": "ebay.com",
  "condition": "ALL",
  "maxItemsPerKeyword": 25,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

***

### Output Dataset Schema & Sample Record

Every item pushed to the default dataset follows a strict, normalized schema ready for spreadsheets, SQL warehouses, or LLM tool-calling:

| Field | Type | Description |
| :--- | :--- | :--- |
| `keyword` | `string` | Product search query. |
| `title` | `string` | Sold item listing title. |
| `soldPrice` | `number` | Final hammer / Buy-It-Now sold price. |
| `shippingPrice` | `number` | Parsed shipping cost (`0.0` for Free Shipping). |
| `totalLandedPrice` | `number` | `soldPrice + shippingPrice`. |
| `keywordMedianSoldPrice` | `number` | Outlier-filtered IQR median sold price across the cohort. |
| `fairValueBandP25ToP75` | `string` | 25th to 75th percentile market price corridor. |
| `recommendedMaxFlipBuyPrice` | `number` | Target max acquisition price for ~15%+ net resale profit after fees. |
| `vsMedianPct` | `number` | Percentage spread of this item vs cohort median. |
| `dealTag` | `string` | `STEAL_BELOW_MARKET`, `FAIR_MARKET`, or `ABOVE_MARKET`. |
| `condition` | `string` | Item condition (`Pre-Owned`, `Brand New`, `Open Box`). |
| `soldDateText` | `string` | Date sold label. |
| `itemUrl` | `string` | Canonical eBay item URL. |

#### Sample Output JSON

```json
{
  "keyword": "Sony WH-1000XM5",
  "marketplace": "ebay.com",
  "title": "Sony WH-1000XM5 Wireless Noise Canceling Headphones - Black w/ Case",
  "soldPrice": 189.99,
  "shippingPrice": 0.0,
  "totalLandedPrice": 189.99,
  "keywordMedianSoldPrice": 224.5,
  "fairValueBandP25ToP75": "195.0 - 249.0",
  "recommendedMaxFlipBuyPrice": 157.15,
  "vsMedianPct": -15.4,
  "dealTag": "FAIR_MARKET",
  "condition": "Pre-Owned",
  "soldDateText": "Sold Nov 27, 2026",
  "itemUrl": "https://www.ebay.com/itm/286149203812"
}
```

***

### Transparent Pay-Per-Event Pricing

You only pay for clean records actually delivered to your dataset via Apify's **Pay-Per-Event (`sold-item-valued`)** model—no monthly lock-in or wasted subscription fees:

| Volume Extracted | Estimated Cost (`$1.80 / 1,000` items) |
| :--- | :--- |
| **100 items** | **$0.18** |
| **1,000 items** | **$1.80** |
| **10,000 items** | **$18.00** |

> **Free-Plan Demo Mode:** Users on Apify's `$0` Free plan can run live tests (up to 15–25 records per run) to inspect full data quality and schema compatibility before upgrading to any paid Apify plan for unlimited volume.

***

### API, Python, n8n & AI Agent (MCP) Integrations

#### 1. Connect to Claude, Cursor, ChatGPT & AI Agents via Apify MCP

Add the official Apify MCP server (`https://mcp.apify.com`) to your AI client so your assistant can discover and call `viktornovakuae/ebay-sold-price-valuator` autonomously:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

#### 2. Run Synchronously via cURL (Single HTTP Request -> JSON Items)

```bash
curl -X POST "https://api.apify.com/v2/acts/viktornovakuae~ebay-sold-price-valuator/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["Sony WH-1000XM5"], "marketplace": "ebay.com", "condition": "ALL", "maxItemsPerKeyword": 25, "proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}}'
```

#### 3. Run via Official Python SDK (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("viktornovakuae/ebay-sold-price-valuator").call(run_input={
  "keywords": [
    "Sony WH-1000XM5"
  ],
  "marketplace": "ebay.com",
  "condition": "ALL",
  "maxItemsPerKeyword": 25,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### 4. Automate in n8n / Make / Zapier

Install the verified **`@apify/n8n-nodes-apify`** node in n8n (or use an `HTTP Request` node), select **Run Actor and Get Dataset Items**, choose `viktornovakuae/ebay-sold-price-valuator`, and route enriched records straight into Google Sheets, Airtable, HubSpot, Telegram, or OpenAI/Gemini nodes.

***

### Frequently Asked Questions (FAQ)

#### How to scrape eBay sold listings and resale market values reliably without getting blocked?

This Actor handles connection headers, pagination, rate-limiting, structured JSON/API extraction, and Apify Proxy rotation automatically in the cloud—delivering clean structured rows without maintaining brittle local scripts.

#### How much does it cost to extract eBay sold listings and resale market values?

Pricing is strictly usage-based at **$1.80 per 1,000 results** (`sold-item-valued`). Extracting 500 records costs roughly **$0.90**, making it significantly more cost-effective than enterprise SaaS subscriptions.

#### Is extracting public data legal and compliant?

Yes. This Actor exclusively accesses **publicly available web data** without logging into private user accounts, bypassing paywalls, or collecting sensitive private personal data. Always ensure your downstream use complies with applicable terms and regulations (such as GDPR/CCPA where relevant).

***

### Related Intelligence Tools in Our Suite

Combine this Actor with our other specialized B2B, E-Commerce, Ads & AI data tools on Apify:

| Actor | Best For |
| :--- | :--- |
| [**Multi-ATS Career Jobs & B2B Hiring Signals API**](https://apify.com/viktornovakuae/multi-ats-jobs-hiring-signals) | Greenhouse, Lever, Ashby, Workable & SmartRecruiters jobs + B2B sales triggers |
| [**B2B Website Contact Scraper + Instant MX Email Validator**](https://apify.com/viktornovakuae/b2b-contact-email-validator) | 2-in-1 domain crawler + live DNS MX/SPF & disposable email verification |
| [**Trustpilot + App Store + Google Play Reviews & Churn Monitor**](https://apify.com/viktornovakuae/unified-reviews-churn-monitor) | 3-platform customer review intelligence with automated Churn Risk alerts |
| [**YouTube Transcript, Chapters & AI RAG Chunker API**](https://apify.com/viktornovakuae/youtube-transcript-rag-chunker) | Semantic timestamped Markdown chunks (`?t=Ns`) + outbound sponsor links |
| [**Reddit Buyer-Intent, Pain-Point & Brand Mention Scraper**](https://apify.com/viktornovakuae/reddit-buyer-intent-radar) | 0–100 Buyer-Intent scoring (`alternative to`, `recommend a tool`) on Reddit |
| [**Google Ads Transparency Spy & Winning Creative Longevity API**](https://apify.com/viktornovakuae/google-ads-transparency-spy) | Browserless Google Ads spy ranked by active longevity days (`90d+ winners`) |
| [**Meta (Facebook & Instagram) Ad Library Winner Hunter**](https://apify.com/viktornovakuae/meta-ads-library-winner-hunter) | FB & IG ad spy with Days Running, duplicate collation count & funnel domain |
| [**UAE Real Estate & Below-Market Deal Finder (Dubai & Abu Dhabi)**](https://apify.com/viktornovakuae/uae-real-estate-deal-analyzer) | AED/sqft cohort median comparison, Below-Market % gems, gross yield & broker contacts |
| [**Amazon Product, Monthly Sales Volume & Revenue Intelligence API**](https://apify.com/viktornovakuae/amazon-product-revenue-intelligence) | 10 Amazon marketplaces with Monthly Units Bought & Estimated Monthly Revenue |

# Actor input Schema

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

Products, model numbers, collectibles, or SKUs to value (e.g. 'Sony WH-1000XM5', 'Rolex Datejust 1601', 'RTX 4090').

## `marketplace` (type: `string`):

Regional eBay marketplace.

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

Optional item condition filter.

## `maxItemsPerKeyword` (type: `integer`):

Maximum sold items to extract per keyword.

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

Select Apify Residential Proxy on paid plans for direct eBay DOM scraping; automatically falls back to secondary-market valuation comps on datacenter IPs.

## Actor input object example

```json
{
  "keywords": [
    "Sony WH-1000XM5"
  ],
  "marketplace": "ebay.com",
  "condition": "ALL",
  "maxItemsPerKeyword": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `soldListings` (type: `string`):

No description

# 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": [
        "Sony WH-1000XM5"
    ],
    "marketplace": "ebay.com",
    "condition": "ALL",
    "maxItemsPerKeyword": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("viktornovakuae/ebay-sold-price-valuator").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": ["Sony WH-1000XM5"],
    "marketplace": "ebay.com",
    "condition": "ALL",
    "maxItemsPerKeyword": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("viktornovakuae/ebay-sold-price-valuator").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": [
    "Sony WH-1000XM5"
  ],
  "marketplace": "ebay.com",
  "condition": "ALL",
  "maxItemsPerKeyword": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call viktornovakuae/ebay-sold-price-valuator --silent --output-dataset

```

## MCP server setup

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

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/FEAVG98ybxD4jdYgb/builds/bNB6avLo5ezcHibtv/openapi.json
