# Kleinanzeigen Scraper — Ads, Prices, Sellers & Details (`innolabs/kleinanzeigen-scraper`) Actor

Kleinanzeigen scraper and API: classified ads from kleinanzeigen.de searches with price, VB/fixed, location, ZIP, date, full description, attributes, images, view count and seller.

- **URL**: https://apify.com/innolabs/kleinanzeigen-scraper.md
- **Developed by:** [Tristan Leroux](https://apify.com/innolabs) (community)
- **Categories:** E-commerce, Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.35 / 1,000 listings

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 — Ads, Prices, Sellers & Details

Kleinanzeigen scraper API: extract classified ads from kleinanzeigen.de search results with price, VB or fixed price, location, ZIP code, date, full description, attributes, images, view count and seller. No login and no API key needed. Export results as JSON, CSV or Excel, or pull them through the Apify API.

### What does Kleinanzeigen Scraper do?

Kleinanzeigen Scraper reads kleinanzeigen.de (formerly eBay Kleinanzeigen), Germany's largest classifieds marketplace, and returns one clean record per ad. Enter keywords with a location, radius, category and price range, or paste search, category and ad URLs straight from your browser. It walks through up to 50 result pages per search (27 ads per page) and, with ad details on, opens every ad for the full description, all attributes (condition, type, size, rooms, mileage …), all images, the view counter, coordinates and the seller profile.

Data is fetched live when you run it, so prices and availability are as fresh as the site itself.

### Use cases

- **Resellers and bargain hunters** — track new offers for a product (bikes, iPhones, consoles) in your city below a target price.
- **Market researchers** — measure used-goods price levels by region, condition and category.
- **Real estate professionals** — collect rental and sale listings with rent, rooms, area and ZIP for a city.
- **Car dealers** — monitor private used-car offers with mileage, year and price around your dealership.
- **Lead generation** — find commercial sellers and shops active in a category.
- **Data teams** — feed a daily snapshot of a category into a dashboard or price model via the API.

### How much does it cost?

You pay only for results (pay-per-event). Prices in USD per 1,000 events:

| Event | What you pay for | Free plan | Paid plans (from) |
| --- | --- | --- | --- |
| `listing` | one ad in the dataset (with or without ad details) | $1.35 per 1,000 | $1.35 per 1,000 |

Examples:

- 1,000 ads with full details on the Free plan cost $1.35.
- 20,000 ads from a weekly city-wide price check on a Gold+ plan cost $27.00.

There is no start fee and ad details are included in the price. The Apify Free plan includes $5 monthly credit.

### How to use Kleinanzeigen Scraper

1. Open the actor and enter one or more **Search keywords**, e.g. `fahrrad`.
2. Optionally set a **Location** (city, district or ZIP), a **Radius**, a **Category** and a **price range**.
3. Or paste **Start URLs**: any kleinanzeigen.de search, category or ad link.
4. Set **Max listings** and click **Start**.
5. Download the results as JSON, CSV or Excel, or connect them to your tools.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `searchQueries` | array | Keywords, one search each, e.g. `["fahrrad", "iphone 15"]`. |
| `location` | string | German city, district or 5-digit ZIP, e.g. `Berlin` or `10115`. Empty = all of Germany. |
| `radiusKm` | integer | Distance around the location (5, 10, 20, 30, 50, 100, 150, 200 km). |
| `category` | select | Limit keyword searches to one category (e.g. Fahrräder & Zubehör, Wohnung mieten, Autos). |
| `minPrice` / `maxPrice` | integer | Price range in EUR. |
| `sortBy` | select | Recommended, newest, cheapest or most expensive first. |
| `sellerType` | select | All, private or commercial sellers. |
| `adType` | select | Offers, wanted ads or both. |
| `shippingOnly` / `buyNowOnly` | boolean | Only ads with shipping / with "Direkt kaufen". |
| `startUrls` | array | kleinanzeigen.de search, category or ad URLs. |
| `includeDetails` | boolean | Open every ad for the full description, attributes, views and seller profile (default on). |
| `maxItems` | integer | Maximum number of ads in the dataset (default 1,000). |
| `maxPagesPerSearch` | integer | Result pages per search (max 50, the site's own limit). |
| `proxyConfiguration` | object | Apify Proxy settings (datacenter by default). |

Example:

```json
{
    "searchQueries": ["fahrrad"],
    "location": "Berlin",
    "radiusKm": 10,
    "maxItems": 20
}
```

### Output

One record per ad. Example (description shortened):

```json
{
    "id": "3558864226",
    "url": "https://www.kleinanzeigen.de/s-anzeige/bird-bike-a-frame-e-bike-blau-2023-5-023-km-top-gewartet/3558864226-217-3498",
    "title": "Bird Bike A-Frame E-Bike (blau) | 2023 | 5.023 km | Top gewartet",
    "price": 699,
    "priceText": "699 € VB",
    "priceType": "VB",
    "currency": "EUR",
    "location": "Tiergarten",
    "zip": "10785",
    "region": "Mitte",
    "distanceKm": 1,
    "postedAt": "2026-11-01",
    "description": "Ich verkaufe mein blaues Bird Bike A-Frame E-Bike aus dem Jahr 2023. …",
    "descriptionIsFull": true,
    "imageCount": 11,
    "attributes": {"Art": "Herren", "Typ": "Elektrofahrräder", "Zustand": "Gut"},
    "category": "Fahrräder & Zubehör",
    "categoryPath": ["Auto, Rad & Boot", "Fahrräder & Zubehör"],
    "adType": "OFFER",
    "shippingAvailable": false,
    "viewCount": 341,
    "latitude": 52.5069115,
    "longitude": 13.3650508,
    "seller": {"type": "PRIVATE", "name": "Sebastian", "userId": "43932200", "memberSince": "2016-12-05", "activeAds": 2},
    "scrapedAt": "2026-11-21T11:00:07Z"
}
```

Fields: `id`, `url`, `title`, `price`, `priceText`, `priceType` (VB, Festpreis, Zu verschenken), `originalPrice`, `currency`, `location`, `zip`, `region`, `distanceKm`, `postedAt`, `description`, `descriptionIsFull`, `images`, `imageCount`, `tags`, `attributes`, `features`, `categoryId`, `category`, `categoryPath`, `locationId`, `adType`, `shippingAvailable`, `buyNowEnabled`, `topAd`, `highlighted`, `hasVideo`, `viewCount`, `latitude`, `longitude`, `seller` (`type`, `name`, `userId`, `memberSince`, `activeAds`, `badges`, `storeUrl`), `searchUrl`, `scrapedAt`.

With ad details off, records come straight from the result pages: description is the short preview (`descriptionIsFull: false`) and attributes, views, coordinates and the seller profile are empty.

### Integrations and API

Run the actor from the Apify API, a schedule, or any of the Apify integrations (Make, Zapier, n8n, Google Sheets, Slack, webhooks). Fetch results with `GET https://api.apify.com/v2/acts/<actor>/runs/last/dataset/items?format=json` or in CSV/Excel. The run summary (items, duplicates, errors, cost limit reached) is stored under the `SUMMARY` key in the run's key-value store.

### FAQ

#### Do I need a Kleinanzeigen account?

No. The scraper reads only public pages that anyone can open without logging in.

#### Can I get seller phone numbers or e-mail addresses?

No. Kleinanzeigen shows contact details only to logged-in users through its messaging system; the scraper returns the public seller profile (name, type, member since, active ads, shop link).

#### Why do I get fewer ads than the site's total?

Kleinanzeigen shows at most 50 pages (about 1,350 ads) per search. Split large searches by location, category or price range to collect more.

#### Are duplicate ads charged twice?

No. Ads that appear in several of your searches are stored and charged once per run.

#### How fresh is the data?

Every run reads the live site. Schedule the actor (e.g. hourly or daily) with sorting by newest to catch new ads quickly.

#### Is scraping Kleinanzeigen legal?

The scraper only collects publicly visible data. You are responsible for using it in line with applicable law (including GDPR for personal data such as seller names) and the site's terms.

### Limits

- At most 50 result pages per search (site limit); split searches to go further.
- With ad details on, each ad needs its own page request, so runs take longer (about 1 s per ad).
- Contact data (phone, e-mail) is not available without login.
- Ads deleted between the search and the ad page keep their search data only.

# Changelog

This Actor's version history is a separate document: https://apify.com/innolabs/kleinanzeigen-scraper/changelog.md

# Actor input Schema

## `searchQueries` (type: `array`):

One keyword search per entry, e.g. 'fahrrad', 'iphone 15', '3 zimmer wohnung'. Combined with the location, radius, category and filters below. Leave empty to use only start URLs (or to list a whole category/location).

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

German city, district or 5-digit ZIP code, e.g. 'Berlin', 'München', '10115'. Kleinanzeigen's own location lookup picks the best match (shown in the log). Leave empty for all of Germany.

## `radiusKm` (type: `integer`):

Distance around the location in kilometres (Kleinanzeigen offers 5, 10, 20, 30, 50, 100, 150, 200). Ignored without a location.

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

Limit keyword searches to one Kleinanzeigen category.

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

Only listings priced at least this many euros.

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

Only listings priced at most this many euros.

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

kleinanzeigen.de search, category or single-ad URLs copied from the browser. All filters set on the website (price, seller type, attributes like Zimmer or Kilometerstand, sorting) are kept. Search URLs are paginated automatically.

## `sortBy` (type: `string`):

Order of keyword search results.

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

Private individuals, commercial sellers, or both.

## `adType` (type: `string`):

Items offered, or 'wanted' ads of people looking for something.

## `shippingOnly` (type: `boolean`):

Only listings the seller ships (Versand möglich).

## `buyNowOnly` (type: `boolean`):

Only listings with Kleinanzeigen's 'Direkt kaufen' checkout.

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

Open every ad page for the full description, all attributes (e.g. Wohnfläche, Kilometerstand, Zustand), features, all images, coordinates, view count and the seller's name, type, member-since date and badges. Same price per listing; turn off for faster runs with search-page data only.

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

Hard cap on listings across all searches and URLs. The run stops cleanly when reached.

## `maxPagesPerSearch` (type: `integer`):

Result pages to read per search (25 listings each). Kleinanzeigen itself shows at most 50 pages (about 1,250 listings) per search; split big searches by location, category or price range.

## `proxyConfiguration` (type: `object`):

Apify Proxy (datacenter) works for Kleinanzeigen. Switch to residential only if you see blocks.

## `debug` (type: `boolean`):

Verbose logs (retries, failed ad pages).

## Actor input object example

```json
{
  "searchQueries": [
    "fahrrad"
  ],
  "location": "Berlin",
  "radiusKm": 10,
  "category": "0",
  "sortBy": "RECOMMENDED",
  "sellerType": "ALL",
  "adType": "ALL",
  "shippingOnly": false,
  "buyNowOnly": false,
  "includeDetails": true,
  "maxItems": 20,
  "maxPagesPerSearch": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

All Kleinanzeigen listings found by the run, one record per ad.

# 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 = {
    "searchQueries": [
        "fahrrad"
    ],
    "location": "Berlin",
    "radiusKm": 10,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("innolabs/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 = {
    "searchQueries": ["fahrrad"],
    "location": "Berlin",
    "radiusKm": 10,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("innolabs/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 '{
  "searchQueries": [
    "fahrrad"
  ],
  "location": "Berlin",
  "radiusKm": 10,
  "maxItems": 20
}' |
apify call innolabs/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

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