# Kleinanzeigen Scraper: Price Drops, Rent per m² & New Ad Alerts (`pikoulas/kleinanzeigen`) Actor

Scrape Kleinanzeigen.de ads by keyword, category and place, and track them: price drop alerts, new ad alerts, and a free market summary of asking prices, rent and price per m² by rooms and district, cars by make and mileage. Flats with warm rent, cars with year, full text, photos. No login.

- **URL**: https://apify.com/pikoulas/kleinanzeigen.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (community)
- **Categories:** E-commerce, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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.
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

## Kleinanzeigen Scraper: Price Drops, Rent per m² & New Ad Alerts

Scrape ads from Kleinanzeigen.de, Germany's largest classifieds site (formerly eBay Kleinanzeigen),
without an account or a browser, and get only the new ones on a schedule:

- **Immobilien:** flats and houses to rent or buy, shared flats, land and commercial property, with
  rooms, living space, warm rent, extra and heating costs, deposit, year built and the price per m²
  as numbers.
- **Autos:** cars, motorbikes and campers with make, model, mileage, first registration, power,
  fuel and gearbox.
- **Anything else:** keywords in any of 20 categories, across Germany or in one of its big cities
  or states, or a search URL pasted from Kleinanzeigen, or any ad by its link.
- **New ad alerts:** with **Only new ads** on, a scheduled run gives, and charges for, only the
  ads no earlier run gave: a new flat in your district or a bargain the hour it's posted.
- **Price drops:** with **Track price changes** on, each ad comes marked `new`, `price lowered`,
  `price raised` or `unchanged` since the last run, with its price before. Both on, a run gives the
  new ads and the repriced ones alone.
- **A free market summary** of each search: asking prices, price per m² by rooms and by district,
  warm rent, cars by make with their median mileage and year, and the busiest business sellers.
- **Filters:** price, rooms and living space, applied before an ad is charged.

Every ad comes with its title, price, whether it's negotiable (VB) or free, postcode, city and
state, the date posted, a snippet, the first photo, how many photos it has, whether it ships, and
whether it's a top ad. With details on, the default, it also comes with the full description, every
photo, the category and its path, all the attributes Kleinanzeigen lists, the shipping terms, and
whether the seller is private or a business, with a business's name and shop link.

100 ads with details take about a minute, and 100 without about 5 seconds. It costs **$1 per 1,000
ads**, details included.

### What people use it for

- **Flat hunting and property alerts:** every new flat for rent in Berlin with 2 rooms or more,
  every hour, straight to a sheet, Slack or email through Make, Zapier or n8n.
- **Property market research:** rents and asking prices per m² by city, district and size.
- **Car and bargain alerts:** the newest ads for a model or a search under your price.
- **Price research:** what a used item sells for, across Germany or in one city.
- **Reselling and sourcing:** stock from business sellers, with their shop links.

### How to scrape Kleinanzeigen.de

1. Click **Try for free**; Apify's free plan covers a first run.
2. Pick a **Category** and a **City or state**, add **Search terms** if you like, or paste
   **Kleinanzeigen URLs**.
3. Click **Start**, then download the results as JSON, CSV, Excel or HTML, or read them through
   the API.

