# Kleinanzeigen Immobilien Scraper - Wohnungen & Häuser API (`rel8ble/kleinanzeigen-immobilien-scraper`) Actor

Kleinanzeigen Immobilien scraper and API: German apartments, houses, WG rooms, land and commercial property by city/PLZ + radius, price, m², rooms and features. Rows: rent or price, m², rooms, EUR/m², warm rent, deposit, energy class, agency. $0.75 per 1,000, no start fee.

- **URL**: https://apify.com/rel8ble/kleinanzeigen-immobilien-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.75 / 1,000 results

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/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 Immobilien Scraper - Wohnungen & Häuser API

**Kleinanzeigen Immobilien scraper** and unofficial **Kleinanzeigen real-estate API** (formerly **eBay Kleinanzeigen**): search German apartments, houses, shared flats (WG), land, commercial property, garages and new builds by city or postcode + radius, rent or price, m², rooms and features, and export them to JSON, CSV or Excel. Built for **German rental market research**, rent-per-m² tracking, flat hunting alerts, property lead lists and investor deal screening.

- **What goes in:** German places (city, district or postcode) with a radius, property types (apartment_rent, apartment_buy, house_rent, house_buy, shared_temporary, land, commercial, parking, holiday, new_build), price, living space, rooms, plot size, year built, must-have features (balcony, lift, built-in kitchen ...), sub-types (penthouse, Reihenhaus ...), private or commercial seller, or pasted Kleinanzeigen property URLs.
- **What comes out:** one row per listing: cold rent or price, m², rooms, EUR per m², floor, postcode, place, date, private or agency, agency name, photos and URL. With details on: warm rent, Nebenkosten, heating costs, deposit (Kaution), bedrooms, bathrooms, available-from month, apartment / house type, year built, commission, features as English keys, energy certificate, energy class, kWh/m²a, heating type, description and map position.
- **Typical cost:** $0.75 per 1,000 listings, details included, no start fee. The most-used Kleinanzeigen real-estate actor charges $1.49 per 1,000 + $0.002 per run (live Apify Store, 1 Dec 2026).
- **Speed:** the default input (50 listings) finished in 4.7 seconds in an Apify cloud run (512 MB, 24 Nov 2026); 1,000 Berlin rentals took 8.2 seconds in list mode (41 requests, local test).

It reads the public result pages over plain HTTP, with **no headless browser** and no login, 25 listings per request, and applies the site's own filters (m², rooms, features, year built) in the search URL, so you pay only for listings that match. Unofficial: not affiliated with or endorsed by Kleinanzeigen.

### Sample output

Real rows from the default input (apartments for rent in Berlin and München, 24 Nov 2026):

| title | priceText | m² | rooms | EUR/m² | place | posted | seller |
|---|---|---|---|---|---|---|---|
| Möblierte 1-Zimmer-Wohnung in Schwabing | 1.400 € | 36 | 1 | 38.89 | 80804 Schwabing-West | 2026-11-17 | private |
| KENSINGTON - Exklusiv 3 Zimmer Wohnung in Aubing | 1.480 € | 69 | 3 | 21.45 | 81249 Aubing | 2026-11-23 | commercial |
| Helle, moderne und hochwertig ausgestattete 3-Zimmer-Dachgeschoss... | 2.300 € | 102 | 3 | 22.55 | 81479 Solln | 2026-11-21 | commercial |
| Nachmieter für ruhige 2-Zimmer Wohnung mit Sonnenbalkon | 1.489 € | 57 | 2 | 26.12 | 12105 Tempelhof | 2026-11-24 | commercial |
| Wunderschöne 1-Zimmer Wohnung mit Einbauküche in Altglienicke | 895 € | 45 | 1 | 19.89 | 12524 Köpenick | 2026-11-23 | commercial |

A house for sale with details on (Hamburg, 24 Nov 2026): `price` 959000, `livingSpaceSqm` 155.82, `plotAreaSqm` 297.5, `rooms` 5, `houseType` "doppelhaushaelfte", `yearBuilt` 2012, `energyClass` "A+", `energyConsumptionKwh` 19.13, `heatingType` "Fußbodenheizung", `featureFlags` \["built_in_kitchen", "floor_heating", "garage", "terrace", "cellar", "garden", "guest_wc"].

### Use cases

