# Kleinanzeigen.de Scraper - German Classified Ads (`pshivam/kleinanzeigen-scraper`) Actor

German classified ads from Kleinanzeigen.de (formerly eBay Kleinanzeigen) without login: search by keyword, city and price, or paste a search link, and get title, price, place, date, shipping and seller type. Export to Excel, CSV or API.

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

## Pricing

from $0.70 / 1,000 ads

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.de Scraper - German Classified Ads

**Search Kleinanzeigen.de (formerly eBay Kleinanzeigen), Germany's biggest classifieds site, and get every ad as a table: title, price, negotiable or not, place, posting date, number of pictures, shipping and seller type.** Search by keyword, city, radius and price, or paste the link of any search. One record per ad. Export to Excel, CSV, JSON or the API. No login, no API key.

**Actively maintained.** Last update: 2026-11-23. Every release passes 90+ automated tests on real Kleinanzeigen pages, and the Actor is run on Apify before it is released.

### What can you use it for?

- **Find deals.** Used bikes, phones, furniture or cars under a price in your city, sorted by price or date.
- **Track prices.** Schedule the same search daily and see new ads and price drops (`oldPrice` shows a lowered price; `onlyNew` returns only ads you have not had before).
- **Research a market.** How many ads, at what prices, from how many business sellers: for resale, import and pricing.
- **Source stock for resale.** Pull private-seller ads with shipping and a price below your limit.
- **Feed your tools.** One clean row per ad in JSON or CSV for spreadsheets, alerts and automations.

### What data can you get?

Give keywords, places or search links. Every record is one ad.

| You give | You get |
|---|---|
| `keywords`: what to search for | Every ad of the search, page after page (up to the 50 pages Kleinanzeigen shows) |
| `locations`, `radiusKm` | Only ads near those places |
| `searchUrls`: links of searches you made on the site | The ads of those searches, with your own filters |
| `minPrice`, `maxPrice`, `sellerType`, `onlyWithPrice` | Only the ads you want |

#### Fields

A field that the search page does not show for an ad is `null`.

##### The ad

