# Kleinanzeigen Scraper (`normdata/kleinanzeigen-scraper`) Actor

Scrape Kleinanzeigen.de (ex eBay Kleinanzeigen): any search or category, price, location, photos, seller. Every filter: cars, motorbikes, flats, houses. No 1,250 cap. Optional details: description, attributes, GPS, views, and dealer phone, email, VAT and imprint for lead lists.

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

## Pricing

from $14.00 / 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

![Norm Data](https://raw.githubusercontent.com/FabriAV/normdata/refs/heads/main/assets/banner_norm2.png)

## 🛒 Kleinanzeigen Scraper

Extract ads from **Kleinanzeigen.de** (formerly eBay Kleinanzeigen), Germany's largest classifieds site with over 50 million live ads. Search **anything**: electronics, furniture, fashion, cars, motorbikes, apartments, houses, jobs, services, pets. Type search words, pick one of 161 categories, or paste any Kleinanzeigen link.

Each ad comes with:

- Title, snippet, **price and price type** (fixed, negotiable "VB", free), and the old price when it was reduced.
- Category, **postcode and city**, posting date.
- Main photo in full size and the photo count.
- Shipping, direct buy, top ad, and the shop name for commercial sellers.
- Quick facts shown in the results, like mileage and first registration for cars.

Turn on **Full details** to add the full description, every photo, **every attribute** (make, model, mileage, rooms, living space, type...), features, **GPS**, state and district, **view count**, and the seller's name, profile, member since, rating and badges. For **commercial sellers** you also get their **phone, email, company name, imprint, VAT ID and trade register number**.

### 🎯 Who uses it?

#### 📞 Lead generation and B2B sales

Collect car dealers, furniture shops, craftsmen and service providers in any region, with **phone, email, VAT ID and full imprint** from their ads.

#### 🏪 Resellers and flippers

Find underpriced items the minute they go online: iPhones, consoles, bikes, designer furniture. Schedule a search and get only the new ads.

#### 🏠 Real estate investors and agents

Track rental and sale prices for apartments and houses by rooms, size, type and city. Find private landlords and commission-free listings.

#### 📊 Market researchers and brands

Measure supply, asking prices and demand (views) for any product across Germany.

### ✨ What it does

- **Any search.** Type what you would in the Kleinanzeigen search box: "iphone 15", "sofa", "golf 7". Several in one run, each its own search.
- **Any link.** Paste search pages with all their filters, or single ads.
- **161 categories,** including subcategories, in plain English.
- **Where:** all of Germany, or a city, district or postcode with a radius from 5 to 200 km.
- **Every main Kleinanzeigen filter:**
  - Price range (or free items only), private or commercial seller, offers or wanted ads.
  - Condition (new, like new, good, acceptable, defective) and colour.
  - Shipping or pickup only, parcel service (DHL, Hermes), direct buy only, with photos only.
  - 6 sort orders: default, newest, lowest price, highest price, distance, recommended.
- **Car filters:** makes, first registration, mileage, power in PS, gearbox, fuel, body type, doors, damaged cars (hide, include or only), emission class, emission sticker, upholstery, inspection (TÜV) year.
- **Motorbike filters:** makes, year, mileage, power, gearbox, type (motorbike, scooter, moped, quad), engine size.
- **Real estate filters:** rooms, living space, apartment type, house type, plot size, build year, no buyer commission, online tour.
- **Any other filter** as "key:value", e.g. a car model or a phone brand, copied from a Kleinanzeigen link.
- **New ads only.** For scheduled runs: saves only what was posted since the last run of the same search.
- **Full details (optional):** see above.

### 🏆 Why this scraper

- **Fast.** About 1,000 ads in 10 to 20 seconds.
- **Complete.** Kleinanzeigen shows at most 1,250 ads per search (50 pages). This Actor splits big searches into price bands automatically, so you get far more than that from one search: 2,600 "iphone 15" ads in about 25 seconds.
- **Lead-ready.** Commercial sellers come with phone, email, company, VAT ID and register number parsed out of their imprint, not just a wall of text.
- **Ready to analyse.**
  - Prices are numbers with a clear price type (`fixed`, `negotiable`, `free`, `on_request`).
  - Dates are `YYYY-MM-DD`, attributes come both as shown on the site and as typed values (`"km": 136000`, `"ez": 2017`, `"zimmer": 2`).
  - Photos are already in full size.
- **No proxy needed.** Nothing extra to set up or pay for.

### ⚖️ How it compares

Based on each Actor's public input options (October 2026).

| Capability | This actor | memo23 | beatanalytics | crawlerbros | webdatalabs, ivanvs |
|---|:--:|:--:|:--:|:--:|:--:|
| Search words | **yes** | yes | yes | no (links only) | no (links only) |
| Search links and single ads | **yes** | yes | yes | yes | yes |
| Category picker | **yes** (161) | yes | ID only | no | no |
| Place and radius | **yes** | yes | yes | no | no |
| Price, seller and ad type filters | **yes** | yes | yes | price, seller | no |
| Shipping, direct buy | **yes** | yes | yes | no | no |
| Parcel service (DHL, Hermes) | **yes** | no | no | no | no |
| Condition and colour filters | **yes** | no | no | no | no |
| Car filters (make, year, km, power, fuel, body...) | **yes** | no | no | no | no |
| Real estate filters (rooms, size, type, commission) | **yes** | no | no | no | no |
| Any other site filter (key:value) | **yes** | no | no | no | no |
| Highest price first | **yes** | no | yes | no | no |
| New ads only (monitoring) | **yes** | yes | no | no | no |
| Full ad details | **yes** | yes | no | yes | ivanvs |
| Photos only filter | **yes** | yes | yes | no | no |
| Download images to storage | no | yes | no | no | no |

### 📦 What data you get

| Field | Description |
| --- | --- |
| `id`, `url` | Kleinanzeigen ad ID and page. |
| `title`, `snippet` | Ad title and the start of its description. |
| `price`, `priceType`, `originalPrice`, `currency` | 4600, `negotiable`, the price before a reduction, `EUR`. `priceType` is `fixed`, `negotiable`, `free` or `on_request`. |
| `category`, `categoryGroup`, `categoryId` | "Cars", "Cars, bikes & boats", 216. |
| `postalCode`, `city`, `locationId` | Where the ad is. |
| `postedAt` | Posting date, with the time for today's ads (`2026-10-04T23:34`, German time). Top ads don't show it here; Full details adds `postedDate`. |
| `image`, `imageCount` | Main photo in full size and the number of photos. |
| `shippingAvailable`, `directBuy` | Shipping possible, and "Direkt kaufen" with payment protection. |
| `isTopAd`, `isHighlighted` | Paid placements. |
| `shopName`, `shopUrl` | Commercial seller's Kleinanzeigen shop. |
| `tags` | Quick facts from the results: "73.208 km", "EZ 10/2017", "Versand möglich", "Gesuch". |
| `searchedFor` | Which of your searches or links found it. |
| `scrapedAt` | When the row was collected (UTC). |

With **Full details** on, each row also has: `images`, `description`, `adType` (`offer` or `wanted`), `subcategory`, `state`, `district`, `street`, `latitude`, `longitude`, `attributes` (as shown on the ad), `attributesRaw` (typed values), `features`, `shippingCost`, `views`, `postedDate`, `sellerType` (`private` or `commercial`), `sellerName`, `sellerId`, `sellerUrl` (all the seller's ads), `sellerSince`, `sellerSatisfaction` (`TOP`, `OK`...), `sellerBadges`, `sellerActiveAds`, `sellerShopUrl`, `phone`, `imprint`, `companyName`, `companyEmail`, `companyPhones`, `vatId`, `registerNumber`, `postedFrom` (app or website).

An `error` field appears only when an ad's details didn't load. The rest of that row is complete.

#### Example row (trimmed, with Full details)

```json
{
  "id": "3531776505",
  "url": "https://www.kleinanzeigen.de/s-anzeige/ford-focus-turnier-trend-zahnriemen-neu-klima/3531776505-216-21488",
  "title": "Ford Focus Turnier Trend Zahnriemen neu Klima",
  "price": 5350,
  "priceType": "fixed",
  "currency": "EUR",
  "category": "Cars",
  "categoryGroup": "Cars, bikes & boats",
  "categoryId": 216,
  "postalCode": "50769",
  "city": "Köln",
  "postedAt": "2026-10-04",
  "imageCount": 12,
  "tags": ["116.212 km", "EZ 03/2013"],
  "description": "Sommerschlussverkauf: Anhängerkupplung inkl. Montage nur 299€! ...",
  "adType": "offer",
  "state": "Nordrhein-Westfalen",
  "district": "Worringen",
  "street": "Neusser Landstraße 317 - 321",
  "latitude": 51.0677,
  "longitude": 6.8649,
  "attributes": { "Marke": "Ford", "Modell": "Focus", "Kilometerstand": "116.212 km", "Erstzulassung": "März 2013", "Kraftstoffart": "Benzin", "Leistung": "101 PS" },
  "attributesRaw": { "marke": "ford", "model": "focus", "km": 116212, "ez": 2013, "ezm": 3, "fuel": "benzin", "power": 101, "shift": "manuell", "typ": "kombi", "schadstoffklasse": "euro5" },
  "features": ["Klimaanlage", "Radio/Tuner", "Sitzheizung", "Antiblockiersystem (ABS)"],
  "views": 5,
  "sellerType": "commercial",
  "sellerName": "CarLev Autohaus Betreiber:Optimise Europe GmbH",
  "sellerId": "88901604",
  "sellerSince": "2021-10-07",
  "sellerActiveAds": 10,
  "phone": "+49 160 3337007",
  "companyName": "CarLev Autohaus",
  "companyEmail": "info@carlev.de",
  "companyPhones": ["+49 (0)221 96890440", "+49 (0)160 333 7007"],
  "vatId": "DE330858450",
  "registerNumber": "HRB 107771",
  "postedFrom": "mobileDE",
  "scrapedAt": "2026-10-04T22:20:31.170Z"
}
```

### 💡 Use cases

#### 📞 Car dealers around Berlin with phone, email and VAT ID

```json
{ "category": "216", "location": "Berlin", "radiusKm": "50", "sellerType": "commercial", "includeDetails": true, "maxItems": null }
```

#### 🔔 New iPhone 15 ads under €500 near Hamburg, every hour

```json
{ "searchTerms": ["iphone 15"], "location": "Hamburg", "radiusKm": "30", "maxPrice": 500, "onlyNew": true, "maxItems": null }
```

Schedule it: each run saves only the ads posted since the last one.

#### 🚗 BMW and Audi diesels with automatic gearbox, from 2018, under 100,000 km

```json
{ "makes": ["BMW", "Audi"], "fuel": ["diesel"], "gearbox": ["automatic"], "minYear": 2018, "maxMileage": 100000, "damagedVehicles": "exclude", "maxItems": null }
```

#### 🏠 3+ room apartments for rent in Munich under €2,000

```json
{ "location": "München", "minRooms": 3, "maxPrice": 2000, "includeDetails": true, "maxItems": null }
```

#### 🛋️ New sofas from shops, shipped by DHL

```json
{ "searchTerms": ["sofa"], "condition": ["new"], "sellerType": "commercial", "shipping": "shipping", "parcelService": "dhl", "maxItems": 500 }
```

#### 🔗 Your own Kleinanzeigen search, as it is

```json
{ "urls": ["https://www.kleinanzeigen.de/s-autos/hamburg/golf/k0c216l9409r30"], "maxItems": null }
```

### ⚙️ How the input is organised

| Section | What it's for |
| --- | --- |
| **Maximum ads** | Always first: caps the whole run. Empty means no limit. |
| **What** | Search terms, Kleinanzeigen links and category. |
| **Where** | A place with a radius, or all of Germany. |
| **Main filters** | Price, seller, ad type, condition, colour, shipping, parcel service, direct buy, photos, sort. |
| **Cars and motorbikes** | Makes, year, mileage, power, gearbox, fuel, body, doors, damage, emissions, upholstery, inspection, motorbike type, engine size. |
| **Real estate** | Rooms, living space, apartment and house type, plot size, build year, commission, online tour. |
| **Any other filter** | Extra "key:value" filters from Kleinanzeigen links. |
| **Monitoring and extras** | New ads only, and Full details (paid add-on). |

Links keep their own filters; the form filters apply to your search terms. Car, motorbike and real estate filters pick their category for you when none is set.

### 💰 Pricing

Pay-per-event: a one-time **$0.003** when the run starts, plus a price per ad saved to your dataset that drops with your Apify plan:

| Your Apify plan | Per ad | 1,000 ads |
| --- | --- | --- |
| Free | $0.020 | $20.00 |
| Bronze | $0.018 | $18.00 |
| Silver | $0.016 | $16.00 |
| Gold / Platinum / Diamond | $0.014 | $14.00 |

**Full details add-on.** You pay this only when **Full details** is on, once for each ad saved with its details:

| Your Apify plan | Add-on per ad |
| --- | --- |
| Free | $0.005 |
| Bronze | $0.004 |
| Silver | $0.0035 |
| Gold / Platinum / Diamond | $0.003 |

Leave it off and you pay only the base price. There are no proxy costs. New Apify accounts start with $5 in free credit. On the Free plan a run saves up to 10 ads.

**Speed:**

- About 1,000 ads in 10 to 20 seconds.
- With full details, about 250 ads a minute.

### 🚀 Run it

1. Create a free Apify account with $5 in credit.
2. Open the Kleinanzeigen Scraper.
3. Type a search (or keep the prefilled one), or paste Kleinanzeigen links, add filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

You can also:

- Run it programmatically through the Apify API (`run-sync-get-dataset-items`) or the ApifyClient for JavaScript and Python.
- Schedule it with Apify's built-in Scheduler, with **New ads only** on, to catch new ads every hour or day.

### 🤖 Use with AI agents (MCP)

Give an AI agent live access to Kleinanzeigen ads through the Model Context Protocol:

```
claude mcp add --transport http apify "https://mcp.apify.com?tools=normdata/kleinanzeigen-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### 🔧 Troubleshooting

**The location wasn't found.**
Use a German city, district or postcode as you would on Kleinanzeigen: "Berlin", "Hamburg Altona", "80331".

**Some filters were ignored.**
Car, motorbike and real estate filters only work in their own category. The log says which filters were ignored and why.

**A private seller has no phone.**
Kleinanzeigen shows private phone numbers only to signed-in users, so `phone` is filled for commercial sellers. Their imprint usually adds email and more phones.

**The log says Kleinanzeigen asked to slow down.**
On very big runs the site may limit how fast pages load. The Actor pauses for a minute and carries on by itself.

**A big search returned a little less than the count shown.**
Big searches are collected by price. The few ads with no price at all (about 5%) only show up in searches under 1,250 ads.

**A scheduled "New ads only" run saved nothing.**
Nothing new was posted since the last run of the same search. Changing the search, links or filters starts a fresh memory; set a **Monitor name** to keep it.

### ❓ FAQ

| Question | Answer |
| --- | --- |
| Do I need a Kleinanzeigen account? | No. Only public ads are read. |
| Does it need a proxy? | No. If a run ever gets blocked, there is an optional proxy setting: use Residential with country Germany (datacenter proxies are mostly blocked by the site). |
| Can I get more than 1,250 ads from one search? | Yes. Leave the maximum empty: big searches are split into price bands automatically. |
| Does it work with old ebay-kleinanzeigen.de links? | Yes. |
| Can I filter by car model? | Yes, with Extra filters: `autos.model_s:golf`. |
| Can I track new ads? | Yes. Turn on **New ads only** and schedule the run. |

### 🛡️ Limits & responsible use

This Actor reads only public ads from Kleinanzeigen. It never signs in and never contacts sellers. Seller names, phone numbers and emails can be personal data: handle them in line with the GDPR, and use the data in line with Kleinanzeigen's terms.

### 📧 Contact

Need a scraper for a different site, or found something wrong with this one? norm.data.scrapers@gmail.com

### 🧪 Local development

```powershell
bun install
bun run typecheck
bun test/qa.mjs
apify run
```

Local results are stored in `storage/datasets/default`.

# Actor input Schema

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

Stop after this many ads. Leave empty for no limit (every ad that matches, even past Kleinanzeigen's 1,250-results-per-search cap). The Apify Free plan is always capped at 10.

## `searchTerms` (type: `array`):

What you would type in the Kleinanzeigen search box, e.g. "iphone 15", "sofa", "golf 7", "ps5". Each line is its own search. Leave empty to list every ad in the category below.

## `urls` (type: `array`):

Kleinanzeigen search pages with all their filters (e.g. kleinanzeigen.de/s-autos/berlin/c216l3331) or single ads (kleinanzeigen.de/s-anzeige/...). Search links keep their own filters; the filters below apply to Search terms.

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

Only ads in this category or subcategory. Leave empty for all categories. Car, motorbike and real estate filters below need their category (they pick it for you when left empty).

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

A German city, district or postcode, e.g. "Berlin", "Hamburg Altona", "80331". Leave empty for all of Germany.

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

Distance around the place above. Leave empty for the place itself.

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

Leave empty for any.

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

Leave empty for no limit. Set 0 for free items (Zu verschenken).

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

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

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

Offers (Angebote), wanted ads (Gesuche) or both.

## `condition` (type: `array`):

Keep only ANY of these.

## `colors` (type: `array`):

Keep only ANY of these.

## `shipping` (type: `string`):

Ads that ship, pickup only, or both.

## `parcelService` (type: `string`):

Only ads that ship with this carrier.

## `directBuyOnly` (type: `boolean`):

Keep only ads with "Direkt kaufen" (buy now with Kleinanzeigen payment protection).

## `withPhotosOnly` (type: `boolean`):

Keep only ads that have at least one photo.

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

Order of the results. Matters most when you set a Maximum.

## `makes` (type: `array`):

Car or motorbike makes, e.g. "BMW", "Volkswagen", "Mercedes-Benz", "Harley". Keeps ANY of them. Add a model with Extra filters, e.g. "autos.model_s:golf".

## `minYear` (type: `integer`):

e.g. 2015.

## `maxYear` (type: `integer`):

e.g. 2022.

## `minMileage` (type: `integer`):

Leave empty for any.

## `maxMileage` (type: `integer`):

Leave empty for no limit.

## `minPowerPs` (type: `integer`):

Horsepower (PS).

## `maxPowerPs` (type: `integer`):

Horsepower (PS).

## `gearbox` (type: `array`):

Keep only ANY of these.

## `fuel` (type: `array`):

Keep only ANY of these.

## `carBodyTypes` (type: `array`):

Keep only ANY of these.

## `doors` (type: `array`):

Keep only ANY of these.

## `damagedVehicles` (type: `string`):

Include, hide or keep only damaged cars.

## `emissionClass` (type: `array`):

Keep only ANY of these.

## `emissionSticker` (type: `array`):

German Umweltplakette. Keep only ANY of these.

## `upholstery` (type: `array`):

Keep only ANY of these.

## `minInspectionYear` (type: `integer`):

Cars only, e.g. 2027.

## `motorbikeTypes` (type: `array`):

Keep only ANY of these.

## `minEngineCc` (type: `integer`):

Motorbikes only.

## `maxEngineCc` (type: `integer`):

Motorbikes only.

## `minRooms` (type: `integer`):

Leave empty for any.

## `maxRooms` (type: `integer`):

Leave empty for any.

## `minSizeSqm` (type: `integer`):

Leave empty for any.

## `maxSizeSqm` (type: `integer`):

Leave empty for any.

## `apartmentTypes` (type: `array`):

Keep only ANY of these.

## `houseTypes` (type: `array`):

Keep only ANY of these.

## `minPlotSqm` (type: `integer`):

Houses for sale.

## `maxPlotSqm` (type: `integer`):

Houses for sale.

## `minBuildYear` (type: `integer`):

Houses for sale.

## `maxBuildYear` (type: `integer`):

Houses for sale.

## `noCommissionOnly` (type: `boolean`):

Apartments and houses for sale without a broker commission for the buyer (provisionsfrei).

## `onlineTourOnly` (type: `boolean`):

Keep only listings with an online viewing tour.

## `extraFilters` (type: `array`):

Any other Kleinanzeigen filter as "key:value", e.g. "autos.model_s:golf", "wohnung_mieten.etage_i:2,5" (a range), "handy_telekom.art_s:apple", "wohnzimmer.art_s:sofas_sitzgarnituren". Copy them from a Kleinanzeigen search link (the parts after "+").

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

For scheduled runs: save only ads this same search has not saved before. The first run saves everything; later runs save just what was posted since. Kept per search (terms, links and filters).

## `monitorName` (type: `string`):

Optional. Give "New ads only" a fixed name to keep its memory even after you change the filters.

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

Reads each full ad and adds: full description, all photos, every attribute (make, model, mileage, rooms, size, type...), features, GPS, state and district, street, views, seller name, ID, profile, member since, rating and badges, active ads, and for commercial sellers their phone, email, company, address imprint, VAT ID and register number. Paid add-on: one extra charge per ad saved with details (see Pricing).

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

Optional, off by default. Kleinanzeigen normally works fine without one. Turn it on only if your runs get blocked ("temporarily blocked this IP range"). Pick the Residential group with country Germany; datacenter proxies are mostly blocked by Kleinanzeigen. Proxy traffic is billed to your Apify account.

## Actor input object example

```json
{
  "maxItems": 10,
  "searchTerms": [
    "iphone 15"
  ],
  "sellerType": "all",
  "adType": "all",
  "shipping": "all",
  "parcelService": "all",
  "directBuyOnly": false,
  "withPhotosOnly": false,
  "sortBy": "default",
  "damagedVehicles": "include",
  "noCommissionOnly": false,
  "onlineTourOnly": false,
  "onlyNew": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `ads` (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 = {
    "maxItems": 10,
    "searchTerms": [
        "iphone 15"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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