- **Rent and price per m² research**: median cold rent per m² by postcode, city or room count, refreshed whenever you like.
- **Scheduled monitoring and new-listing alerts**: run it every 15-60 minutes with `sort: "newest"` and your filters (e.g. 2-3 rooms, 50-80 m², balcony, under 1,400 €) and push new rows to Telegram, Slack or e-mail through Make, Zapier or n8n. Apartments in Berlin go fast; a schedule sees them first.
- **Investor deal screening**: houses and apartments for sale under a price per m², with year built and energy class to price in renovation.
- **Lead lists for agents, movers and service firms**: private landlords and sellers (`sellerType: "private"`) by area; agencies come with name and shop link. No personal contact data is collected.
- **Market reports and dashboards**: supply by city, type and size; commercial space, garages and land by rent or sale.
- **AI agents**: "3-room flats with balcony in Köln under 1,500 € warm" maps straight onto the input fields.

### Pricing

**$0.75 per 1,000 listings** (pay per result: you pay only for listings saved to the dataset). Listing details are included at the same price; Apify platform usage and proxies are included too.

| You scrape | You pay |
|---|---|
| 100 listings | $0.075 |
| 1,000 listings | $0.75 |
| 10,000 listings | $7.50 |
| 100,000 listings | $75.00 |

No start fee. The Apify free plan's $5 monthly credit covers about 6,600 listings. The default input (50 listings) costs about $0.04. You're never charged for failed or blocked requests, retries, duplicates, listings dropped by your filters, or ad URLs that no longer exist. If you set a maximum cost per run, the scraper stops cleanly when it reaches it.

#### Compared with the top rival (live Apify Store data, 1 Dec 2026)

| | This actor | clearpath/kleinanzeigen-immobilien-api-pro |
|---|---|---|
| Users (total / last 30 days) | 1 / 0 | 115 / 56 |
| Price per 1,000 listings | **$0.75**, details included | $1.49 |
| Start fee per run | none | $0.002 |
| 1,000 listings cost | **$0.75** | $1.492 |
| Speed, list rows | 50 in 4.7 s (cloud run, 512 MB); 1,000 in 8.2 s (local), 24 Nov 2026 | not published separately |
| Speed, with details | about 50 listings per minute (1 request each, paced; 100 in 124 s locally) | "1,000 listings per minute including details" (their own claim, not tested by us) |
| m², rooms, EUR/m² on every row | yes | yes |
| Warm rent, Nebenkosten, deposit, energy class | yes (details on) | yes |
| Site-side filters: m², rooms, features, sub-type, year built | yes | place, price, rooms, area |

Honest summary: this actor costs 50% less per listing than the most-used rival, has no start fee and is very fast in list mode; if you need full details for tens of thousands of listings per run, the rival claims higher detail throughput. Other options on the Store: clearpath/immobilien-export-pro (165 users, $19.99 per 1,000), memo23's all-category Kleinanzeigen scraper (483 users, $1.50 per 1,000 + $0.005 per run, no property fields), vuzol/de-real-estate-rent ($2.00 per 1,000), apizilla/germany-property-tracker ($2.50 per 1,000 + $0.00125 per run). Two small Kleinanzeigen property actors cost less for list rows only: loudtzu/kleinanzeigen-property-scraper (2 users, $0.18 per 1,000 + $0.40 per 1,000 details + $0.0005 per run, so $0.58 with details) and stone_jadex/kleinanzeigen-immobilien-scraper (2 users, $0.75 + $0.75 per 1,000 details).

### FAQ

**Does it need a Kleinanzeigen account or a browser?**
No. It reads public result and listing pages over HTTPS, the same pages any visitor sees.

**Is the price the cold or the warm rent?**
`price` is what the listing shows as its price: the cold rent (Kaltmiete) for rentals, the purchase price for sales. With `includeDetails` on you also get `warmRent`, `additionalCosts` (Nebenkosten), `heatingCosts` and `deposit` when the landlord filled them in (about 15% of Berlin rentals in our test; many list only the cold rent).

**Why do some rows have no warm rent, year built or energy class?**
Those are optional fields on Kleinanzeigen. In a 100-listing Berlin test with details: m², rooms, price and postcode 100%, features 92%, floor 85%, available-from 73%, year built 26%, energy class 18%.

