# Willhaben Scraper - Austria Classifieds, Property & Cars (`fabrikit/willhaben-scraper`) Actor

Scrape willhaben.at, Austria's #1 classifieds: marketplace, flats, houses, cars, motorbikes. Search by keyword, category, state, price, seller type. Prices, locations, images, full texts. No login. From US$0.60 per 1,000 ads.

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

## Pricing

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

## Willhaben Scraper — Austria Classifieds, Property & Cars

Scrape **willhaben.at**, Austria's biggest classifieds site: marketplace (everything for sale), flats and houses to rent or buy, land, used cars and motorbikes. Search by keyword, section or category, federal state, price range and seller type, or paste any willhaben search URL. No login, no API key, no browser: plain fast HTTP.

### What you get

- Title, description, price (number + display text), location (postcode, city, district, state), coordinates, publication / update / expiry dates, main image and the full image list.
- **Property fields**: property type, rooms, living area (m²), price per m², monthly rent.
- **Vehicle fields**: make, model, variant, year, mileage (km), fuel, transmission, power (kW), body type, condition.
- Every other attribute of the ad (equipment, floor, free areas, warranty...) in `attributes`.
- Seller type (`private` / `business`); businesses keep their trading name and street address.
- **Add-on "ad details"**: opens every ad page for the complete description (plain text), all images and every attribute.
- Deep pagination: thousands of ads in one run, duplicates removed.

### Privacy

Private sellers are people. For ads flagged as private the Actor never outputs seller name or id, street address, and phone numbers / e-mail addresses found in the free text are masked; coordinates are rounded to about 1 km. Businesses (dealers, agencies, shops) keep their trading name.

### Input

| Field | Meaning |
|---|---|
| `searchQueries` | Keywords, one search each (e.g. `fahrrad`, `golf`). Empty = newest ads of the section. |
| `section` | `marketplace`, `flats-rent`, `flats-buy`, `houses-rent`, `houses-buy`, `land`, `cars`, `motorbikes`. |
| `startUrls` | Any willhaben.at search / category URL. Its filters are kept. |
| `categoryPath` | Advanced: path after `/iad/`, e.g. `kaufen-und-verkaufen/marktplatz/fahrraeder-radsport-4390`. |
| `states` | Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien. |
| `priceFrom`, `priceTo` | EUR (monthly rent for rentals). |
| `sellerType` | `all`, `private`, `business`. |
| `sortBy` | `newest`, `relevance`, `price_asc`, `price_desc`, `nearest`. |
| `extraParams` | Advanced: raw website filters, e.g. `NO_OF_ROOMS_BUCKET=3X3`. |
| `includeDetails` | Add-on, see above. |
| `maxItems` | Total limit (default 50). |
| `proxyConfiguration` | Apify Proxy (default). Falls back to Austrian residential IPs automatically if blocked. |

Example: rental flats in Vienna from private landlords

```json
{
  "section": "flats-rent",
  "states": ["Wien"],
  "sellerType": "private",
  "priceTo": 1200,
  "maxItems": 500
}
```

### Output example

```json
{
  "id": "1980254998",
  "url": "https://www.willhaben.at/iad/kaufen-und-verkaufen/d/damenfahrrad-technobike-rahmengroesse-46-1980254998/",
  "title": "Damenfahrrad Technobike - Rahmengröße 46",
  "price": 100,
  "priceText": "€ 100",
  "currency": "EUR",
  "vertical": "marketplace",
  "postcode": "5020",
  "city": "Salzburg",
  "state": "Salzburg",
  "latitude": 47.82,
  "longitude": 13.05,
  "publishedAt": "2026-10-13T19:56:50Z",
  "sellerType": "private",
  "sellerName": null,
  "imageUrl": "https://cache.willhaben.at/mmo/8/198/025/4998_1676404492.jpg",
  "imageCount": 15,
  "attributes": {},
  "detailsFetched": false
}
```

### Pricing

| Event | Price |
|---|---|
| Ad scraped (`listing-result`) | US$0.60 per 1,000 |
| Ad details add-on (`listing-details`) | US$0.40 per 1,000, only with `includeDetails` |

### FAQ

**Is it legal?** The Actor reads public pages that anyone can open without logging in and removes personal data of private sellers. You are responsible for how you use the data (terms of the site, GDPR).

**How many ads can I get?** There is no practical cap per search; the platform returns pages of 200 ads and deep pages work. Use `maxItems` to limit cost.

**Why are some fields empty?** Property fields exist only in the property sections, vehicle fields only in cars / motorbikes; all keys are always present (null when not applicable).

### Use cases

Price monitoring and market research for used goods, rental / property market analysis for Austrian cities, dealer stock tracking, lead lists of businesses selling in a category, alerts on new ads for resellers.

### En español

Scraper de **willhaben.at**, el mayor sitio de anuncios clasificados de Austria (marketplace, inmuebles, autos, motos). Busca por palabra clave, sección, estado federado, precio y tipo de vendedor, o pega una URL de búsqueda de willhaben. Sin login y sin navegador. Los datos de vendedores particulares (nombre, calle, teléfono, e-mail) no se entregan y sus coordenadas se redondean a ~1 km. Precio: US$0.60 por 1.000 anuncios (+ US$0.40 por 1.000 si activas los detalles completos).

# Actor input Schema

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

One search per keyword, e.g. fahrrad, iphone 15, golf. Leave empty to list the newest ads of the chosen section.

## `section` (type: `string`):

Which part of willhaben to search. Ignored when you set a custom category path or paste start URLs.

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

Paste willhaben.at search or category result URLs (with all the filters you set on the website). Each URL is scraped in full, up to the max items.

## `categoryPath` (type: `string`):

Advanced. A path after /iad/ on willhaben.at, e.g. kaufen-und-verkaufen/marktplatz/fahrraeder-radsport-4390 or immobilien/mietwohnungen/wien. Overrides the section.

## `states` (type: `array`):

Only ads from these states: Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien. Empty = all of Austria.

## `priceFrom` (type: `integer`):

Only ads priced at least this much (for rentals: monthly rent).

## `priceTo` (type: `integer`):

Only ads priced at most this much.

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

Private sellers or businesses (dealers, agencies, shops). Details of private sellers are never output.

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

Order of the results. With a limit on the number of ads, newest first returns the freshest listings.

## `extraParams` (type: `string`):

Advanced. Extra query parameters copied from a willhaben.at result URL, e.g. NO_OF_ROOMS_BUCKET=3X3\&ESTATE_SIZE/LIVING_AREA_FROM=60. Pasting a full search URL in Start URLs is easier.

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

Stop after this many ads in total (across all searches).

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

Open every ad to get the complete description, all images and every attribute. Billed as a separate add-on event per ad and slower.

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

Apify Proxy is used by default. If datacenter IPs get blocked, the Actor switches to Austrian residential IPs automatically.

## Actor input object example

```json
{
  "searchQueries": [
    "fahrrad"
  ],
  "section": "marketplace",
  "sellerType": "all",
  "sortBy": "newest",
  "maxItems": 50,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All records 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"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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