# Willhaben Scraper — Austrian Real Estate & Prices (`studio-amba/willhaben-scraper`) Actor

Scrape real estate listings from willhaben.at — apartments, houses, prices, photos, and details for the Austrian property market. Supports sale and rental listings with full address, room count, and agent info.

- **URL**: https://apify.com/studio-amba/willhaben-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 10 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/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

Catch a new Willhaben listing the moment it posts, filtered by city, price range, or room count, instead of refreshing Austria's largest classifieds portal by hand. This actor extracts real estate listings (apartments and houses, for rent or sale) with full price, address, room count, and agent details. 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 | A city or town name in German (e.g., `Wien`, `Graz`, `Salzburg`). 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 efficient to run. It charges $0.02 per run (start fee, based on its 4 GB memory allocation) plus $0.002 per result scraped. 100 results costs about $0.22; 1,000 results about $2.02. A run's usage cost only settles after it reports SUCCEEDED.

### Tips for best results

- **Use a plain city or town name** — a single place name (e.g. `Graz`) is matched to its exact district. Adding other words (e.g. `Graz Wohnung`) skips that match and falls back to an unscoped keyword search across all of Austria.
- **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.

For commercial property, see [Willhaben Commercial Real Estate Scraper](https://apify.com/studio-amba/willhaben-gewerbe-scraper). For used cars, see [Willhaben Cars Scraper](https://apify.com/studio-amba/willhaben-cars-scraper).

### 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`):

A city or town name in German (e.g., 'Wien', 'Graz', 'Salzburg'). Used only when no startUrls are provided. A plain place name is matched to its exact district; adding other words (e.g. 'Graz Wohnung') skips that match and falls back to an unscoped keyword search across all of Austria.

## `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"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "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(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 '{
  "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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/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/ePVPxoMoeG0aaGIez/builds/XkoAoEQI1PMhv6uHa/openapi.json