**How many listings can I get?**
Kleinanzeigen shows at most 1,250 listings per search. Deep search (on by default) splits a bigger search by German state and price band. Berlin alone had about 7,500 rental apartments on 24 Nov 2026.

**Can I paste my own search URL?**
Yes. Copy a result URL from kleinanzeigen.de with your filters set (they are kept, including attribute filters like `+wohnung_mieten.qm_d:50,80`), or a single listing URL for a full-detail lookup. URLs from other categories or sites are skipped with a warning and cost nothing.

**What happens with a wrong input?**
Unknown property types, features, sub-types and places are left out with a warning in the log and in `RUN_SUMMARY`; a min above a max is swapped; a filter a property type has no field for (e.g. rooms on land) is skipped for that type. The run never fails on input, and nothing is charged when nothing is saved.

**Does it collect personal data?**
No names, phone numbers or e-mails of private landlords; phone numbers and e-mail addresses in descriptions are masked. Agencies come with their public business name and shop page only.

**Can I run it on a schedule?**
Yes: create an Apify schedule (e.g. every 30 minutes), keep `sort: "newest"` and a small `maxItems` (25-50), and deduplicate on `id`.

### How to use

1. Add one or more places (e.g. `Berlin`, `Hamburg-Altona`, `80331`) and, if you like, a radius.
2. Pick property types (default apartment_rent) and filters: price, m², rooms, features, sub-types.
3. Set `maxItems` per search and switch on `includeDetails` if you need warm rent, costs and energy data.
4. Run, then download the dataset as JSON, CSV, Excel or via API.

### Input

Example: 2-3 room apartments for rent with a balcony, 50-90 m², under 1,500 €, in Köln and Düsseldorf, with details:

```json
{
    "locations": ["Köln", "Düsseldorf"],
    "propertyTypes": ["apartment_rent"],
    "priceMax": 1500,
    "livingSpaceMin": 50,
    "livingSpaceMax": 90,
    "roomsMin": 2,
    "roomsMax": 3,
    "features": ["balcony"],
    "maxItems": 100,
    "includeDetails": true
}
```

All fields are optional. An empty input runs the demo: apartments for rent in Berlin and München, 25 each.

### Output

One row per listing. Main fields: `id`, `url`, `title`, `propertyType`, `dealType`, `price`, `priceText`, `rooms`, `livingSpaceSqm`, `plotAreaSqm`, `pricePerSqm`, `floor`, `postalCode`, `city`, `state`, `postedAt`, `sellerType`, `shopName`, `imageUrls`, `onlineViewing`, `isNewConstruction`. With details: `warmRent`, `warmRentPerSqm`, `additionalCosts`, `heatingCosts`, `deposit`, `bedrooms`, `bathrooms`, `yearBuilt`, `availableFrom`, `apartmentType`, `houseType`, `subType`, `commission`, `featureFlags`, `energyCertificate`, `energyClass`, `energyConsumptionKwh`, `heatingType`, `energySource`, `description`, `attributes`, `latitude`, `longitude`. A `RUN_SUMMARY` record lists per-search counts, the site's total, warnings and failures.

### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/rel8ble~kleinanzeigen-immobilien-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"locations": ["München"], "propertyTypes": ["apartment_rent"], "roomsMin": 2, "maxItems": 50}'
```

### Integrations

Make, Zapier and n8n (new-listing alerts), Google Sheets (rent tracking), webhooks, the Apify API and clients, Apify schedules, and the Apify MCP server (https://mcp.apify.com) for AI agents.

### Limits

- At most 1,250 listings per search on Kleinanzeigen; deep search splits bigger ones by state and price band. Listings without a price cannot be reached by price bands.
- Warm rent, costs, year built and energy data exist only when the advertiser filled them in.
- Pinned "TOP" listings may appear slightly out of sort order; `isTopAd` marks them. Rows whose own m², rooms or price contradict your filters are dropped and not charged.
- Not included: contact names, phone numbers, e-mails, messages, or anything behind a Kleinanzeigen login.

### Related actors

- [Kleinanzeigen Scraper](https://apify.com/rel8ble/kleinanzeigen-scraper): every Kleinanzeigen category, ads and prices
- [Ohne-Makler Scraper](https://apify.com/rel8ble/ohne-makler-scraper): German for-sale-by-owner property, no agents
- [Austria Real Estate Scraper](https://apify.com/rel8ble/wohnnet-scraper): wohnnet.at rent and buy listings
- [Spotahome Scraper](https://apify.com/rel8ble/spotahome-scraper): monthly rentals in Berlin and other EU cities

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

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

Optional. German places, one per line: a city ("Berlin", "Köln"), a district ("Hamburg-Altona") or a 5-digit postcode ("80331"). Resolved with the site's own place lookup; an unknown place is left out and listed in the run summary. A Kleinanzeigen location id like "l3331" also works. Several = one search per place and property type. Empty = all of Germany.

## `propertyTypes` (type: `array`):

Optional. One per line: apartment_rent (Mietwohnungen), apartment_buy (Eigentumswohnungen), house_rent, house_buy, shared_temporary (Auf Zeit & WG), land (Grundstücke & Gärten), commercial (Gewerbeimmobilien), parking (Garagen & Stellplätze), holiday (Ferien- & Auslandsimmobilien), new_build (Neubauprojekte), other. German names ("Mietwohnung") and category ids ("203") also work. Several = one search per type and place. Empty = apartment_rent.

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

Optional, only used with places. Search radius in km around each place: 5, 10, 20, 30, 50, 100, 150, 200 (other numbers are rounded to the nearest of these). Empty or 0 = only the place itself. Rows then carry distanceKm.

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

Optional. Words that must appear in the listing, one per line: "altbau", "dachterrasse", "provisionsfrei", "wg zimmer". Each keyword is one more search per type and place. Leave empty to list everything.

## `priceMin` (type: `integer`):

Optional. Lowest price in whole euros: cold rent for rentals ("Kaltmiete"), purchase price for sales. Empty = no minimum. Listings without a price are left out by any price filter, as on the website.

## `priceMax` (type: `integer`):

Optional. Highest price in whole euros (cold rent for rentals, purchase price for sales), e.g. 1500. Empty = no maximum. A max below the min is swapped.

## `livingSpaceMin` (type: `integer`):

Optional. Smallest living / usable area in m², e.g. 50. Applied by the site (apartments, houses, WG, commercial, new builds; plot size for land). Empty = no minimum.

## `livingSpaceMax` (type: `integer`):

Optional. Largest living / usable area in m², e.g. 90. Empty = no maximum.

## `roomsMin` (type: `number`):

Optional. Fewest rooms ("Zimmer"), half rooms allowed: 2, 2.5. Apartments, houses, WG and new builds only. Empty = no minimum.

## `roomsMax` (type: `number`):

Optional. Most rooms, e.g. 3. Empty = no maximum.

## `features` (type: `array`):

Optional. Every listing must have all of these, one per line: balcony, terrace, garden, built_in_kitchen, lift, cellar, furnished, pets_allowed, barrier_free, garage, guest_wc, bathtub, floor_heating, new_building, old_building, wbs_required, wg_possible, loft, granny_flat, rented_out, historical, parking, air_conditioning, washing_machine, dishwasher, wifi. German words work too ("Balkon", "Einbauküche"). A feature a property type has no filter for is skipped for that type and listed as a warning.

## `subTypes` (type: `array`):

Optional. Narrow each type, one per line; several = one search each. Apartments: penthouse, maisonette, loft, attic (Dachgeschoss), ground_floor, etagenwohnung, souterrain, terrassenwohnung, hochparterre. Houses: einfamilienhaus (detached), doppelhaushaelfte (semi-detached), reihenhaus (terraced), mehrfamilienhaus, bungalow, villa, bauernhaus. Land: building_plot, garden, farmland. Commercial: office, retail, restaurant, warehouse, unit. Parking: garage, outdoor. Shared: entire, private_room, shared_room. Values that do not fit a type are ignored for it.

## `yearBuiltMin` (type: `integer`):

Optional. Earliest construction year, e.g. 1990. The site filters apartments for sale, houses for sale and new builds by it. Empty = any.

## `yearBuiltMax` (type: `integer`):

Optional. Latest construction year, e.g. 1950 for Altbau. Empty = any.

## `plotAreaMin` (type: `integer`):

Optional. Houses for sale only: smallest plot ("Grundstücksfläche") in m². For land use the living-space fields (they filter plot size there).

## `plotAreaMax` (type: `integer`):

Optional. Houses for sale only: largest plot in m².

## `dealType` (type: `string`):

Optional. Only for land, commercial, parking and holiday property, where one category holds both: "rent", "buy" or "any" (default). Apartment and house types already say rent or buy.

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

Optional. "any" (default), "private" (private landlords and owners, no agent) or "commercial" (agents, developers and housing companies, with their shop name and link).

## `sort` (type: `string`):

Optional. "newest" (default, the site's own order; use it on a schedule to catch new listings first), "price_asc" or "price_desc".

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

Optional. URLs copied from kleinanzeigen.de, one per line. A real-estate result URL ("https://www.kleinanzeigen.de/s-wohnung-mieten/berlin/c203l3331", including ones with site filters like "+wohnung_mieten.qm_d:50,80") is scraped with every filter in it; the filter fields above are not applied to it. An ad URL ("https://www.kleinanzeigen.de/s-anzeige/.../3539888147-208-9437") is looked up directly with full details. Non-property categories and other sites are skipped with a warning.

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

Optional. Maximum listings saved per search (one property type x sub-type x keyword x place, or one URL), integer >= 0. Default 100; 0 = every listing the search has. You pay per listing saved ($0.0003 each), so 1,000 listings = $0.30. Use 10-25 for a quick answer.

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

Optional boolean. false (default) = data from the result pages: price, m², rooms, price per m², place, postcode, date, seller type, agency name, photos, URL; 25 listings per request. true = also open each listing for warm rent, service charges (Nebenkosten), heating costs, deposit (Kaution), floor, bedrooms, bathrooms, available-from month, apartment / house type, year built, commission, the full feature list (balcony, lift, kitchen ...), energy certificate, energy class, energy use and heating type, the full description (contact details masked), approximate map position and all photos. Same price per listing, about 1 extra request per listing.

## `deepSearch` (type: `boolean`):

Optional boolean, default true. Kleinanzeigen shows at most 1,250 listings per search (50 pages of 25). With deep search on, a bigger search is split automatically by German state, then price band, and the results are merged without duplicates. Only kicks in when maxItems is above 1,250 (or 0).

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

Optional, advanced. Parallel requests, integer 1-20. Default 5; requests are also paced to stay polite. Leave unset.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. Retries per failed or blocked request, integer 0-20; each retry uses a new session and proxy IP. Default 8. Leave unset.

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

Optional, advanced. Default {"useApifyProxy": false}: requests go direct, the fastest route (a 50-listing run took 4 s direct vs 65 s through the datacenter group on 24 Nov 2026). Any request Kleinanzeigen refuses is retried automatically through the Apify datacenter proxy. Set a proxy here only to force one for every request. Leave unset.

## `residentialFallback` (type: `boolean`):

Optional, advanced boolean, default true. When a request still fails after the datacenter retry, it is retried through a German residential IP (capped at 50 result pages and 10 listing pages per run). Leave unset.

## Actor input object example

```json
{
  "locations": [
    "Berlin",
    "München"
  ],
  "propertyTypes": [
    "apartment_rent"
  ],
  "dealType": "any",
  "sellerType": "any",
  "sort": "newest",
  "maxItems": 25,
  "includeDetails": false,
  "deepSearch": true,
  "maxConcurrency": 5,
  "maxRequestRetries": 8,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "residentialFallback": true
}
```

# Actor output Schema

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

All property listings found: type, price or cold rent, m², rooms, price per m², postcode, place, date, seller type, agency, photos and URL (plus warm rent, Nebenkosten, deposit, floor, year built, features and energy data when includeDetails is on).

## `summary` (type: `string`):

Per-search counts, the total the site shows for each search, stop reasons, warnings (unknown places, filters a type does not support) and anything that failed.

# 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 = {
    "locations": [
        "Berlin",
        "München"
    ],
    "propertyTypes": [
        "apartment_rent"
    ],
    "maxItems": 25,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/kleinanzeigen-immobilien-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 = {
    "locations": [
        "Berlin",
        "München",
    ],
    "propertyTypes": ["apartment_rent"],
    "maxItems": 25,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/kleinanzeigen-immobilien-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 '{
  "locations": [
    "Berlin",
    "München"
  ],
  "propertyTypes": [
    "apartment_rent"
  ],
  "maxItems": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rel8ble/kleinanzeigen-immobilien-scraper --silent --output-dataset

```

## MCP server setup

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