# Kleinanzeigen Scraper — Germany Classifieds, Cheap & Fast (`fabrikit/kleinanzeigen-scraper`) Actor

Kleinanzeigen Scraper for kleinanzeigen.de (ex eBay Kleinanzeigen): search by keyword, category, place + radius, price and seller type. Titles, prices, locations, images and optional full ad details. No login. From US$0.80 per 1,000 ads.

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

## Pricing

from $0.80 / 1,000 ad scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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, Cheap & Fast

Scrape **kleinanzeigen.de** (formerly eBay Kleinanzeigen), Germany's biggest classifieds marketplace: cars, bikes, electronics, furniture, flats, jobs, services and more. Search by keyword, category, place + radius, price range, seller type and shipping. No login, no API key, no browser: plain fast HTTP.

### What you get

- Title, price (number + original text, negotiable / free flags, previous price), location (postcode, city, distance), posted date, main image, number of images, shipping and buy-now flags.
- Commercial sellers (dealers and shops): business name and shop page link.
- **Add-on "ad details"**: full description, all images, attributes (brand, condition, size, mileage...), category path, coordinates, view counter, Top-Ad flag, shipping info, seller type.
- Searches that match more than ~1,250 ads are split by price range automatically, so you can pull tens of thousands of ads in one run. Duplicates are removed.

### Privacy

Private sellers are people. The Actor never outputs their names, profile links, street address or phone / e-mail (contact details found inside free text are masked, coordinates are rounded to about 1 km). Businesses keep their business name, shop link and address.

### Input

| Field | Meaning |
|---|---|
| `searchQueries` | Keywords, one search each (e.g. `fahrrad`, `iphone 15`). |
| `category` | Name (`Fahrräder & Zubehör`, `Autos`, `Mietwohnungen`...) or numeric id from a category URL (`/s-fahrraeder/c217`). |
| `locations`, `radiusKm` | City or postcode, radius 5-200 km. |
| `minPrice`, `maxPrice` | EUR. |
| `sellerType` | `all`, `private`, `commercial`. |
| `adType` | `offers`, `wanted`, `all`. |
| `shippingOnly`, `sortBy` | Only ads with shipping; `newest` or `price_asc`. |
| `startUrls` | Any kleinanzeigen.de search URL (filters kept) or single ad URLs. |
| `includeDetails` | Add-on, see above. |
| `maxItems` | Total limit (default 50). |
| `proxyConfiguration` | Apify proxy (default). Falls back to German residential IPs automatically if blocked. |

Example:

```json
{
  "searchQueries": ["iphone 15"],
  "category": "Smartphones",
  "locations": ["Köln"],
  "radiusKm": "20",
  "sellerType": "private",
  "maxPrice": 800,
  "maxItems": 200,
  "includeDetails": true
}
```

### Output example

```json
{
  "id": "3539978649",
  "url": "https://www.kleinanzeigen.de/s-anzeige/damen-fahrrad-28-zoll-/3539978649-217-9632",
  "title": "Damen Fahrrad 28 Zoll!",
  "description": "Hey, Verkaufe Damen Fahrrad 28 Zoll, 3 Gang! Fahrbereit in einem Guten Zustand! Vor Ort Können...",
  "price": 80,
  "priceText": "80 €",
  "priceType": "fixed",
  "oldPrice": null,
  "currency": "EUR",
  "location": "10969 Kreuzberg",
  "zipCode": "10969",
  "city": "Kreuzberg",
  "distanceKm": null,
  "postedAt": "2026-10-13T14:18:00.000Z",
  "postedAtText": "Heute, 16:18",
  "imageUrl": "https://img.kleinanzeigen.de/api/v1/prod-ads/images/c3/c37c9602-5139-4622-a8d2-a1b07623ace5?rule=$_59.AUTO",
  "imageCount": null,
  "shippingAvailable": true,
  "directBuy": false,
  "sellerType": null,
  "businessName": null,
  "businessUrl": null,
  "categoryId": "217",
  "locationId": "9632",
  "searchQuery": "fahrrad / Berlin",
  "detailsFetched": false,
  "categoryPath": null,
  "attributes": null,
  "images": null,
  "street": null,
  "latitude": null,
  "longitude": null,
  "region": null,
  "views": null,
  "topAd": null,
  "shippingText": null,
  "businessSince": null,
  "scrapedAt": "2026-10-13T14:19:12.576Z"
}
```

