# Kleinanzeigen Price Benchmark & Deal Finder (MCP) (`quicksilver_lumber/kleinanzeigen-market-mcp`) Actor

Find out what things really sell for on Kleinanzeigen. Get the typical price range for any search, see where your ad ranks, spot listings priced below market and follow weekly category trends. Use it from Claude, Cursor or n8n, or as a normal Actor.

- **URL**: https://apify.com/quicksilver_lumber/kleinanzeigen-market-mcp.md
- **Developed by:** [Ahmed Rebai](https://apify.com/quicksilver_lumber) (community)
- **Categories:** Open source
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 price benchmarks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Kleinanzeigen Price Benchmark & Deal Finder (MCP)

Kleinanzeigen market answers for AI agents: fair price, listing rank and deals in one call, not a raw data dump.
Works from Claude, Cursor and n8n (MCP server) or as a normal Apify Actor. You pay per answer.

*Deutsch: Marktpreise, Ranking deiner Anzeige und günstige Angebote auf Kleinanzeigen, direkt in Claude, Cursor oder n8n.*

### Example: "What should I ask for a used iPhone 13 in Berlin?"

Real `get_price_benchmark` output (2026-09-29, shortened):

```json
{ "query": { "keyword": "iphone 13", "location": "Berlin", "radius": 20 },
  "totalResults": 1161, "count": 50, "median": 249, "p10": 94, "p90": 375,
  "sellerMix": { "commercial": 0.38, "private": 0.62 },
  "medianAgeDays": 0.5, "confidence": "high" }
```

Instead of exporting thousands of listings and computing this yourself, you get the answer in about 1 KB.

> **Not affiliated with, endorsed by or connected to Kleinanzeigen or Adevinta.** Uses public search pages only. No personal data is stored or returned: seller type (private/commercial) only, never names, phone numbers, emails or profile links.

### Example prompts

- "What is the typical price for an iPhone 13 within 20 km of Berlin? Include competitors."
- "Where does my listing https://www.kleinanzeigen.de/s-anzeige/... rank for 'e-bike' in München?"
- "Find road bikes under €400 near Köln priced at least 25% below the market."
- "Which categories have the most listings in Hamburg, and how did they change week over week?"
- "What words do sellers use most in 'Laptops & Notebooks' titles in Berlin?"

### Pricing

You pay only for answers. Errors, blocked requests and repeated questions are free.

| Answer | Price |
|---|---|
| Price benchmark (`get_price_benchmark`, `get_market_snapshot`) | $0.02 |
| Listing rank check (`get_listing_rank`) | $0.03 |
| Deal search (`find_deals`) | $0.03 |
| Trend query (`get_top_categories`, `get_paid_ads_trend`, `get_top_terms`) | $0.005 |
| Service status (`get_service_status`) | free |

The same question asked again within 3 hours (15 minutes for rank checks) is answered from cache and not charged. Platform and proxy costs are included.

### Tools

| Tool | Data | What it returns |
|---|---|---|
| `get_price_benchmark(keyword, location, radius=20, category?, include?)` | live, up to 2 pages | count, median, P10, P90, 5-bucket histogram, private/commercial share, median age, confidence, 3 examples. `include`: `competitors` (price bands per seller type), `paidAds`, `terms` |
| `get_listing_rank(listingUrl, keyword, location)` | live, up to 3 pages | organic position and page, promoted ads above, or "not in top 3 pages" |
| `find_deals(keyword, location, radius=20, category?, minDiscount=0.25, maxPrice?, privateOnly=false, limit=10)` | live, up to 3 pages | listings priced below the median of comparable listings: discount %, estimated profit, age, seller type, link; under 35% of the median is flagged "suspicious" |
| `get_market_snapshot(keyword, plz, radius=20)` | live | comparable listings only (same model, no defects or wanted ads): count, median, P25, P75, min, professional share |
| `get_top_categories(location, weeks=4)` | weekly data | categories ranked by listing count, week-over-week change, median price |
| `get_paid_ads_trend(category, location, weeks=4)` | weekly data | promoted share per week |
| `get_top_terms(category, location)` | weekly data | most-used title terms (latest week) |
| `get_service_status()` | — | health check, enabled tools, date of the latest weekly data |

- **Location:** a German city or PLZ, e.g. "Berlin", "Frankfurt am Main" or "80331". Unknown places return an error instead of a wrong city.
- **Confidence:** `low` below 15 clean listings, `medium` below 40, otherwise `high`. Prices are cleaned first: wanted ads, free and zero prices are dropped, outliers removed (1.5×IQR).
- **Weekly data:** 30 popular categories in Berlin, Hamburg, München, Köln and Frankfurt am Main, updated every Monday.

### Connect (MCP)

Endpoint: `https://quicksilver-lumber--kleinanzeigen-market-mcp.apify.actor/mcp`, authenticated with your [Apify API token](https://console.apify.com/settings/integrations).

**Claude Desktop** (`claude_desktop_config.json`, via `mcp-remote`):

```json
{
  "mcpServers": {
    "kleinanzeigen": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://quicksilver-lumber--kleinanzeigen-market-mcp.apify.actor/mcp",
               "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer <your Apify token>" }
    }
  }
}
```

**Cursor** (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "kleinanzeigen": {
      "url": "https://quicksilver-lumber--kleinanzeigen-market-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer <your Apify token>" }
    }
  }
}
```

**n8n**: add an *MCP Client Tool* node to your AI Agent. Endpoint: the URL above, transport: HTTP Streamable, authentication: Bearer with your Apify token.

### Run as a normal Actor (JSON in, JSON out)

```json
{ "mode": "tool", "tool": "get_price_benchmark",
  "params": { "keyword": "iphone 13", "location": "Berlin", "radius": 20, "include": ["competitors"] } }
