# 🛒 Willhaben Scraper — Austria Classifieds & Property (`hipersoft/willhaben-scraper`) Actor

Scrape public classified listings from Willhaben, Austria's #1 marketplace — property, cars and general goods. Paste any search or category URL, or pick a category and keyword, and export one clean row per listing: title, price, location, size, photos and link as JSON, CSV or Excel.

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

## Pricing

from $0.0015 / item scraped

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

## 🛒 Willhaben Scraper — Austria Classifieds & Property

Scrape public classified listings from **Willhaben**, Austria's #1 online marketplace, and export clean, structured data. Works across every Willhaben vertical — **property** (houses and apartments, for sale or for rent), **cars** and the general **marketplace** — so you can pull real-estate ads, used-car listings or second-hand goods with the same actor. Pick a category and an optional keyword, or paste a ready-made Willhaben search or category URL, and get one tidy row per listing: title, price, location, size, rooms, photos and the listing link. Download everything as **JSON, CSV or Excel**, or pull it straight from the API.

Great for real-estate and price market research, car-market analysis, competitor and inventory tracking, building a listings feed, or lead generation across Austria.

### What it does

- 🏠 **Property, cars and marketplace** — houses and apartments (buy or rent), used cars, or general classified goods.
- 🔗 **Paste Start URLs** — drop in any Willhaben search or category URL straight from your browser, from any vertical.
- 🗂️ **Category + keyword** — no URL needed: choose a category and add an optional free-text search term.
- 🏷️ **Clean price fields** — numeric price plus a display label, with a flag for price-on-request listings.
- 📍 **Location details** — location text, postal code, state and district, plus map coordinates when available.
- 📐 **Per-category attributes** — living area and rooms for property; mileage, make, model and fuel for cars; and more, folded into a compact `attributes` object per listing.
- 🖼️ **Photos** — every listing image URL.
- 📊 **Clean, flat output** — one record per listing, ready for spreadsheets, databases and dashboards.

### Input

| Field | Description |
| --- | --- |
| **Start URLs** | Optional list of Willhaben search or category URLs (any vertical). When set, these are used instead of Category and Keyword. |
| **Category** | `haus-kaufen`, `haus-mieten`, `wohnung-kaufen`, `wohnung-mieten`, `gebrauchtwagen` or `marketplace`. Used when no Start URLs are given. |
| **Keyword** | Optional free-text search term applied to the chosen category. |
| **Max items** | Maximum number of listings to collect (0 = no limit). |

#### Example input

```json
{
  "category": "haus-kaufen",
  "keyword": "wien",
  "maxItems": 100
}
```

Or paste a URL from any vertical:

```json
{
  "startUrls": [
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse" }
  ],
  "maxItems": 100
}
```

### Output

Each listing is one record. Example (fields vary by category):

```json
{
  "id": "818368166",
  "verticalId": 2,
  "verticalName": "realestate",
  "title": "Haus im Grünen Floridsdorf in schöner Lage",
  "price": 449000,
  "currency": "EUR",
  "priceOnRequest": false,
  "priceLabel": "€ 449.000",
  "location": "Wien, 21. Bezirk, Floridsdorf",
  "postalCode": "1210",
  "state": "Wien",
  "district": "Wien",
  "country": "Österreich",
  "size": 77,
  "rooms": 3,
  "latitude": 48.281101,
  "longitude": 16.411301,
  "attributes": {
    "PROPERTY_TYPE": "Einfamilienhaus",
    "PRICE/SQUARE_METER": "5831.169"
  },
  "images": [
    "https://cache.willhaben.at/mmo/6/818/368/166_1521874343_hoved.jpg"
  ],
  "publishedDate": "2026-09-06T11:08:00Z",
  "detailUrl": "https://www.willhaben.at/iad/immobilien/d/haus-kaufen/wien/wien-1210-floridsdorf/-haus-im-gruenen-floridsdorf-in-schoener-lage-818368166/",
  "url": "https://www.willhaben.at/iad/immobilien/haus-kaufen/haus-angebote?page=1"
}
```

#### Output fields

| Field | Description |
| --- | --- |
| `id` | Willhaben listing id. |
| `verticalId` / `verticalName` | Vertical the listing belongs to (`realestate`, `motor`, `marketplace`). |
| `title` | Listing headline. |
| `price` | Numeric price (`null` when the seller lists price-on-request). |
| `currency` | Always `EUR`. |
| `priceOnRequest` | `true` when no fixed price is shown. |
| `priceLabel` | Formatted price as shown on the listing. |
| `location`, `postalCode`, `state`, `district`, `country` | Location details. |
| `size` | Living area in m² (property). |
| `rooms` | Number of rooms (property). |
| `latitude`, `longitude` | Map coordinates when available. |
| `attributes` | Category-specific extras (e.g. mileage, make, model and fuel for cars; property type for real estate). |
| `images` | Listing image URLs. |
| `publishedDate`, `lastChangedDate` | Timestamps when available. |
| `detailUrl` | Absolute link to the listing. |
| `url` | The search/category page the listing came from. |

### Tips

- To scrape a very specific search, set up the filters you want on Willhaben, copy the URL from your browser, and paste it into **Start URLs**.
- Combine **Category** with a **Keyword** for a quick search without building a URL.
- Set **Max items** to cap how much you collect, or `0` to gather everything a search returns.

### FAQ

**Which listings can it collect?** Any public listing from Willhaben's property, car and marketplace verticals.

**Can I export to Excel or CSV?** Yes — download the dataset as JSON, CSV, Excel or HTML, or pull it via the API.

**Does it collect private seller data?** No — only the public information shown on the listing.

# Actor input Schema

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

One or more Willhaben search or category URLs — from any vertical (immobilien / property, gebrauchtwagen / cars, marketplace). Paste the URL straight from your browser. When set, these are used instead of the Category and Keyword fields below.

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

Which Willhaben category to collect when no Start URLs are given.

## `keyword` (type: `string`):

Optional free-text search term (e.g. a location, brand or product). Applied to the chosen Category. Ignored when Start URLs are set.

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

Maximum number of listings to collect across all searches (0 = no limit; collect everything the searches return).

## Actor input object example

```json
{
  "startUrls": [],
  "category": "haus-kaufen",
  "maxItems": 100
}
```

# Actor output Schema

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

The results as dataset items.

# 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": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/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": [] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/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": []
}' |
apify call hipersoft/willhaben-scraper --silent --output-dataset

```

## MCP server setup

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