| Field | What it is |
|---|---|
| `id` | The ad number (the number in the ad's link). |
| `url` | The link to the ad on kleinanzeigen.de. |
| `title` | The ad title. |
| `description` | The first words of the ad text as the search page shows them (about 400 characters). |
| `imageUrl` | The link to the ad's first picture. |
| `imageCount` | How many pictures the ad has, when the page shows it. |

##### Price

| Field | What it is |
|---|---|
| `price` | The price in euros. 0 for an ad that is given away. Empty when the ad has no price. |
| `priceText` | The price as Kleinanzeigen shows it, for example 250 € VB. |
| `oldPrice` | The earlier price when the seller lowered it. |
| `currency` | EUR when the ad has a price. |
| `isNegotiable` | True when the price is marked VB (Verhandlungsbasis, negotiable). |
| `isFree` | True for an ad that is given away (Zu verschenken). |

##### Place and date

| Field | What it is |
|---|---|
| `zipCode` | The postcode of the ad's place. |
| `city` | The city or district of the ad's place. |
| `postedText` | When the ad was posted as Kleinanzeigen writes it: Heute, 16:43 or Gestern, 09:10 or a date. Business ads show none. |
| `postedAt` | The date of postedText as YYYY-MM-DD (Germany's date on the day of the run). |

##### Seller and delivery

| Field | What it is |
|---|---|
| `isBusinessSeller` | True for a business seller (marked PRO), false for a private seller. |
| `sellerName` | The name of a business seller. Empty for private sellers. |
| `shippingAvailable` | True when the seller offers shipping (Versand möglich). |
| `buyNow` | True when the ad can be bought directly (Direkt kaufen). |

##### Where it came from

| Field | What it is |
|---|---|
| `keyword` | The keyword of the search that found the ad. Empty for a pasted link. |
| `searchLocation` | The place of the search that found the ad. |
| `page` | The page of the search results the ad was on. |
| `scrapedAt` | When the ad was read (UTC). |

#### Example result

```json
{"id": "3580657592", "url": "https://www.kleinanzeigen.de/s-anzeige/trek-fahrrad-xberg/3580657592-217-3465", "title": "TREK Fahrrad xberg", "description": "Verkaufe mein TREK Fahrrad, guter Zustand, ...", "price": 250, "priceText": "250 € VB", "oldPrice": null, "currency": "EUR", "isNegotiable": true, "isFree": false, "zipCode": "12359", "city": "Britz", "postedText": "Heute, 17:13", "postedAt": "2026-11-23", "imageCount": 10, "imageUrl": "https://img.kleinanzeigen.de/api/v1/prod-ads/images/ab/ab12cd34?rule=$_59.AUTO", "shippingAvailable": true, "buyNow": true, "isBusinessSeller": false, "sellerName": null, "keyword": "fahrrad", "searchLocation": "Berlin", "page": 1, "scrapedAt": "2026-11-23T17:20:06Z"}
```

### Input

| Input | What it does |
|---|---|
| `keywords` | What to search for |
| `locations`, `radiusKm` | Cities or postcodes, and the radius around them |
| `searchUrls` | Links of Kleinanzeigen search pages (any category or filter) |
| `minPrice`, `maxPrice` | The price range |
| `sellerType` | Private sellers, business sellers or both |
| `onlyWithPrice` | Leave out ads without a price |
| `maxPagesPerSearch` | Pages to read in each search (up to 50) |
| `secondsBetweenRequests` | The pause between requests |
| `onlyNew` | Skip ads that earlier runs of the same input returned |
| `maxItems`, `maxConcurrency`, `requestTimeoutSeconds`, `proxyConfiguration` | Limits, speed and the proxy |

### How much does it cost?

You pay per ad returned. There is no start fee. Pages that cannot be read are not returned and not charged.

| Plan | Price per 1,000 ads |
|---|---|
| Free | $1.00 |
| Bronze | $0.90 |
| Silver | $0.80 |
| Gold | $0.70 |

- 1,000 ads cost about $1 on the Free plan.
- Use `maxItems` to cap the cost of a run, and the price and seller filters to pay only for the ads you want.

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/kleinanzeigen-scraper").call(run_input={
    "keywords": ["iphone 15", "macbook air"],
    "locations": ["Berlin"],
    "radiusKm": "20",
    "maxPrice": 800,
    "sellerType": "private",
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ad["price"], ad["title"], ad["city"], ad["postedText"])
```

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/kleinanzeigen-scraper` and an input like this:

```json
{"keywords": ["sofa"], "locations": ["Hamburg"], "maxItems": 300}
```

### Good to know

- **What is read.** The search result pages: title, a first part of the text, price, place, date and tags. The page of each single ad (the full text, all pictures, the seller's name and the category) is not opened.
- **The 1,250-ad limit.** Kleinanzeigen shows at most 50 pages of 25 ads for a search, whatever the number of matches. To read more, split the search: use more keywords, price ranges or places.
- **Dates.** Kleinanzeigen shows Heute and Gestern with a time, or a date. `postedAt` turns that into a date (Germany's date on the day of the run). Business ads show no date.
- **Price filters.** In a country-wide search the price range is part of the search address; in a search with a place it is applied to the ads that are read, so the run reads more pages than it returns.
- **Private or business.** Business sellers are the ads marked PRO. `sellerType` leaves out the other kind after the page is read.
- **Search links.** Open a search on kleinanzeigen.de, set the category and filters, copy the address from the browser and paste it into `searchUrls`.
- **Speed.** A page of 25 ads takes about half a second, so 1,250 ads (the 50 pages Kleinanzeigen shows for one search) take about half a minute.
- **Independent tool.** Not affiliated with Kleinanzeigen or eBay. The Actor reads public search pages that Kleinanzeigen shows to every visitor. Check the site's terms before you build a service on the data.

### FAQ

#### How do I scrape Kleinanzeigen ads for a keyword?

Put the keyword in `keywords` and run. Add a city in `locations` and a radius to search near you. The Actor reads page after page until the 50 pages Kleinanzeigen shows, or `maxItems`.

#### Can I use my own filters, like a category?

Yes. Search on kleinanzeigen.de with your filters, copy the address and paste it into `searchUrls`.

#### How do I find only private sellers or only ads under a price?

Set `sellerType` to private and `maxPrice` to your limit. Ads that do not match are left out and not charged.

#### Can I get only new ads every day?

Yes. Schedule the same input daily and turn on `onlyNew`: ads that earlier runs returned are skipped and not charged.

#### Does it return the phone number or the full text?

No. It reads the search result pages: the text is shortened there, and phone numbers are not shown on them.

#### What was eBay Kleinanzeigen?

The same site: eBay Kleinanzeigen was renamed Kleinanzeigen.de in 2023.

# Actor input Schema

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

What to search for, one per line, in German or as the ads are written: fahrrad, iphone 15, sofa, e bike. Every keyword is searched on its own.

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

Search only near these places, one per line: Berlin, 80331, Köln. Every keyword is searched in every place. Leave empty to search all of Germany.

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

How far around each place to search. Used only when a place is given.

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

Addresses of Kleinanzeigen search pages with your own filters (category, price, condition, place): open a search on kleinanzeigen.de and copy the address, for example https://www.kleinanzeigen.de/s-fahrrad/k0.

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

Return only ads priced at least this. Ads without a price are left out when a price limit is set.

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

Return only ads priced at most this.

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

Return ads of private sellers, of business sellers (marked PRO), or both.

## `onlyWithPrice` (type: `boolean`):

Leave out ads without a price (for example wanted ads and free-text prices).

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

Kleinanzeigen shows 50 pages of 25 ads (1,250 ads) of a search. Read at most this many pages of each search.

## `secondsBetweenRequests` (type: `number`):

The pause between two requests of the run.

## `requestTimeoutSeconds` (type: `integer`):

Give up on a page that has not answered after this many seconds.

## `onlyNew` (type: `boolean`):

Skip ads that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'kleinanzeigen-scraper-only-new'.

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

Stop after this many ads. You are charged per ad returned.

## `maxConcurrency` (type: `integer`):

How many pages are read at the same time.

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

Not needed to start. Turn it on only if Kleinanzeigen refuses the Actor's address; the proxy then takes over while the address rests.

## Actor input object example

```json
{
  "keywords": [
    "fahrrad"
  ],
  "radiusKm": "0",
  "sellerType": "any",
  "onlyWithPrice": false,
  "maxPagesPerSearch": 50,
  "secondsBetweenRequests": 0.5,
  "requestTimeoutSeconds": 30,
  "onlyNew": false,
  "maxItems": 50,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `ads` (type: `string`):

Ads as a table.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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 = {
    "keywords": [
        "fahrrad"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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