For alerts, turn on **Only new ads** and **Track price changes**, give the search a **Memory
name**, and schedule the run (Apify's **Schedules**, hourly for example). The first run gives every
ad that matches; the next ones only the ads posted or pushed up since, and those whose price
changed. A run with nothing new costs only its start. A Berlin flat search run again two hours
later gave 13 new flats and 1 raised rent out of 7,614.

An input with more options:

```json
{
  "category": "wohnung-mieten",
  "location": "berlin",
  "searchTerms": ["balkon"],
  "minRooms": 2,
  "maxPrice": 1500,
  "onlyNew": true,
  "trackChanges": true,
  "memory": "berlin-flats",
  "maxAdsPerSearch": 200
}
```

Each search term runs with the category and place given; a search URL keeps its own. For a place
that isn't in the list, or attributes such as condition, set them on Kleinanzeigen and paste the
search's URL. Kleinanzeigen's `robots.txt` refuses searches with a radius, a price range, a sort
order or a seller type, so those aren't read; the Actor's own price filter does the price range. For
property, `price` is the Kaltmiete or the purchase price. Turn off `includeDetails` for what the
search list shows.

### The market summary

Every run saves a free summary of each search in its key-value store as `SUMMARY`, linked from the
run's **Output** tab: what an ad there asks, so a price can be judged against its market. 60 Berlin
flats to rent:

```json
{
  "search": "ads in wohnung-mieten in berlin",
  "ads": 60,
  "price": {"p10": 587, "p25": 850, "median": 1090, "p75": 1596, "p90": 2065},
  "pricePerM2": {"p10": 9.94, "p25": 17.33, "median": 22.79, "p75": 28.2, "p90": 34.68},
  "warmRent": {"p10": 788, "p25": 1034, "median": 1282, "p75": 1928, "p90": 2303},
  "byRooms": [
    {"rooms": 1, "ads": 24, "medianPrice": 941, "medianPricePerM2": 28.67},
    {"rooms": 2, "ads": 20, "medianPrice": 1200, "medianPricePerM2": 20.63},
    {"rooms": 3, "ads": 13, "medianPrice": 1869, "medianPricePerM2": 21.61}
  ],
  "topPlaces": [
    {"city": "Neukölln", "ads": 14, "medianPrice": 1012, "medianPricePerM2": 27.23},
    {"city": "Charlottenburg", "ads": 7, "medianPrice": 958, "medianPricePerM2": 20.47},
    {"city": "Mitte", "ads": 6, "medianPrice": 1655, "medianPricePerM2": 21.49}
  ],
  "businessPercent": 57,
  "topBusinessSellers": [{"seller": "Müller Merkle Immobilien GmbH", "ads": 8}, {"seller": "Urban Ground GmbH", "ads": 5}],
  "changes": {"new": 60},
  "medianPriceDropPercent": null
}
```

One-room flats there asked the most per m² (€28.67, against €20.63 for two rooms), and more than
half the ads were from businesses. For cars it gives `byMake`: 40 Golf 7 ads had a median €7,950,
at a median 168,000 km and year 2014, and 55% open to offers (VB). With
**Track price changes** on, `changes` counts the ads by change, and `medianPriceDropPercent` is the
median cut among those lowered.

### Output

A flat to rent in Berlin, with details:

```json
{
  "adId": "3556329521",
  "url": "https://www.kleinanzeigen.de/s-anzeige/stilvoll-sanierter-altbau-4-zimmer-mit-stuckdecken-und-2-balkonen-/3556329521-203-9674",
  "title": "Stilvoll sanierter Altbau – 4 Zimmer mit Stuckdecken und 2 Balkonen!",
  "price": 2725,
  "priceText": "2.725 €",
  "negotiable": false,
  "free": false,
  "location": "13347 Berlin - Mitte",
  "postcode": "13347",
  "state": "Berlin",
  "city": "Mitte",
  "datePosted": "2026-11-13",
  "rooms": 4,
  "livingSpaceM2": 136.48,
  "pricePerM2": 19.97,
  "warmRent": 2925,
  "additionalCosts": 200,
  "heatingCosts": 0,
  "deposit": 8175,
  "bedrooms": 3,
  "bathrooms": 1,
  "floor": 3,
  "availableFrom": "Dezember 2026",
  "category": "Mietwohnungen",
  "categoryPath": ["Immobilien", "Mietwohnungen"],
  "attributes": {"Wohnfläche": "136,48 m²", "Zimmer": "4", "Etage": "3", "Wohnungstyp": "Etagenwohnung", "Warmmiete": "2.925 €", "...": "..."},
  "snippet": "Dieses großzügig geschnittene Apartment bietet auf 136,48 Quadratmetern viel Raum zum Wohlfühlen...",
  "description": "Dieses großzügig geschnittene Apartment bietet auf 136,48 Quadratmetern ...",
  "image": "https://img.kleinanzeigen.de/api/v1/prod-ads/images/08/089517fa-920e-4860-a5b3-5a4731e8a4ca?rule=$_59.JPG",
  "images": ["https://img.kleinanzeigen.de/api/v1/prod-ads/images/08/089517fa-920e-4860-a5b3-5a4731e8a4ca?rule=$_59.JPG", "..."],
  "imageCount": 23,
  "shipping": false,
  "shippingText": null,
  "topAd": null,
  "sellerType": "business",
  "sellerName": "NEXTHOME BERLIN LTD",
  "sellerUrl": "https://www.kleinanzeigen.de/pro/nexthome-berlin-ltd-1-2-3-4",
  "searchQuery": "balkon in wohnung-mieten in berlin"
}
```

With **Track price changes** on, each ad also has `change`, `firstSeen` (the day a run with this
memory first gave it), and for a repriced ad `previousPrice` and `priceChange`; the dataset's
**Changes** view shows those.

For property, `price` is the Kaltmiete or the purchase price, and `pricePerM2` that over the living
space; `rooms` and `livingSpaceM2` come even without details. A car comes with `make`, `model`,
`mileageKm`, `firstRegistration` (`2021-09`), `powerHp`, `fuel` and `gearbox`. A figure the ad
doesn't give is left out; `attributes` holds everything the ad lists, as it words it.

`datePosted` is a date and time for ads posted today or yesterday, a date otherwise; top ads in a
search list have none until details are on. Property lists show no dates, so there `topAd` is null.
An ad asked for by URL has no `snippet` and a `searchQuery` of null. Without details, `sellerType`
is `business` for a business and null otherwise.

### Use it as an API

One call runs it and returns the results as JSON (for runs under 5 minutes; longer ones start a
run and read its dataset). Apify's Python and JavaScript clients, and its Make, Zapier and n8n
integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~kleinanzeigen/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"category": "wohnung-mieten", "location": "berlin", "minRooms": 2, "maxAdsPerSearch": 20}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/kleinanzeigen`.

### How much does it cost to scrape Kleinanzeigen.de?

You pay **$0.001 per ad**, which is $1 per 1,000 ads, with or without details, on Apify's paid
plans, and $1.50 per 1,000 on the free plan. There are no monthly fees, and a search that finds
nothing, or nothing new, costs nothing. Ads the filters leave out aren't charged. Set a spending limit on a run and it stops there with what it has.

### Good to know

- **Private sellers stay private.** Their name, profile and user id aren't collected, and phone
  numbers and email addresses are cut from their ads' titles and text (shown as `[removed]`). A
  business seller's name and shop link are kept, as is its text.
- An ad found by several search terms is given once per run, under the first.
- **Only new ads** and **Track price changes** remember what each memory name gave, and at what
  price, for 60 days, in a key-value store in your account named `kleinanzeigen-memory`; delete its
  record to start over.
- Search lists are ordered by when an ad was posted or last pushed up, so an older ad its seller
  pushes up comes as new.
- Kleinanzeigen shows at most 50 pages of a search, and its `robots.txt` stops a search without
  search terms at page 5 (125 ads); for more, split it by place, or add search terms. For alerts on a
  schedule, 125 of the newest is plenty.
- It reads Kleinanzeigen as a guest: it names itself in its User-Agent (`KleinanzeigenActor`), keeps
  to Kleinanzeigen's `robots.txt`, reads at a steady pace from one address, and uses no proxy. If
  Kleinanzeigen answers with a check or a refusal, the run stops there and keeps what it has; the
  log says so.

### FAQ

#### Is it legal to scrape Kleinanzeigen.de?

It collects only what Kleinanzeigen shows publicly, without logging in, and leaves out private
sellers' names and contact details. [Kleinanzeigen's
terms](https://themen.kleinanzeigen.de/nutzungsbedingungen/) prohibit this, and your use of it is
your own responsibility. The EU's database right can also protect a collection like its listings,
and personal data is protected by laws such as the GDPR. If you're
unsure, ask a lawyer; Apify's [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)
is a good start. This Actor isn't affiliated with or endorsed by Kleinanzeigen.

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

If it does what you need, a review on the **Reviews** tab helps others find it.

# Actor input Schema

## `searchTerms` (type: `array`):

What you'd type in Kleinanzeigen's search box, such as sofa, iphone 13 or balkon. Each is searched separately. Leave it empty to read a whole category.

## `location` (type: `string`):

All of Germany, when empty. For any other place or a category, set it on Kleinanzeigen and paste the search URL below.

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

All categories, when empty. With no search terms, the category's newest ads are read in the city or state above, up to 125: Kleinanzeigen's robots.txt ends such a search at page 5.

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

Search result pages, with a place or category set on Kleinanzeigen, or single ad pages. Searches with a radius, price range, sort order or seller type aren't read: Kleinanzeigen's robots.txt refuses them. Use the price filters below instead.

## `maxAdsPerSearch` (type: `integer`):

Ads taken from each search term or search URL, and so what a run can cost: each ad is charged. Kleinanzeigen shows up to about 1,250 ads for a search with search terms, 125 for one without.

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

Opens each ad for its full description, all photos, category, attributes, seller type, and for property and cars their figures as numbers (rooms, m², warm rent, price per m², mileage, year). Off, a run is faster and gives what the search list shows.

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

Give only the ads no earlier run with the same memory gave, so a scheduled run gives, and charges for, what's new: new ad alerts. The first run gives every ad that matches.

## `trackChanges` (type: `boolean`):

Each ad says what changed since an earlier run with the same memory: new, price lowered, price raised or unchanged, with the price it had and the day it was first seen. With Only new ads on as well, a run gives the new ads and those whose price changed: price drop alerts.

## `memory` (type: `string`):

Runs with the same memory name share what they've given. Use another name for each search you schedule.

## `minPrice` (type: `integer`):

Only ads at this price or more; ads without a price are left out. Kaufpreis or Kaltmiete for property. Filtered by the Actor, so those left out cost nothing.

## `maxPrice` (type: `integer`):

Only ads at this price or less, free ones included; ads without a price are left out.

## `minRooms` (type: `number`):

Only flats and houses with at least this many rooms. Turns details on, as rooms are on the ad's page.

## `minLivingSpaceM2` (type: `integer`):

Only flats and houses with at least this much living space. Turns details on.

## Actor input object example

```json
{
  "searchTerms": [
    "balkon"
  ],
  "location": "berlin",
  "category": "wohnung-mieten",
  "maxAdsPerSearch": 20,
  "includeDetails": true,
  "onlyNew": false,
  "trackChanges": false,
  "memory": "default"
}
```

# Actor output Schema

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

No description

## `changes` (type: `string`):

No description

## `summary` (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 = {
    "searchTerms": [
        "balkon"
    ],
    "location": "berlin",
    "category": "wohnung-mieten",
    "maxAdsPerSearch": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/kleinanzeigen").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 = {
    "searchTerms": ["balkon"],
    "location": "berlin",
    "category": "wohnung-mieten",
    "maxAdsPerSearch": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/kleinanzeigen").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 '{
  "searchTerms": [
    "balkon"
  ],
  "location": "berlin",
  "category": "wohnung-mieten",
  "maxAdsPerSearch": 20
}' |
apify call pikoulas/kleinanzeigen --silent --output-dataset

```

## MCP server setup

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

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/HANVb5iLtTsM37UeQ/builds/1xs32kzzo8UR7YmJL/openapi.json
