# Willhaben Scraper - Austrian Classifieds & Marketplace (`studio-amba/willhaben-scraper`) Actor

Scrape classified listings from Willhaben.at, Austria's largest marketplace. Search by keyword, category, and price range. Extract titles, prices, descriptions, images, location, and seller info. Covers classifieds, real estate, cars, and jobs. No login or cookies required.

- **URL**: https://apify.com/studio-amba/willhaben-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Real estate
- **Stats:** 6 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Willhaben Scraper

Scrape real estate listings from willhaben.at — Austria's largest classifieds portal with over 9 million monthly visitors. No login or cookies required.

### How to scrape Willhaben data

1. Go to the [Willhaben Scraper](https://apify.com/studio-amba/willhaben-scraper) page on Apify Store.
2. Click "Try for free" to open the actor in Apify Console.
3. Set your search filters — keyword, listing type (rent or sale), and maximum results.
4. Alternatively, paste one or more Willhaben search URLs directly into the Start URLs field for full control over filters.
5. Click "Start" and wait for the run to complete.
6. Download your data as JSON, CSV, or Excel from the Dataset tab.

You can also call this actor via the [Apify API](https://docs.apify.com/api/v2) to integrate Willhaben data into your own applications and workflows.

### Why use this actor?

Real estate investors, relocation agencies, and proptech companies need reliable Austrian property data. This actor extracts structured listing data from Willhaben including prices, addresses, property specs, room counts, images, and agent info — ready for market analysis, price comparison, or portfolio monitoring.

Willhaben is a Next.js SSR application. This actor extracts data directly from the embedded `__NEXT_DATA__` JSON, which means fast and reliable scraping without a browser — just pure HTTP requests with CheerioCrawler.

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `startUrls` | Array | No | Willhaben search result URLs. Overrides other filters. |
| `searchQuery` | String | No | Free text search in German (e.g., `Wien`, `Graz Wohnung`). Default: `Wien` |
| `listingType` | String | No | `rent` (default) or `sale` |
| `maxResults` | Integer | No | Maximum results to return (default: 100) |
| `proxyConfiguration` | Object | No | Proxy settings (Austrian residential proxy recommended) |

#### Using Start URLs

For the most control, go to [willhaben.at/iad/immobilien](https://www.willhaben.at/iad/immobilien/), apply your desired filters (location, price range, property type, rooms, etc.), and paste the resulting URL into the Start URLs field. This lets you use all of Willhaben's native filters.

### Output

Each result contains:

| Field | Type | Example |
|-------|------|---------|
| `title` | String | `"3-Zimmer-Wohnung in 1020 Wien"` |
| `price` | Number | `1250` |
| `currency` | String | `"EUR"` |
| `url` | String | Full listing URL on Willhaben |
| `listingType` | String | `"rent"` or `"sale"` |
| `propertyType` | String | `"apartment"` or `"house"` |
| `city` | String | `"Wien, 02. Bezirk, Leopoldstadt"` |
| `postalCode` | String | `"1020"` |
| `state` | String | `"Wien"` |
| `rooms` | Number | `3` |
| `surface` | Number | `75` |
| `imageUrl` | String | Primary listing photo URL |
| `imageUrls` | Array | All listing photo URLs |
| `description` | String | Listing description text |
| `latitude` | Number | `48.2167` |
| `longitude` | Number | `16.3999` |
| `agencyName` | String | `"Raiffeisen Immobilien"` |
| `datePublished` | String | `"2026-05-29"` |
| `listingId` | String | Willhaben ad ID |
| `scrapedAt` | String | `"2026-05-29T12:00:00.000Z"` |

### Example output

```json
{
    "title": "Schone 3-Zimmer-Wohnung mit Balkon in Leopoldstadt",
    "price": 1250,
    "currency": "EUR",
    "url": "https://www.willhaben.at/iad/immobilien/d/mietwohnungen/wien/wien-1020-leopoldstadt/schoene-3-zimmer-wohnung-12345678/",
    "listingType": "rent",
    "propertyType": "apartment",
    "city": "Wien, 02. Bezirk, Leopoldstadt",
    "postalCode": "1020",
    "state": "Wien",
    "rooms": 3,
    "surface": 75,
    "imageUrl": "https://cache.willhaben.at/mmo/1/123/456_1.jpg",
    "imageUrls": [
        "https://cache.willhaben.at/mmo/1/123/456_1.jpg",
        "https://cache.willhaben.at/mmo/1/123/456_2.jpg"
    ],
    "description": "Helle, ruhige 3-Zimmer-Wohnung im 2. Bezirk...",
    "latitude": 48.2167,
    "longitude": 16.3999,
    "agencyName": "Raiffeisen Immobilien",
    "datePublished": "2026-05-28",
    "listingId": "12345678",
    "scrapedAt": "2026-05-29T12:00:00.000Z"
}
```

### Cost estimate

This actor uses CheerioCrawler (HTTP-only, no browser), making it very efficient. Expect approximately **0.5-1 compute units per 100 results**. At standard Apify pricing, that's roughly **$0.025-0.05 per 100 listings**.

### Tips for best results

- **Use native German keywords** — Willhaben is an Austrian site. Search for "Wohnung Wien" instead of "apartment Vienna".
- **Start URLs give full filter control** — Apply price range, room count, district, and other filters on willhaben.at, then paste the URL.
- **Residential proxies improve reliability** — The default proxy configuration uses Austrian residential proxies for the best success rate.
- **Empty input works** — Running with no input at all defaults to searching rental apartments in Vienna.

### Limitations

- Data is scraped from the public website and may change without notice if Willhaben updates their page structure.
- GPS coordinates are only available when the listing includes location data.
- Full listing descriptions may be truncated in search results — the full text is available on individual listing pages.
- Willhaben may rate-limit aggressive scraping; the actor handles retries automatically.

### Use cases

- **Market analysis** — track asking prices, price-per-m2, and availability across Austrian cities and Bundeslaender.
- **Relocation research** — compare rental prices across Vienna districts or between Graz, Linz, and Salzburg.
- **Real-estate CRM enrichment** — import listings with agent info, photos, and room counts into your pipeline.
- **Investor dashboards** — build rental-yield and ROI models on fresh Willhaben inventory.
- **Competitor monitoring** — watch how nearby listings are priced and positioned.

### Related scrapers

Willhaben also runs a large jobs vertical, which uses a different underlying JSON shape than real estate — see the companion [Willhaben Jobs Scraper](https://apify.com/studio-amba/willhaben-jobs-scraper) for job titles, companies, salaries, and full descriptions.

### Support

Hit a bug or a missing field? Open an issue on the Actor page — we respond fast and ship fixes within 24 hours. Every published scraper in the Studio Amba catalog is monitored daily; broken runs trigger an automatic heal cycle.

# Actor input Schema

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

One or more Willhaben search result URLs. Go to willhaben.at, set your filters, and paste the URL(s) here. Overrides other search filters when provided.

## `searchQuery` (type: `string`):

Free-text search query in German (e.g., 'Wien', 'Wohnung Graz', 'Haus Salzburg'). Used only when no startUrls are provided.

## `listingType` (type: `string`):

Rent or buy. Used only when no startUrls are provided.

## `maxResults` (type: `integer`):

Maximum number of listings to return.

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

Proxy settings. Residential proxies recommended for reliability.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.willhaben.at/iad/immobilien/mietwohnungen/mietwohnung-angebote?keyword=Wien"
    }
  ],
  "searchQuery": "Wien",
  "listingType": "rent",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AT"
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.willhaben.at/iad/immobilien/mietwohnungen/mietwohnung-angebote?keyword=Wien"
        }
    ],
    "searchQuery": "Wien",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "AT"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/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 = {
    "startUrls": [{ "url": "https://www.willhaben.at/iad/immobilien/mietwohnungen/mietwohnung-angebote?keyword=Wien" }],
    "searchQuery": "Wien",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "AT",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/willhaben-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.willhaben.at/iad/immobilien/mietwohnungen/mietwohnung-angebote?keyword=Wien"
    }
  ],
  "searchQuery": "Wien",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AT"
  }
}' |
apify call studio-amba/willhaben-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/willhaben-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/ePVPxoMoeG0aaGIez/builds/SDY1Q4By8C6AVgIBN/openapi.json