Fields marked "details only" are `null` unless `includeDetails` is on.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Ad scraped (`listing-result`) | **US$0.80 per 1,000** |
| Ad details add-on (`listing-details`) | US$0.50 per 1,000 |

Only ads saved to the dataset are charged. A run stops cleanly when it reaches your maximum charge limit.

### FAQ

**How many ads can I get?** One search page set tops out at ~1,250 ads on the site; the Actor splits by price range to go further (ads without a price can only be reached up to that first 1,250).
**Is it legal?** It reads public pages without logging in. You are responsible for using the data in line with the site's terms and GDPR; do not use it to contact private individuals.
**Can I monitor new ads?** Schedule the Actor with `sortBy: newest` and a small `maxItems`.

### Use cases

Price monitoring and resale arbitrage, dealer and stock tracking, market research by region, lead lists of commercial sellers, used-goods valuation datasets.

### En español

Scraper de **kleinanzeigen.de** (antes eBay Kleinanzeigen), el mayor sitio de clasificados de Alemania. Busca por palabra clave, categoría, ciudad + radio, precio y tipo de vendedor. Entrega título, precio, ubicación, fecha, imágenes y, con el complemento de detalles, descripción completa, atributos y contador de visitas. No entrega datos personales de vendedores particulares (solo negocios). Precio: US$0,80 por 1.000 anuncios (+ US$0,50 por 1.000 con detalles).

# Actor input Schema

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

One search per keyword, e.g. fahrrad, iphone 15, sofa. Leave empty to browse a whole category or location.

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

Optional. A category name (e.g. Fahrräder & Zubehör, Autos, Mietwohnungen, Smartphones, Spielzeug) or the numeric id from a Kleinanzeigen category URL (the number after the c, e.g. /s-fahrraeder/c217 is 217).

## `locations` (type: `array`):

Cities or German postcodes (e.g. Berlin, 80331, Hamburg). One search per location. Empty = all of Germany.

## `radiusKm` (type: `string`):

Only used with a location. Kleinanzeigen supports 5, 10, 20, 30, 50, 100, 150 and 200 km. Leave empty for the city itself.

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

Only ads priced at least this much.

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

Only ads priced at most this much.

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

Private sellers, commercial sellers (dealers and shops) or both.

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

Offers (things for sale) or wanted ads (people looking for something).

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

Only ads whose seller offers shipping.

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

Newest ads first, or cheapest first.

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

kleinanzeigen.de search result URLs (filters in the URL are kept) or single ad URLs (/s-anzeige/...). Combined with the filters above.

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

Opens every ad to add the full description, all images, attributes (condition, brand, size...), exact category path, coordinates, view count and seller type. Billed separately per ad. Slower.

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

Total across all searches. One search can return up to about 1,250 ads; more are reached automatically by splitting the search by price range.

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

Apify datacenter proxy is the default. If Kleinanzeigen blocks it, the Actor switches to German residential proxies on its own.

## Actor input object example

```json
{
  "searchQueries": [
    "fahrrad"
  ],
  "locations": [
    "Berlin"
  ],
  "sellerType": "all",
  "adType": "offers",
  "shippingOnly": false,
  "sortBy": "newest",
  "includeDetails": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All ads collected during the run

# 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"
    ],
    "locations": [
        "Berlin"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fabrikit/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"],
    "locations": ["Berlin"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fabrikit/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"
  ],
  "locations": [
    "Berlin"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fabrikit/kleinanzeigen-scraper --silent --output-dataset

```

## MCP server setup

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