```

The answer goes to the default dataset as `{ tool, cached, result }`. The Output tab shows it as a table.

### Honest limits

- **Sampled data.** Only the first result pages are read (up to 3 per call).
- **Supply, not demand.** Counts are listing volume, not how many people search or buy.
- **Asking prices, not sold prices.** Kleinanzeigen does not publish final sale prices.
- **Title terms are not search volume.** They are the words sellers use most in titles.
- **Promotion, not spend.** Top and gallery badges are currently not visible in the search pages, so promoted share is often 0 ("not detected").
- **Trends need 2+ weeks of data.** Until then, tools say so instead of inventing a trend.
- **Blocking.** Kleinanzeigen sometimes blocks requests for a while. You then get "Kleinanzeigen blocked the request, try again later" and are not charged.

### FAQ

**Is this legal?** It reads public search pages without login, the same pages anyone can open in a browser, and returns aggregates instead of copying listings. It stores no personal data. Check Kleinanzeigen's terms for your own use case.

**Which places work?** Any German city or PLZ for the live tools. Weekly trend tools cover the 5 cities listed above.

**Why is my listing "not in top 3 pages"?** The rank check reads the first 3 result pages (about 75 listings). Try a more specific keyword or a smaller radius.

**Something broken or missing?** Open an issue on this page.

### About

Built by Ahmed, who also builds **AnzeigenBoost**, a Chrome extension for Kleinanzeigen sellers.

# Actor input Schema

## `mode` (type: `string`):

tool = run one analysis. snapshot = weekly crawl of src/snapshot/targets.json (page 1 only) into the named dataset "weekly-snapshots".

## `tool` (type: `string`):

Which analysis to run.

## `params` (type: `object`):

get_price_benchmark: {keyword, location, radius?, category?, include?: \["competitors","paidAds","terms"]}. get_listing_rank: {listingUrl, keyword, location}. find_deals: {keyword, location, radius?, category?, minDiscount?, maxPrice?, privateOnly?, limit?}. get_top_categories: {location, weeks?}. get_paid_ads_trend: {category, location, weeks?}. get_top_terms: {category, location}.

## `proxyGroups` (type: `array`):

Apify Proxy groups. RESIDENTIAL is recommended: datacenter groups usually have no German IPs. Country is always DE.

## Actor input object example

```json
{
  "mode": "tool",
  "tool": "get_price_benchmark",
  "params": {
    "keyword": "iphone 13",
    "location": "Berlin",
    "radius": 20
  },
  "proxyGroups": [
    "RESIDENTIAL"
  ]
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

## `snapshotSummary` (type: `string`):

Only for mode "snapshot": rows written, failures, requests and GB used.

# 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 = {
    "params": {
        "keyword": "iphone 13",
        "location": "Berlin",
        "radius": 20
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("quicksilver_lumber/kleinanzeigen-market-mcp").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 = { "params": {
        "keyword": "iphone 13",
        "location": "Berlin",
        "radius": 20,
    } }

# Run the Actor and wait for it to finish
run = client.actor("quicksilver_lumber/kleinanzeigen-market-mcp").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 '{
  "params": {
    "keyword": "iphone 13",
    "location": "Berlin",
    "radius": 20
  }
}' |
apify call quicksilver_lumber/kleinanzeigen-market-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,quicksilver_lumber/kleinanzeigen-market-mcp"
        }
    }
}
```

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/1Bkja8jjR6XPffMEC/builds/STnqctCZC1wlqZXaW/openapi.json
