# eBay & Mercari Sold Listings Scraper — Comps & Deal Sniper (`cea_digital/ebay-sold-listings-comps-scraper`) Actor

Scrape eBay & Mercari sold listings and completed sale prices by keyword or URL. Returns true realized sold prices (Accepted Best Offers), IQR spread, sell-through rate, 13.25% fee net flip profit, and Webhook/Telegram underpriced deal alerts. Pure HTTP, $0.0025/comp on Bronze+.

- **URL**: https://apify.com/cea_digital/ebay-sold-listings-comps-scraper.md
- **Developed by:** [Joshua Cloud](https://apify.com/cea_digital) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 verified sold comp item (true realized price + best offer)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

<p align="center"><img src="https://api.apify.com/v2/key-value-stores/UVY8wlfSFMU2SpAig/records/ebay-sold-listings-comps-scraper.png" width="140" alt="Icon" /></p>

## eBay & Mercari Sold Listings Scraper — Sold Prices, Best Offer Comps & Deal Sniper (`ceadigital/ebay-sold-listings-comps-scraper`)

> **🎁 $5 Free Apify Credit = 200 Free Trial Comps (or 2,000 Verified Bronze+ Comps — No Card Needed to Test `{}` Demo)**
> **True Realized Sold Prices (Incl. Accepted Best Offers)** • **Pure HTTP (`<6s` Live Demo)** • **1-Click FB Marketplace `datasetId` Chaining** • **Real-Time Arbitrage Sniper Alerts**

Scrape **eBay, Mercari, and Poshmark sold listings** and completed sale prices by keyword or URL. Returns true realized sold comps (including Accepted Best Offers), **IQR spread (`iqr_spread_usd`)**, sell-through velocity, net flip profit after 13.25% platform fees, and instant Webhook/Telegram alerts when an active Buy-It-Now listing drops below your target arbitrage threshold.

### Competitor Superset Comparison Table (1-Call Output Fields)

| Output Field / Capability | `cea_digital/ebay-sold-listings-comps-scraper` | `midwest_united/ebay-sold-comps` | `axery/ebay-sold-comps-scraper` |
| :--- | :--- | :--- | :--- |
| **Percentile Price Bands (`price_bands`: `min_usd`, `p25_usd`, `median_usd`, `p75_usd`, `p90_usd`, `average_usd`)** | **Yes** | Median/Avg only | Raw rows only |
| **Actionable Buy/List Targets (`recommended_max_buy_price_usd`, `recommended_list_price_usd`, `confidence_grade`)** | **Yes (`65%` Max Buy & `P75` List Target)** | No | No |
| **Landed Cost & Net Flip Profit After Fees (`shipping_cost_estimate_usd`, `total_landed_price_usd`, `net_flip_profit_after_fees_usd`)** | **Yes (`13.25%` eBay / `10%` Mercari)** | No | No |
| **Accepted Best Offer Detection & Real-Time Deal Sniper (`best_offer_accepted`, `is_underpriced_deal`)** | **Yes (Webhook + Telegram alerts)** | No | No |

***

### Transparent Pay-Per-Event (PPE) Pricing

| Event Name | Apify Bronze+ Rate | Apify Free-Plan Trial Rate | When Charged |
| :--- | :--- | :--- | :--- |
| `comp-item` | **`$0.0025` / comp** (`$2.50 / 1k`) | `$0.025` / comp | Charged per verified sold comp returned (`$0.00` on 0-result queries). |
| `cross-market-arbitrage-calc` | **`+$0.0025` / item** (`$2.50 / 1k`) | `$0.025` / item | Platform fee deduction (13.25% eBay / 10% Mercari), IQR spread, sell-through velocity, and net ROI calculation. |
| `underpriced-deal-alert` | **`+$0.02` / alert** | `$0.02` / alert | Charged when an active Buy-It-Now listing is below `underpricedThresholdPct` and triggers a real-time alert. |

> **Bypass Platform Commitments (`https://ceadigital.io/tools`)**: Grab a **$2.00 Instant Tripwire Key (100 hits)** or **$29/mo Growth Unified Key (5,000 hits/mo across all 3 CEA tools)** at <https://ceadigital.io/tools>.

***

### Honest Price-Per-1,000 Comparison Matrix

| Provider | Price per 1,000 Sold Comps | Accepted Best-Offer Detection? | Net Flip Margin & IQR Spread? | Real-Time Webhook/Telegram Sniper? |
| :--- | :--- | :--- | :--- | :--- |
| **`ceadigital/ebay-sold-listings-comps-scraper` (Bronze+)** | **`$2.50 / 1k comps`** | **Yes** | **Yes (13.25% eBay / 10% Mercari)** | **Yes (`monitorMode: true`)** |
| **CEA Direct Unified Key (`ceadigital.io/tools`)** | **`$4.15–$5.80 / 1k queries`** | **Yes** | **Yes** | **Yes** |
| `caffein.dev/ebay-sold-listings` | `$4.00 / 1k` + start fee | eBay only | Raw listings only | No |
| Manual eBay Terapeak Research | Hours of manual copy-paste | Manual | Manual spreadsheet | No |

***

### 1-Click `datasetId` Chaining (Zero-Glue Enrichment)

| Upstream Scraper | Input Field to Set | What We Calculate Automatically |
| :--- | :--- | :--- |
| `apify/facebook-marketplace-scraper` | `fbMarketplaceDatasetId` | Matches local ask price against eBay/Mercari sold median & net flip profit |

***

### Copy to Your AI Assistant (Claude Code / Cursor / MCP)

```bash
claude mcp add ceadigital-tools --transport http https://ceadigital.io/mcp
```

### CEA Digital High-Speed Pure-HTTP Actor Suite

- **[`ceadigital/skip-trace-owner-phone-finder`](https://apify.com/ceadigital/skip-trace-owner-phone-finder)** — Skip trace property owners & pierce anonymous LLCs to human managing members + wireless phone/email + U.S. Treasury OFAC KYB (`$0.004/hit` Bronze+).
- **[`ceadigital/instagram-tiktok-youtube-transcript-scraper`](https://apify.com/ceadigital/instagram-tiktok-youtube-transcript-scraper)** — Bulk video transcript scraper + 0–3s spoken hooks, 0–3s burned-in visual OCR hooks, and localized UGC briefs from Instagram Reels, TikTok & YouTube Shorts (`$0.005/min` Bronze+).
- **[`ceadigital/ebay-sold-listings-comps-scraper`](https://apify.com/ceadigital/ebay-sold-listings-comps-scraper)** — eBay & Mercari 90-day realized sold listings, Best Offer comps, IQR spread, net margin after 13.25% fees & real-time underpriced deal sniper (`$0.0025/comp` Bronze+).
- **Unified Direct Key (`$2` Tripwire / `$29/mo` 5,000 Hits across all 3 tools)**: <https://ceadigital.io/tools>

# Actor input Schema

## `fbMarketplaceDatasetId` (type: `string`):

Paste a Dataset ID from apify/facebook-marketplace-scraper to automatically compute eBay/Mercari sold comps and net flip profit for every local listing.

## `ebaySearchUrl` (type: `string`):

Optional direct eBay or Mercari search URL to extract sold comps from.

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

List of exact product titles, SKUs, or model numbers to price-check. Leave empty to run the 6-second instant live demo.

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

Filter completed sold comps by item condition so for-parts listings never skew used/new medians.

## `filterDealers` (type: `boolean`):

Automatically strip replacement boxes, cables-only spam, and commercial drop-shippers from median comp math.

## `monitorMode` (type: `boolean`):

When enabled, checks active Buy-It-Now listings against 30-day median sold prices and fires instant Webhook/Telegram alerts on underpriced deals.

## `underpricedThresholdPct` (type: `number`):

Trigger an underpriced-deal-alert when an active Buy-It-Now listing is at least this percentage below the 30-day median realized sold price.

## `webhookUrl` (type: `string`):

Optional HTTP POST webhook URL triggered when an underpriced deal is found.

## `telegramChatId` (type: `string`):

Optional Telegram Chat ID for instant mobile deal alerts.

## `watchlistId` (type: `string`):

Set a Watchlist ID when running on an hourly/5-minute Schedule so previously evaluated listings are never billed twice.

## `onlyNew` (type: `boolean`):

When paired with watchlistId, skips any SKU/listing already processed in previous runs ($0.00 charged on duplicates).

## `feedback` (type: `string`):

Need StockX, Goat, Chrono24, or Reverb fee calculators? Let us know here.

## Actor input object example

```json
{
  "keywords": [],
  "condition": "used",
  "filterDealers": true,
  "monitorMode": false,
  "underpricedThresholdPct": 25,
  "onlyNew": true
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("cea_digital/ebay-sold-listings-comps-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("cea_digital/ebay-sold-listings-comps-scraper").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 '{}' |
apify call cea_digital/ebay-sold-listings-comps-scraper --silent --output-dataset

```

## MCP server setup

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

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/Bia7QXmjy6aJ1M6mb/builds/rpM5JdgH2KT6D6cHd/openapi.json
