# Kleinanzeigen Scraper: Ads, Prices, Location, No Login (`themineworks/kleinanzeigen-scraper`) Actor

Scrape Kleinanzeigen listings from any search or category: title, price in numeric euros, postal code, location, description, tags and image. Covers property, vehicles and goods. No login, no API key, pay per listing.

- **URL**: https://apify.com/themineworks/kleinanzeigen-scraper.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** E-commerce, Real estate, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## 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 Scraper: Ads, Prices, Location, No Login

> ⚡ Plain HTTP. No login, no API key, no proxy, no browser.

> 💸 You are only charged for a listing that actually lands in your dataset. Blocked or empty pages are never billed.

### Overview

Kleinanzeigen Scraper turns any Kleinanzeigen search into structured rows. Paste a search or category URL straight from the site, filters and all, and get back the ad ID, title, price as a real number, postal code, location, description, attribute tags, image and a direct link.

Kleinanzeigen (formerly eBay Kleinanzeigen) is Germany's dominant classifieds site, so one actor covers **property, vehicles, jobs and general goods** rather than a single vertical.

✅ Any search or category URL · ✅ Prices as numbers, not strings · ✅ Pagination handled · ✅ MCP-ready for AI agents

### Prices come back as numbers

German price formatting uses a full stop as the thousands separator, so `1.250 €` naively parsed gives `1.25`. That is a real bug in more than one scraper, and it silently corrupts every filter and average you build on top.

This actor returns both:

- `price_raw` exactly as the site shows it, for example `1.250 € VB`
- `price` as a clean integer, `1250`

It also captures the two states that are not a price at all, rather than dropping them:

- `is_free` when a listing says *Zu verschenken* (giveaway)
- `negotiable` when it is marked *VB* (Verhandlungsbasis, price negotiable)

So `price: null` means genuinely no price, not a parsing failure.

### Input

```json
{
  "searchUrls": ["https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331"],
  "keywords": [],
  "maxListingsPerSearch": 100
}
```

| Field | What it takes |
| --- | --- |
| `searchUrls` | Any Kleinanzeigen search or category URL, copied from the site with your filters already applied. This is the precise input: what the site shows you is what you get. |
| `keywords` | Plain keyword searches across the whole site, for when you do not have a URL. A filtered URL gives better targeting. |
| `maxListingsPerSearch` | Hard cap per search. About 25 listings per page, so this is your main cost and runtime control. |

**Use a URL where you can.** Kleinanzeigen's own filters (category, city, radius, price band, condition) are far richer than anything an actor input could reproduce, so the actor deliberately does not try to reinvent them. Filter on the site, copy the URL, paste it here.

### Output

```json
{
  "ad_id": "3342271954",
  "title": "Kernsaniertes 1,5 Zimmer-Apartment: Erstbezug in Rudow",
  "price": 950,
  "price_raw": "950 €",
  "location": "12355 Rudow",
  "postal_code": "12355",
  "description": "Die wichtigsten Fakten im Überblick: Erstbezug nach Kernsanierung...",
  "url": "https://www.kleinanzeigen.de/s-anzeige/kernsaniertes-1-5-zimmer-apartment/3342271954",
  "source_url": "https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331",
  "scraped_at": "2026-08-13T13:22:41.108Z"
}
```

| Field | Description |
| --- | --- |
| 🆔 `ad_id` | Kleinanzeigen ad ID, stable for deduplication across runs |
| 📄 `title` | Listing title |
| 💶 `price` | Price as a numeric euro value |
| 🏷️ `price_raw` | Price exactly as displayed |
| 🎁 `is_free` | Listed as *Zu verschenken* |
| 🤝 `negotiable` | Marked *VB* |
| 📍 `location` | Location line as displayed |
| 📮 `postal_code` | German postal code parsed from the location |
| 📝 `description` | Listing description snippet |
| 🕐 `posted_label` | Posting recency as the site displays it |
| 🔖 `tags` | Attribute tags from the listing card |
| 🖼️ `image_url` | Primary listing image |
| 🔗 `url` | Direct link to the listing |
| 🔎 `source_url` | The search this listing came from |

### Common use cases

**Property research.** Track rents or sale prices in a city or postal code over time. Postal codes come parsed, so grouping by district needs no extra work.

**Vehicle and goods pricing.** Build a real price distribution for a model or category from live listings rather than asking-price guesswork.

**Arbitrage and sourcing.** Watch a category on a schedule and catch underpriced or *Zu verschenken* listings early.

**Market and competitor research.** Measure supply in a category, which sellers are professional, and how fast inventory turns over.

**AI agents.** Feed structured German classifieds into an agent that answers "what is a fair price for this in Berlin right now?"

### Pricing

| Event | Price | You pay when |
| --- | --- | --- |
| Listing delivered | $0.001 | A listing lands in your dataset |

**$1.00 per 1,000 listings.** Searches that return nothing cost nothing.

### Run it on a schedule

1. Run once with the search you want repeated, then click **Save as a task**.
2. In the Apify Console go to **Schedules → Create new**.
3. Pick a frequency and attach the saved task.
4. Wire the dataset to Sheets, Slack or a webhook from the **Integrations** tab.

Deduplicate on `ad_id` so a repeated schedule never reprocesses the same ad.

### FAQ

**Do I need a Kleinanzeigen account?**
No. The actor reads public search pages only.

**Can it fetch full listing detail pages?**
Not currently. It returns everything on the search result card, which is the title, price, location, description snippet, tags and image. Seller detail and full description text live on the individual ad page.

**How many pages does it walk?**
As many as your cap needs, up to the site's own 50-page search limit. It stops early when a page returns nothing new.

**Why did I get fewer listings than my cap?**
Because the search has fewer results, or the result set was exhausted before the cap. The run reports what it actually found rather than padding.

**Does it work for cars and general goods, not just property?**
Yes. Any Kleinanzeigen search URL works, whatever the category.

### Use from Claude, ChatGPT and any MCP agent

```
https://mcp.apify.com/?tools=themineworks/kleinanzeigen-scraper
```

Or call it programmatically:

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('themineworks/kleinanzeigen-scraper').call({
  searchUrls: ['https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331'],
  maxListingsPerSearch: 100,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

Questions, or need a field we don't return yet? Reach out through the Apify profile.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste any Kleinanzeigen search or category URL straight from the site, filters included. This is the most precise input: whatever the site shows you is what the actor returns. Pagination is handled for you.

## `keywords` (type: `array`):

Plain keyword searches across all of Kleinanzeigen, for when you do not have a URL. A search URL with filters gives better targeted results.

## `maxListingsPerSearch` (type: `integer`):

Hard cap per search. Roughly 25 listings per page, so this is your main cost and runtime control.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331"
  ],
  "keywords": [],
  "maxListingsPerSearch": 50
}
```

# 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 = {
    "searchUrls": [
        "https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331"
    ],
    "keywords": [],
    "maxListingsPerSearch": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/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 = {
    "searchUrls": ["https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331"],
    "keywords": [],
    "maxListingsPerSearch": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/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 '{
  "searchUrls": [
    "https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331"
  ],
  "keywords": [],
  "maxListingsPerSearch": 50
}' |
apify call themineworks/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

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