# Kleinanzeigen Scraper — German Real Estate Listings (`unfenced-group/kleinanzeigen-scraper`) Actor

Scrape property listings from Kleinanzeigen.de — apartments, houses and commercial real estate across Germany. Structured price, size, rooms and location fields with full descriptions and listing URLs.

- **URL**: https://apify.com/unfenced-group/kleinanzeigen-scraper.md
- **Developed by:** [Unfenced Group](https://apify.com/unfenced-group) (community)
- **Categories:** Real estate, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Kleinanzeigen Real Estate Scraper

![Kleinanzeigen Real Estate Scraper](https://api.apify.com/v2/key-value-stores/lJlifu6C8YQfZMPKE/records/kleinanzeigen-scraper)

Extract property listings from kleinanzeigen.de at scale, in a clean, consistent structure ready for market analysis, valuation models, lead generation and monitoring. No API key required.

***

### Why this scraper?

#### 🎯 Built for Germany

A dedicated German scraper, not a global tool with a country dropdown. Locations, price formats and currency (EUR) are tuned for kleinanzeigen.de.

#### 💶 Structured pricing

Asking price or rent as a clean number in EUR, plus the price exactly as displayed. Price-on-request listings return `null`, never a guess.

#### 🏠 Property characteristics

Bedrooms, rooms, surface and property type in structured fields, ready for filtering and analysis.

#### 📍 Location fields

Structured address data for every listing, ready for filtering and analysis.

#### 🖼️ Listing photos

Photo URLs for every listing where the source publishes them.

#### 🔁 Repost & change detection

Every record carries `isRepost` and `changeStatus`, so daily feeds return genuinely new listings instead of reposted duplicates.

***

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `minPrice` | integer | (empty) | Minimum listing price (local currency). Leave empty for no minimum. |
| `maxPrice` | integer | (empty) | Maximum listing price (local currency). Leave empty for no maximum. |
| `daysOld` | integer | (empty) | Only return listings published within the last N days. Leave empty for no recency filter. |
| `fetchDetails` | boolean | `false` | If true, opens each listing detail page to extract additional fields (description, floor plan, agent contact). Increases run time and cost. |
| `maxItems` | integer | `100` | Max items |
| `startUrls` | array | (empty) | Direct kleinanzeigen.de real estate search URLs. |
| `propertyCategory` | string | `"apartment_sale"` | Property category |
| `searchQuery` | string | `"developer"` | Optional search term to filter results, e.g. 'München' or 'Hamburg Altona'. |

***

### Output schema

Every field below is present on every record. Fields the source does not publish for a given listing are returned as `null` rather than omitted.

| Field | Type | Description |
|---|---|---|
| `id` | string | Unique listing ID from the source. |
| `url` | string | Direct link to the listing. |
| `transaction` | string | Transaction. |
| `propertyType` | string | Property type (e.g. apartment, house). |
| `title` | string | Listing title as published. |
| `priceText` | string | Price text. |
| `priceAmount` | number | Asking price or rent as a number (null if price on request). |
| `priceCurrency` | string | Currency code of the price. |
| `postcode` | string | Postcode. |
| `city` | string | City of the property. |
| `country` | string | Country of the property. |
| `areaM2` | number | Area m2. |
| `rooms` | number | Total number of rooms (null if not stated). |
| `images` | array | URLs of listing photos. |
| `imageCount` | number | Image count. |
| `agencyName` | string | Agency name. |
| `agencyLogoUrl` | string | Agency logo url. |
| `isTopAd` | boolean | Is top ad. |
| `isFullWidth` | boolean | Is full width. |
| `descriptionText` | string | Description text. |
| `descriptionMarkdown` | string | Description markdown. |
| `publishDate` | string | Publish date. |
| `publishDateISO` | string | Publish date iso. |
| `source` | string | Source. |
| `scrapedAt` | string | Timestamp when this record was scraped. |
| `contentHash` | string | ---

#### Example record

```json
{
  "id": "3344151947",
  "url": "https://www.kleinanzeigen.de/s-anzeige/eigentumswohnung-mit-kueche-und-stellplatz/3344151947-196-1164",
  "transaction": "sale",
  "propertyType": "Wohnung",
  "title": "Eigentumswohnung mit Küche und Stellplatz",
  "priceText": "450.000 €",
  "priceAmount": 450000,
  "priceCurrency": "EUR",
  "postcode": "34414",
  "city": "Warburg",
  "country": "DE",
  "areaM2": 153.26,
  "rooms": 3,
  "images": [
    "https://img.kleinanzeigen.de/api/v1/prod-ads/images/85/85b05d0d-b4f5-4251-a4a8-fdfdbcf16629?rule=$_57.AUTO"
  ],
  "imageCount": 10,
  "agencyName": "OWL Immobilien GmbH - Büro Warburg",
  "agencyLogoUrl": "https://img.kleinanzeigen.de/api/v1/prod-user/images/78/78fa7925-188b-4ac4-a9cf-26c60ad8e200?rule=$_2.JPG",
  "isTopAd": true,
  "isFullWidth": true,
  "descriptionText": "Auf einem ca. 2.916 m² großen Grundstück befindet sich das ehemalige Kornhaus von Warburg, das im Zuge einer umfassenden …",
  "descriptionMarkdown": "Auf einem ca. 2.916 m² großen Grundstück befindet sich das ehemalige Kornhaus von Warburg, das im Zuge einer umfassenden …",
  "publishDate": null,
  "publishDateISO": null,
  "source": "kleinanzeigen.de",
  "scrapedAt": "2026-06-24T17:04:27.679Z",
  "contentHash": "c9e8c451ba22869d"
}
```

### Property categories |

#### Example record

```json
{
  "id": "3344151947",
  "url": "https://www.kleinanzeigen.de/s-anzeige/eigentumswohnung-mit-kueche-und-stellplatz/3344151947-196-1164",
  "transaction": "sale",
  "propertyType": "Wohnung",
  "title": "Eigentumswohnung mit Küche und Stellplatz",
  "priceText": "450.000 €",
  "priceAmount": 450000,
  "priceCurrency": "EUR",
  "postcode": "34414",
  "city": "Warburg",
  "country": "DE",
  "areaM2": 153.26,
  "rooms": 3,
  "images": [
    "https://img.kleinanzeigen.de/api/v1/prod-ads/images/85/85b05d0d-b4f5-4251-a4a8-fdfdbcf16629?rule=$_57.AUTO"
  ],
  "imageCount": 10,
  "agencyName": "OWL Immobilien GmbH - Büro Warburg",
  "agencyLogoUrl": "https://img.kleinanzeigen.de/api/v1/prod-user/images/78/78fa7925-188b-4ac4-a9cf-26c60ad8e200?rule=$_2.JPG",
  "isTopAd": true,
  "isFullWidth": true,
  "descriptionText": "Auf einem ca. 2.916 m² großen Grundstück befindet sich das ehemalige Kornhaus von Warburg, das im Zuge einer umfassenden Sanierung und Modernisierung zu einem attraktiven Wohn- und Geschäftshaus umgeb …",
  "descriptionMarkdown": "Auf einem ca. 2.916 m² großen Grundstück befindet sich das ehemalige Kornhaus von Warburg, das im Zuge einer umfassenden Sanierung und Modernisierung zu einem attraktiven Wohn- und Geschäftshaus umgeb …",
  "publishDate": null,
  "publishDateISO": null,
  "source": "kleinanzeigen.de",
  "scrapedAt": "2026-06-24T17:04:27.679Z",
  "contentHash": "c9e8c451ba22869d"
}
```

***

### Examples

**Listings in Hamburg:**

```json
{
  "searchQuery": "Hamburg",
  "maxItems": 100
}
```

**Cap the price:**

```json
{
  "searchQuery": "Hamburg",
  "maxItems": 100,
  "maxPrice": 285000
}
```

**Scrape a specific search URL:**

```json
{
  "startUrls": [
    {
      "url": "https://www.kleinanzeigen.de/s-wohnung-kaufen/berlin/c196l3331"
    }
  ],
  "maxItems": 200
}
```

**Daily feed of new listings (run on a schedule):**

```json
{
  "searchQuery": "Hamburg",
  "daysOld": 1,
  "maxItems": 500
}
```

Schedule this input to run once a day in the Apify Scheduler — each run returns only listings added in the last 24 hours.

***

### 💰 Pricing

**$1.5 per 1,000 results** — you only pay for successfully retrieved listings. Failed retries are never charged.

| Results | Cost |
|---|---|
| 100 | ~$0.15 |
| 1,000 | ~$1.5 |
| 10,000 | ~$15 |
| 100,000 | ~$150 |

> Flat-rate alternatives typically charge $29–$49/month regardless of usage.

Subscription tiers lower the rate further, down to $0.9 per 1,000 at the highest tier. Use the **Max results** cap in the input to control your spend exactly.

***

### Performance

| Run size | Typical time |
|---|---|
| 100 results | under 1 minute |
| 1,000 results | 2–4 minutes |
| 10,000 results | 20–35 minutes |

***

### Known limitations

- Some fields (surface, year built, energy label) are only returned when the lister publishes them — expect `null` on a share of records.
- Listing photos and agent details vary per listing; the scraper returns what the source publishes and never invents data.
- Very large result sets are bounded by the source's own paging limits.
- Listings can be withdrawn at any time, so a small share of URLs may expire shortly after scraping.

***

### Technical details

- **Source:** kleinanzeigen.de — Germany property listings
- **Coverage:** everything the public search exposes, filterable via the input parameters above
- **Retry:** automatic retry on network errors with exponential backoff

***

### Need a custom scraper?

**[Unfenced Group](https://www.unfencedgroup.nl)** builds Apify actors for any website — for free.

If the site you need isn't in our portfolio yet, just ask. We scope, build, and publish it at no cost to you. You only pay for results — we absorb the compute and proxy costs ourselves. Same pay-per-result pricing, same quality, same standards as every actor in this portfolio.

**Get in touch:** [www.unfencedgroup.nl](https://www.unfencedgroup.nl)

# Actor input Schema

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

Minimum listing price (local currency). Leave empty for no minimum.

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

Maximum listing price (local currency). Leave empty for no maximum.

## `daysOld` (type: `integer`):

Only return listings published within the last N days. Leave empty for no recency filter.

## `fetchDetails` (type: `boolean`):

If true, opens each listing detail page to extract additional fields (description, floor plan, agent contact). Increases run time and cost.

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

Max items

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

Direct kleinanzeigen.de real estate search URLs.

## `propertyCategory` (type: `string`):

Property category

## `searchQuery` (type: `string`):

Optional search term to filter results, e.g. 'München' or 'Hamburg Altona'.

## Actor input object example

```json
{
  "fetchDetails": false,
  "maxItems": 100,
  "propertyCategory": "apartment_sale",
  "searchQuery": "developer"
}
```

# 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 = {
    "maxItems": 100,
    "searchQuery": "developer"
};

// Run the Actor and wait for it to finish
const run = await client.actor("unfenced-group/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 = {
    "maxItems": 100,
    "searchQuery": "developer",
}

# Run the Actor and wait for it to finish
run = client.actor("unfenced-group/kleinanzeigen-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 100,
  "searchQuery": "developer"
}' |
apify call unfenced-group/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=unfenced-group/kleinanzeigen-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LcbonYpPD66L8F0IT/builds/xWpmYYA2szHJAiRA5/openapi.json
