# European Classifieds Price Compare — DE, NL, ES, IT (`muira_datamasters/european-classifieds-price-compare`) Actor

Compare second-hand prices for one search across Kleinanzeigen (DE), Marktplaats (NL), Wallapop (ES) and Subito (IT): median, quartiles, min/max and the cheapest ads per country, plus a ranking of the cheapest country.

- **URL**: https://apify.com/muira_datamasters/european-classifieds-price-compare.md
- **Developed by:** [Muira Datamasters](https://apify.com/muira_datamasters) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 country comparisons

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

## European Classifieds Price Compare — DE, NL, ES, IT

**What you get**

- The second-hand price of one product in Germany, the Netherlands, Spain and Italy: median, quartiles, min and max per country.
- The cheapest matching ads in each country, with title, price, city and link.
- A ranking of the countries from cheapest to most expensive, in one run of a few seconds.

Each country is searched on its leading classifieds site: Germany on Kleinanzeigen, the Netherlands on Marktplaats, Spain on Wallapop, Italy on Subito. The four searches run at the same time.

### Example

Input:

```json
{ "query": "iphone 15", "category": "phones", "adsPerCountry": 30 }
```

Result of a test run on 17 Nov 2026 (about 3 seconds), cheapest first:

| Country | Site | Median |
|---|---|---|
| DE | Kleinanzeigen | €462.50 |
| NL | Marktplaats | €475 |
| ES | Wallapop | €525 |
| IT | Subito | €590 |

### Input

| Field | Default | Notes |
|---|---|---|
| `query` | required | What to price, e.g. `iphone 15`, `gravel bike`, `thermomix tm6`. The same query is searched in every country. |
| `category` | none | `bikes`, `electronics`, `phones`, `cars`, `furniture` or `fashion`. Mapped to the matching category on each site. Removes most accessories and unrelated ads. |
| `countries` | all four | Any of `DE`, `NL`, `ES`, `IT`. |
| `adsPerCountry` | 200 | How many of the newest matching ads to collect per country (1–1,000). More ads give steadier medians. |
| `cheapestN` | 5 | How many of the cheapest kept ads to include per country. 0 to leave them out. |
| `priceMin` / `priceMax` | none | In euros, applied on every site. |
| `condition` | all | Applied where the site shows the condition in its search results; elsewhere (e.g. Kleinanzeigen) ads are kept. |
| `proxy` | default | Leave the default: each site uses the proxy that works for it, including residential proxies in Germany for Kleinanzeigen (included in the price). |

The search is nationwide in each country; there is no location input.

### Output

One row per country, in the order DE, NL, ES, IT, then one summary row.

Country row (shortened, values illustrative):

```json
{
  "rowType": "country",
  "country": "DE",
  "site": "kleinanzeigen",
  "query": "iphone 15",
  "collected": 200,
  "sampleSize": 151,
  "excluded": { "titleMismatch": 38, "noPrice": 6, "belowFloor": 5 },
  "median": 462.5,
  "p25": 410,
  "p75": 520,
  "min": 140,
  "max": 899,
  "currency": "EUR",
  "cheapest": [ { "title": "iPhone 15 128GB …", "price": 140, "city": "…", "url": "https://www.kleinanzeigen.de/s-anzeige/…", "…": "…" } ],
  "error": null
}
```

- `collected` is the number of ads crawled, `sampleSize` the number kept for the statistics, and `excluded` says why the others were dropped.
- `cheapest` contains full ad records, with the same fields as the four site Actors.
- If a country fails, its row has `error` set and no statistics; the other countries are still reported.

Summary row:

```json
{
  "rowType": "summary",
  "query": "iphone 15",
  "ranking": [
    { "country": "DE", "site": "kleinanzeigen", "median": 462.5, "sampleSize": 151 },
    { "country": "NL", "site": "marktplaats", "median": 475, "sampleSize": "…" },
    { "country": "ES", "site": "wallapop", "median": 525, "sampleSize": "…" },
    { "country": "IT", "site": "subito", "median": 590, "sampleSize": "…" }
  ],
  "cheapestOverall": { "title": "…", "price": 140, "country": "DE", "url": "…" }
}
```

### Which ads count

Classifieds searches return more than the product you asked for: cases, chargers, spare parts, "wanted" ads, other models. Two rules keep the statistics on the product itself:

1. **Title match.** An ad counts only if its title contains every word of your query. Case and accents are ignored, and numbers count as words. For `iphone 15`, "Apple iPhone 15 128GB" counts; "iPhone 14 Pro" and "Apple 15 Zoll MacBook" do not.
2. **Price floor.** Ads with no price or a price of 0 are dropped, then ads priced below 25% of the median.

Write the query the way sellers title their ads: brand and model (`iphone 15`, `thermomix tm6`, `specialized diverge`), not a description (`cheap phone`) or a word in one language only. Every extra word must appear in the title, so `iphone 15 128gb` keeps far fewer ads than `iphone 15`.

Parts and accessories that name the product and cost more than a quarter of the median can still count, and can appear among the cheapest ads (for example an "iPhone 15 display" at €150). Use `category`, `priceMin`, or a more specific query to keep them out.

Other things to know:

- The sample is the newest ads in each country. On Marktplaats "newest" starts with paid bumps (Dagtopper ads), so the Dutch sample leans towards promoted ads.
- On Kleinanzeigen the condition is not in the search results, so the `condition` filter does not apply there.
- The residential proxy the Actor picks (Kleinanzeigen, or a fallback after blocks) is capped at 1 GB of traffic per site per run; when the cap is reached, that country stops with what it collected. A residential proxy you choose yourself is not capped.

### Pricing

Pay per event.

| Event | Price |
|---|---|
| Actor start | $0.005 |
| Country row | $0.02 |
| Collected ad | $1.50 per 1,000 |

Ads are charged on `collected`, not on `sampleSize`.

| Example | Cost |
|---|---|
| 4 countries × 200 ads | 4 × $0.02 + 800 × $0.0015 + $0.005 = **$1.285** |
| 4 countries × 50 ads | 4 × $0.02 + 200 × $0.0015 + $0.005 = $0.385 |

Free plan: at most 25 ads per country. If you set a maximum cost per run, a country row is pushed only if its full cost fits; otherwise the run stops with a message.

### Links

Need the ads themselves, more than one search, or alerts on new ads? Use the site Actors. Same input and output schema in DE, NL, ES, IT.

- [Kleinanzeigen Scraper](https://apify.com/muira_datamasters/kleinanzeigen-scraper) (Germany)
- [Marktplaats Scraper](https://apify.com/muira_datamasters/marktplaats-scraper) (Netherlands)
- [Wallapop Scraper](https://apify.com/muira_datamasters/wallapop-scraper) (Spain)
- [Subito Scraper](https://apify.com/muira_datamasters/subito-scraper) (Italy)

### FAQ

**Why is `sampleSize` much smaller than `collected`?**
Most dropped ads failed the title match. Check `excluded`. Shorten the query to the brand and model, or use the words sellers use in that country.

**Why is a country missing from the ranking?**
Its search failed or no ad was kept. The country row shows `error`, or `sampleSize: 0`.

**Are prices converted?**
All four sites list prices in euros, so no conversion is needed.

**Can I compare a specific city?**
No. Each country is searched nationwide. Use the site Actors for local searches.

### Data and privacy

No phone numbers or emails are collected, and private sellers' names are never output. Images are URLs only. You are the controller of the data you collect and need a lawful basis for its use.

# Actor input Schema

## `query` (type: `string`):

What to price, as you would type it on a classifieds site, e.g. <code>iphone 15</code>, <code>gravel bike</code> or <code>thermomix tm6</code>. The same query is searched on every selected site, and only ads whose title contains every word of it are compared. Brand and model names work best across languages.

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

Optional. Restricts each search to the matching category on every site, which removes most accessories and unrelated ads (e.g. cases when you look for a phone).

## `countries` (type: `array`):

Countries to compare. Each one is searched on its leading classifieds site: Germany on Kleinanzeigen, the Netherlands on Marktplaats, Spain on Wallapop and Italy on Subito. Default: all four.

## `adsPerCountry` (type: `integer`):

How many of the newest matching ads are collected in each country. Before the statistics are computed, ads whose title does not contain every word of the query (ignoring case, accents and words shorter than 2 characters) are left out, then ads without a price or priced 0, then ads priced below 25% of the median of the rest (accessories, placeholders). Each row shows how many ads were collected, how many were kept (<i>sampleSize</i>) and why the others were excluded. More ads give steadier medians but cost more: every collected ad is a <i>sampled-ad</i> event, kept or not. Free plan: at most 25.

## `cheapestN` (type: `integer`):

How many of the cheapest ads of each country's sample are included in its row (with title, price, city and link). 0 to leave them out.

## `priceMin` (type: `integer`):

In euros. Ads below this price are left out on every site, e.g. to skip accessories and spare parts.

## `priceMax` (type: `integer`):

In euros. Ads above this price are left out on every site.

## `condition` (type: `array`):

Keep only ads in these conditions. Empty = all. Applied where the site shows the condition in its search results; elsewhere (e.g. Kleinanzeigen) ads are kept.

## `proxy` (type: `object`):

Keep the default to let each site use the proxy that works for it (Apify Proxy datacenter, and residential proxies in Germany for Kleinanzeigen, which blocks datacenter IPs; included in the price). You can also choose your own proxies, which are then used for every site.

## `healthCheck` (type: `object`):

Optional. Marks the run as <b>failed</b> when a country returns an error or fewer comparable ads than <i>minSampleSize</i>. Example: <code>{"minSampleSize": 10}</code>.

## Actor input object example

```json
{
  "query": "iphone 15",
  "category": "phones",
  "countries": [
    "DE",
    "NL",
    "ES",
    "IT"
  ],
  "adsPerCountry": 50,
  "cheapestN": 5,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per country (median, quartiles, min, max, cheapest ads) and one summary row ranking the countries.

## `runSummary` (type: `string`):

Per-country crawl statistics, charged events and the health-check result.

# 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 = {
    "query": "iphone 15",
    "category": "phones",
    "adsPerCountry": 50,
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("muira_datamasters/european-classifieds-price-compare").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 = {
    "query": "iphone 15",
    "category": "phones",
    "adsPerCountry": 50,
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("muira_datamasters/european-classifieds-price-compare").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 '{
  "query": "iphone 15",
  "category": "phones",
  "adsPerCountry": 50,
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call muira_datamasters/european-classifieds-price-compare --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muira_datamasters/european-classifieds-price-compare"
        }
    }
}
```

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/MIE0LKphEdcmE8E5D/builds/oRt1eANXYyK5LSIxb/openapi.json
