# Kleinanzeigen Scraper — Germany Classifieds, Prices & Sellers (`jeffev/kleinanzeigen-scraper`) Actor

Scrape Kleinanzeigen.de (ex eBay Kleinanzeigen) listings by keyword or by any search URL with city, category and filters: title, price, VB, location, date and photo. Detailed mode adds full description, attributes, seller name and type, and all photos.

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

## Pricing

from $0.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 — Germany classifieds, prices & sellers

Scrape **Kleinanzeigen.de** (formerly eBay Kleinanzeigen), Germany's largest classifieds site. Search by keyword nationwide, or **paste any search URL with your city, radius, category and filters**. Each listing comes with title, **price and "VB" (negotiable) flag**, location, posting date, description preview and photo. **Detailed mode** opens every listing for the full description, **attributes** (type, condition, size...), **seller name, private or commercial**, member since, rating badges and **all photos**.

Built for **resale and arbitrage, price research, car and real-estate market analysis, and B2B lead generation from commercial sellers**.

### Why this one

- **Works with the new Kleinanzeigen layout** (October 2026).
- **Any filter you can set on the site**: city and radius, category, price, private/commercial, by pasting the search URL.
- **Commercial seller detection**: find dealers and shops (`Gewerblicher Nutzer`) for B2B outreach.
- **Two price levels**: fast mode from the results pages, or detailed mode.

### Input

```json
{
  "searchQueries": ["rennrad", "iphone 15"],
  "maxPrice": 500,
  "startUrls": ["https://www.kleinanzeigen.de/s-berlin/fahrrad/k0l3331"],
  "maxItemsPerSearch": 200,
  "includeDetails": true
}
```

### Output (one item per listing)

| Field | Fast | Detailed |
|---|---|---|
| `adId`, `title`, `url`, `price`, `priceText`, `negotiable` | ✓ | ✓ |
| `location`, `postedAt`, `descriptionPreview`, `image` | ✓ | ✓ |
| `description`, `locationFull`, `postedDate`, `attributes`, `features`, `seller` (`name`, `type`, `activeSince`, `badges`), `images` | | ✓ |

### Example output

One real item from a test run (long texts and lists shortened):

```json
{
  "type": "listing",
  "adId": "3546261894",
  "title": "IKEA Hemnes Schlafsofa weiß mit Matratze",
  "url": "https://www.kleinanzeigen.de/s-anzeige/ikea-hemnes-schlafsofa-weiss-mit-matratze/3546261894-81-2643",
  "price": 269,
  "priceText": "269 € VB",
  "negotiable": true,
  "location": "26670 Uplengen",
  "postedAt": "Heute, 22:55",
  "descriptionPreview": "Ich verkaufe mein weißes IKEA Hemnes Schlafsofa inklusive der passenden Matratze. Das Bett ist sehr...",
  "image": "https://img.kleinanzeigen.de/api/v1/prod-ads/images/1e/1e96058c-255d-475b-b704-eb2490f06808?rule=$_59.AUTO",
  "searchUrl": "https://www.kleinanzeigen.de/s-sofa/k0",
  "description": "Ich verkaufe mein weißes IKEA Hemnes Schlafsofa inklusive der passenden Matratze. Das Bett ist sehr vielseitig einsetzbar und bietet durch das klassische Des...",
  "locationFull": "26670 Niedersachsen - Uplengen",
  "postedDate": "19.10.2026",
  "attributes": {
    "Farbe": "Weiß",
    "Art": "Betten",
    "Zustand": "Sehr Gut",
    "Material": "Holz"
  },
  "seller": {
    "name": "S.J.",
    "type": "Privater Nutzer",
    "activeSince": "30.09.2012",
    "badges": [
      "Besonders zuverlässig"
    ]
  },
  "images": [
    "https://img.kleinanzeigen.de/api/v1/prod-ads/images/1e/1e96058c-255d-475b-b704-eb2490f06808",
    "https://img.kleinanzeigen.de/api/v1/prod-ads/images/9a/9a2b9679-b615-48e6-b4fa-85e084fa6c6b",
    "https://img.kleinanzeigen.de/api/v1/prod-ads/images/c8/c80b1bda-cbc0-41d7-912e-db8e94d57496"
  ]
}
```

### Limits

Kleinanzeigen shows up to 50 pages of 27 listings per search. For more, split by category, city or price range.

### How much does it cost?

You pay only for results delivered, at a fixed price per item. **Apify platform usage is included** in that price, so there are no compute costs on top. Errors and items that couldn't be found are free.

| What you get | Price | Example |
|---|---|---|
| Detailed listing | $0.002 each | 1,000 detailed listings = $2.00 |
| Listing | $0.0005 each | 1,000 listings = $0.50 |

The Apify **Free plan includes $5 of monthly credit**, enough for about **2,500 detailed listings** per month at no cost. You can also set a maximum spend per run.

On paid Apify plans it gets cheaper automatically: **10% off on Starter, 20% on Scale and 30% on Business**.

### Feedback

Found a bug, a site change, or need an extra field? Open an issue in the **Issues** tab: every issue is read and answered. If this actor saved you time, a **review** helps other people find it.

# Actor input Schema

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

What to search on Kleinanzeigen, one search per line (nationwide). For a city or category, use 'Search URLs' below.

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

Paste Kleinanzeigen search URLs with your city, radius, category and filters already set (e.g. https://www.kleinanzeigen.de/s-berlin/fahrrad/k0l3331).

## `maxItemsPerSearch` (type: `integer`):

Kleinanzeigen shows 27 listings per page and up to 50 pages.

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

Open each listing for the full description, attributes (type, condition...), seller name and type (private/commercial), member since, badges and all photos. Charged as a detailed listing.

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

Keyword searches only: minimum price in euros.

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

Keyword searches only: maximum price in euros.

## `excludeTopAds` (type: `boolean`):

Skip the paid 'TOP' ads that Kleinanzeigen repeats on every results page.

## Actor input object example

```json
{
  "searchQueries": [
    "rennrad"
  ],
  "maxItemsPerSearch": 50,
  "includeDetails": false,
  "excludeTopAds": true
}
```

# Actor output Schema

## `listings` (type: `string`):

One item per Kleinanzeigen listing.

# 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": [
        "rennrad"
    ],
    "maxItemsPerSearch": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("jeffev/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": ["rennrad"],
    "maxItemsPerSearch": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("jeffev/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": [
    "rennrad"
  ],
  "maxItemsPerSearch": 50
}' |
apify call jeffev/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

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