# Kleinanzeigen Scraper — Ads, Prices & New-Listing Monitor (`muira_datamasters/kleinanzeigen-scraper`) Actor

Export classified ads from Kleinanzeigen.de (Germany) with price, location, condition and photos, or monitor a search and get only new ads, price drops and removed ads on each run. No login needed.

- **URL**: https://apify.com/muira_datamasters/kleinanzeigen-scraper.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 $1.50 / 1,000 ads

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

## Kleinanzeigen Scraper — Ads, Prices & New-Listing Monitor

**What you get**

- Classified ads from [Kleinanzeigen.de](https://www.kleinanzeigen.de) (Germany) as clean rows: price, city, postcode, posting time, photos and link.
- Monitor mode: schedule a search and get only new ads, price drops and removed ads on each run.
- No login, no cookies. German residential proxies are included in the price.

### Sample output

Search `{"query": "gravel bike", "category": "bikes", "location": "Berlin", "radiusKm": 50}`, list data only:

| title | price | priceType | city | postalCode | postedAt | sellerType |
|---|---|---|---|---|---|---|
| Scott Speedster Gravel 20 Disc Gravelbike Cyclocross Rh M 2023 | 1350 | fixed | Reinickendorf | 13435 | 2026-11-17T11:08:00.000Z | null |
| Bulls Daily Grinder 2 Fahrrad Grau guter Zustand Gravel Bike | 900 | negotiable | Friedenau | 12161 | 2026-11-17T11:00:00.000Z | null |
| Shimano GRX RX820 Schaltgruppe 1x12 fach Gravel NEU | 999 | fixed | Charlottenburg | 10627 | 2026-11-17T13:01:00.000Z | business |

Every row has the same fields on all four site Actors: `site, country, adId, url, title, description, price, currency, priceEur, priceType, postedAt, city, region, postalCode, lat, lng, condition, sellerType, sellerName, shipping, categoryPath, suiteCategory, attributes, images, status, promoted, scrapedAt, searchLabel, changeType, previousPrice, firstSeenAt, lastSeenAt`. Unknown values are `null`.

`priceType` is `fixed`, `negotiable` (VB) or `free` (Zu verschenken). Promoted (TOP) ads have `promoted: true`.

With **Include ad details** on, the Actor also opens each ad page and adds the full description, all photos, `condition`, `shipping`, the exact posting time, `sellerType` and `categoryPath`.

Measured on the Apify platform (prefill search, 50 ads, 12.6 s, no blocks): price 98%, city 100%, date 98%, photos 100%.

### How to use

**Reseller: new cheap ads only.** Run every hour with a price cap:

```json
{
  "searches": [{ "query": "rennrad", "category": "bikes", "location": "Hamburg", "radiusKm": 30 }],
  "priceMax": 400,
  "maxItems": 500,
  "monitor": { "stateKey": "hamburg-rennrad-400" }
}
```

**Analyst: export across categories.** One run, several searches, each tagged with a label:

```json
{
  "searches": [
    { "category": "phones", "query": "iphone 15", "label": "iphone" },
    { "category": "electronics", "query": "playstation 5", "label": "ps5" },
    { "category": "furniture", "query": "sofa", "location": "München", "radiusKm": 20, "label": "sofa-muc" }
  ],
  "maxItems": 3000
}
```

**Researcher: deep export with splitting.** Kleinanzeigen shows at most 50 pages per search. Leave `splitDeepSearches` on and the Actor splits a large search into smaller ones until each fits:

```json
{
  "searches": [{ "category": "bikes", "query": "gravel" }],
  "maxItems": 20000,
  "splitDeepSearches": true
}
```

**Automation builder: alerts in Slack or Telegram.** Run a Monitor on a schedule and add an Apify webhook (or use the Apify app in n8n or Make) that reads the run's dataset and posts each row. Only changes are in the dataset, so every row is an alert:

```json
{
  "searches": [{ "query": "thermomix tm6", "location": "10115", "radiusKm": 50 }],
  "monitor": { "stateKey": "berlin-thermomix", "emit": ["new", "priceDrop"] }
}
```

You can also paste search URLs from your browser into `startUrls`, with any filters you set on the site.

### Monitor mode

Add a `monitor` object to switch from export to Monitor mode.

- **stateKey** names the watch list, e.g. `berlin-gravel`. Use the same key on every scheduled run. Different keys are independent.
- **The first run is a silent baseline.** It records the current ads and outputs nothing. It pays the run start and the monitor scan (see Pricing), but no ads.
- **Later runs output only changes**, with `changeType` set:
  - `new`: an ad not seen before
  - `priceDrop`: the price went down (`previousPrice` holds the old one)
  - `priceIncrease`: the price went up. Off by default; add it to `emit` to get it.
  - `removed`: the ad was missing from 2 runs in a row
- **Removals are tracked only when the search is fully covered**: the whole search was read to the end within `maxItems` and the site limit. If a search has more results than that, `removed` is not reported for it (new ads and price changes still are), and the log says so. Keep monitored searches narrow.
- **Old ads moving up are not reported as new.** When a watched search has more results than the Actor scans, an older ad moves into the scanned part each time a newer one is sold. From the second run on, an unseen ad that was posted well before the previous run is stored without a `new` event. Ads without a posting date are still reported.
- In Monitor mode, `maxItems` limits how many ads are checked per run (200 if you leave it empty), and the sort is always newest first.
- With Include ad details on, ad pages are opened only for ads that changed.

### Pricing

Pay per event. Exports pay per row delivered. Monitor runs pay per 100 ads checked plus per change delivered.

| Event | Price |
|---|---|
| Actor start | $0.005 |
| Ad (one output row) | $1.50 per 1,000 |
| Ad detail (with Include ad details) | +$1.50 per 1,000 |
| Monitor scan (Monitor mode only) | $0.015 per 100 ads checked |

| Example | Cost |
|---|---|
| Export of 1,000 ads | $1.505 |
| Export of 1,000 ads with details | $3.005 |
| Hourly Monitor of 200 ads, 5 changes per run | $0.005 + 2 × $0.015 + 5 × $0.0015 ≈ $0.0425 per run, about $31 per month |
| Monitor baseline run of 200 ads | $0.005 + 2 × $0.015 = $0.035 |

In Monitor mode every run, the baseline included, pays one monitor scan event per started 100 ads checked (201 ads = 3 events), because every check fetches the ads. Unchanged ads are not output and not charged per ad; each change row is charged like any other row. If you set a maximum cost per run, the scan cost is reserved first: the Actor checks fewer ads if the limit requires it, and change rows use what is left.

Free plan: at most 100 ads per run. You can set a maximum cost per run in the run options; the Actor stops cleanly when it is reached.

### Limits

- Kleinanzeigen shows 50 pages of 25 ads (about 1,250) per search URL. With splitting on, a search without a location is split by Bundesland (16 states), then by price bands. A search with a location is split by price only.
- Splitting only happens when you ask for more ads than one search can reach. A request that fits is read in the site's own order, so `maxItems: 100` with `sort: newest` returns the 100 newest ads, and `price_asc` the 100 cheapest.
- Ads without a price can only be reached in the unsplit search, so in a split search some of them may be missed.
- There is no "most expensive first" order on Kleinanzeigen. `price_desc` falls back to newest first, with a warning.
- The condition (Zustand) is shown only on the ad page. The condition filter works only with Include ad details on; without it, all ads are kept.
- Radius is rounded to the values Kleinanzeigen offers: 5, 10, 20, 30, 50, 100, 150 or 200 km.
- Kleinanzeigen blocks datacenter IPs, so the default proxy is residential in Germany. It is included in the price. If you set your own proxy, datacenter will not work.
- `status` is always `active`: the search results do not show reserved ads.
- The default residential proxy is capped at 1 GB of traffic per run; when the cap is reached, the run stops with a message and keeps what it collected. A residential proxy you choose yourself is not capped.

### Data and privacy

- No phone numbers or email addresses are collected.
- Private sellers' names are never output. `sellerName` is filled only for business sellers, and only when you turn on **Include business seller names**.
- Images are output as URLs. No files are downloaded.
- You are the controller of the data you collect. Ads can contain personal data under GDPR: you need a lawful basis for your use, keep data only as long as you need it, and respect Kleinanzeigen's terms.

### Other countries

Same input and output schema in DE, NL, ES, IT. A dataset from one Actor can be merged with the others without mapping.

- [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)
- [European Classifieds Price Compare](https://apify.com/muira_datamasters/european-classifieds-price-compare): median price for one search in all four countries, keeping only ads whose title matches the query

### FAQ

**Why did my first Monitor run return nothing?**
The first run with a new `stateKey` is the baseline. It stores the current ads and outputs nothing. From the second run on you get changes.

**Why fewer ads than the site shows?**
Kleinanzeigen lists at most about 1,250 ads per search. Turn on splitting, or narrow the search. Also check `maxItems`, price filters and the free-plan limit of 100 ads per run.

**Why is `condition` empty?**
It is only on the ad page. Turn on Include ad details.

**Why is `postedAt` null for some ads?**
A few ads (mostly TOP ads) show no date in the search results. With Include ad details on, the date comes from the ad page.

**Can I get the seller's phone number?**
No. Phone numbers and emails are never collected.

**Can I use my own proxy?**
Yes, but it must be a German residential or mobile IP. Kleinanzeigen blocks datacenter IPs.

### Auf Deutsch

Dieser Actor liest Kleinanzeigen von kleinanzeigen.de aus: Titel, Preis, Ort, Postleitzahl, Datum, Fotos und Link. Ohne Login. Sie suchen nach Stichwort, Kategorie, Ort und Umkreis, oder Sie fügen Such-URLs aus dem Browser ein. Große Suchen werden auf Wunsch nach Bundesland und Preis aufgeteilt, damit Sie mehr als die 1.250 Anzeigen bekommen, die die Seite pro Suche zeigt.

Im Monitor-Modus läuft eine Suche regelmäßig, und Sie erhalten nur Änderungen: neue Anzeigen, Preissenkungen und gelöschte Anzeigen. Der erste Lauf speichert nur den aktuellen Stand; berechnet werden dabei nur der Start und der Monitor-Scan, keine Anzeigen.

Preis: $1,50 pro 1.000 Anzeigen plus $0,005 pro Start. Mit Detailseiten kommen $1,50 pro 1.000 dazu. Im Monitor-Modus kostet jeder Lauf zusätzlich $0,015 pro angefangene 100 geprüfte Anzeigen (Monitor-Scan), und jede gemeldete Änderung $0,0015. Deutsche Residential-Proxys sind inbegriffen.

Datenschutz: Telefonnummern und E-Mail-Adressen werden nie erfasst, Namen privater Verkäufer nie ausgegeben. Für die Nutzung der Daten sind Sie selbst verantwortlich und brauchen eine Rechtsgrundlage nach DSGVO.

# Actor input Schema

## `searches` (type: `array`):

One entry per search on kleinanzeigen.de. Each search can have:<br><b>query</b>: keywords as you would type them on Kleinanzeigen<br><b>category</b>: one of <code>bikes, electronics, phones, cars, furniture, fashion</code> (mapped to the matching Kleinanzeigen category)<br><b>siteCategory</b>: Kleinanzeigen category id or URL name (the number after <code>c</code> in a search URL, e.g. <code>217</code> for Fahrräder & Zubehör). Overrides <i>category</i><br><b>location</b>: German city name (e.g. <code>Berlin</code>) or 5-digit postcode (e.g. <code>10115</code>). Leave it out to search all of Germany.<br><b>radiusKm</b>: Kilometres around the location. Kleinanzeigen only offers 5, 10, 20, 30, 50, 100, 150 and 200 km, so other values are rounded to the nearest one.<br><b>label</b>: your own name for the search, copied to each result's <i>searchLabel</i><br>Each search needs at least a query, category, siteCategory or location. Example: <code>{"query":"gravel bike","category":"bikes","location":"Berlin","radiusKm":50}</code>

## `startUrls` (type: `array`):

Optional. Paste search result links copied from your browser on kleinanzeigen.de, with any filters you set there (e.g. <code>https://www.kleinanzeigen.de/s-fahrraeder/berlin/gravel/k0c217l…</code>). Each link is crawled like one search.

## `maxItems` (type: `integer`):

Stop after this many ads in total across all searches (default 1,000). In Monitor mode it limits how many ads are checked per run (only changes are output); if left empty, Monitor checks 200 ads per run. Monitor checks are charged as a <i>monitor-scan</i> event per 100 ads.

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

In euros. Ads without a price are left out when a price limit is set.

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

In euros. Ads without a price are left out when a price limit is set.

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

Keep only ads in these conditions. Empty = all. Kleinanzeigen shows the condition only on the ad page, so this filter only works with <b>Include ad details</b> turned on; without it, ads are kept.

## `sellerType` (type: `string`):

Private sellers, businesses (Gewerblich) or both. Kleinanzeigen filters this on its side.

## `sort` (type: `string`):

Order in which Kleinanzeigen lists ads. <b>Kleinanzeigen has no "most expensive first" order</b>: "Price: high to low" falls back to newest first. Monitor mode always uses newest first.

## `monitor` (type: `object`):

Fill this in to switch from a full export to <b>Monitor mode</b>: each run outputs only what changed since the previous run with the same <b>stateKey</b>. Each run checks up to <i>Max results</i> ads (200 if left empty) and is charged a <i>monitor-scan</i> event per 100 ads checked, plus one event per change output. The first run only records the current ads and outputs nothing: it pays the monitor-scan events but no per-ad events. <b>stateKey</b> (required): any name for this watch list, e.g. <code>berlin-gravel</code>; reuse it on every scheduled run. <b>emit</b>: which changes to output, any of <code>new</code>, <code>priceDrop</code>, <code>priceIncrease</code>, <code>removed</code> (default: new, priceDrop, removed). Removed ads are reported only for searches that fit within <i>Max results</i>. Example: <code>{"stateKey": "berlin-gravel", "emit": \["new", "priceDrop", "removed"]}</code>. Leave empty for a normal export.

## `includeDetails` (type: `boolean`):

Opens each ad page to add the condition (Zustand), shipping option, exact posting time, seller type and full category path. Slower, and charged as an extra <i>ad-detail</i> event per ad.

## `includeSellerNames` (type: `boolean`):

Adds the shop or company name for business sellers. Private sellers' names are never collected, and neither are phone numbers or emails.

## `splitDeepSearches` (type: `boolean`):

Kleinanzeigen shows at most 50 pages (about 1,250 ads) per search. When a search has more results, it is split into the 16 German states and then into price bands so you can get all of them. Turn off to stop at the first 1,250.

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

Residential proxies in Germany. Kleinanzeigen blocks datacenter IPs; residential is included in the price. You can also choose your own proxies.

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

Optional. Marks the run as <b>failed</b> when the site returned too few ads or the main fields are no longer filled, so a scheduled run can alert you when Kleinanzeigen changes its site. Results are still saved and charged. Example: <code>{"minAds": 20, "minFillRate": 0.9, "minPriceFillRate": 0.75}</code>. <i>minFillRate</i> covers title, link and city.

## Actor input object example

```json
{
  "searches": [
    {
      "query": "gravel bike",
      "category": "bikes",
      "location": "Berlin",
      "radiusKm": 50
    }
  ],
  "maxItems": 50,
  "sellerType": "any",
  "sort": "newest",
  "includeDetails": false,
  "includeSellerNames": false,
  "splitDeepSearches": true,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "DE"
  }
}
```

# Actor output Schema

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

One row per ad (Export) or per change (Monitor: new, priceDrop, priceIncrease, removed), in the shared European Classifieds schema.

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

Counts for this run: pages fetched, ads pushed and charged, filtered ads, splits, proxy used, field fill rates 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 = {
    "searches": [
        {
            "query": "gravel bike",
            "category": "bikes",
            "location": "Berlin",
            "radiusKm": 50
        }
    ],
    "maxItems": 50,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "DE"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("muira_datamasters/kleinanzeigen-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 = {
    "searches": [{
            "query": "gravel bike",
            "category": "bikes",
            "location": "Berlin",
            "radiusKm": 50,
        }],
    "maxItems": 50,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "DE",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("muira_datamasters/kleinanzeigen-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 '{
  "searches": [
    {
      "query": "gravel bike",
      "category": "bikes",
      "location": "Berlin",
      "radiusKm": 50
    }
  ],
  "maxItems": 50,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "DE"
  }
}' |
apify call muira_datamasters/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muira_datamasters/kleinanzeigen-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/JQodgIlcgyD8iE3Jc/builds/rVH8p9Geh4b6BtMkj/openapi.json
