# Willhaben Scraper — Austria's #1 Marketplace Data (`haketa/willhaben-scraper`) Actor

Willhaben.at scraper for Austria's #1 marketplace. Extract listings by keyword or category (marketplace, real estate, cars): price, location, postcode, seller type (private/dealer), seller name, description and photos. Private/dealer lead-gen. Export JSON, CSV, Excel.

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

## Pricing

from $1.55 / 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.
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?

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 🇦🇹

Extract listings from **Willhaben.at — Austria's #1 marketplace** — at scale, without an account or API key. Search any keyword or paste category URLs and get clean JSON, CSV or Excel: **prices, locations, seller type (private vs dealer), seller names, descriptions and photos** — across the marketplace, real estate and cars.

Whether you track prices, hunt resale deals, build a pricing dataset, or generate B2B leads from dealers, this scraper turns Willhaben into a spreadsheet in minutes.

***

### 🔑 What this scraper does

- 🔎 **Search by keyword** — `iphone`, `rolex`, `sofa`, `bmw`, anything on the marketplace.
- 💶 **Prices & location** — amount in EUR, city, postcode, district and state (Bundesland).
- 👤 **Seller intelligence** — **private vs dealer/business**, plus the dealer's business name — ideal for B2B lead generation.
- 🗓️ **Freshness** — published and last-changed dates.
- 🖼️ **Photos** and full listing descriptions.
- 🏠 **Any category** — marketplace by default; paste URLs for real estate, cars and more.
- ⚡ **Fast, cheap & reliable** — no browser needed, no anti-bot friction.

***

### 📋 Example output

```json
{
  "id": "1919286418",
  "url": "https://www.willhaben.at/iad/kaufen-und-verkaufen/d/apple-iphone-17-...-1919286418/",
  "title": "Apple iPhone 17 256GB — neu, offen für alle Netze",
  "price": 789,
  "currency": "EUR",
  "description": "APPLE IPHONE 17 256GB ... volle Herstellergarantie ...",
  "location": "Wien, 12. Bezirk, Meidling",
  "postcode": "1120",
  "district": "Wien",
  "state": "Wien",
  "country": "Österreich",
  "sellerType": "dealer",
  "sellerName": "Kalra Mobile",
  "contactName": "Kalra Mobile",
  "orgId": "1002987",
  "publishedDate": "2026-09-07T11:37:42.569Z",
  "images": ["https://api.willhaben.at/restapi/v2/atimage/1919286418/1"],
  "imageUrl": "https://api.willhaben.at/restapi/v2/atimage/1919286418/1",
  "scrapedAt": "2026-09-07T12:00:00.000Z"
}
```

***

### 🗂️ Fields you get

| Field | Description |
|---|---|
| `id`, `url` | Listing ID and canonical URL |
| `title`, `description` | Ad title and full text |
| `price`, `currency` | Price in EUR |
| `location`, `postcode`, `district`, `state`, `country` | Where the item is |
| `sellerType` | `private` or `dealer` — key for B2B lead gen |
| `sellerName`, `contactName`, `orgId` | Dealer / business name and ID |
| `publishedDate`, `changedDate` | Listing timeline |
| `images`, `imageUrl` | All photos and the cover photo |
| `adTypeId`, `verticalId`, `productId` | Willhaben classification |

***

### 🚀 How to use

1. Click **Try for free**.
2. Enter one or more **Search Terms** (e.g. `iphone`, `sofa`) — or paste full Willhaben search URLs into **Start URLs** for real estate, cars, etc.
3. (Optional) Filter by **Seller Type** (private / dealer) and **price range**.
4. (Optional) Turn on **Scrape Detail Pages** for the full description and phone where available.
5. Set **Max Items** and run. Export as JSON, CSV, Excel, or pull via API.

#### Example input

```json
{
  "searchTerms": ["iphone 15", "macbook"],
  "sellerType": "dealer",
  "priceMin": 100,
  "priceMax": 1500,
  "maxItems": 500,
  "maxPagesPerSearch": 20
}
```

Scrape a whole category via URL (e.g. real estate or cars):

```json
{
  "startUrls": ["https://www.willhaben.at/iad/immobilien/mietwohnungen/wien"],
  "maxItems": 1000
}
```

***

### 💡 Popular use cases

#### 💰 Reselling & arbitrage

Track what phones, watches, furniture, bikes or cars actually sell for in Austria. Compare dealer vs private prices to spot underpriced items.

#### 🎯 B2B lead generation

Filter by **dealers** to build a list of businesses advertising on Willhaben — with business name and location. Perfect for wholesalers, service providers and marketplace-tool vendors targeting Austrian sellers.

#### 📈 Price monitoring & market research

Build a historical price dataset for any category. Measure supply per region, benchmark your own listings and track trends over time.

#### 🏠 Real estate & cars

Paste category URLs to pull apartments, houses or used cars with price, location and seller — great for property and automotive analytics.

***

### 🎛️ Filters explained

- **Search Terms** — keywords on the Willhaben marketplace (Marktplatz). Each is searched separately.
- **Start URLs** — paste any Willhaben search URL to scrape that category directly (real estate, cars, jobs).
- **Seller Type** — private sellers or dealers/businesses (dealer is the go-to for lead generation).
- **Min / Max Price (€)** — keep only listings inside your budget.
- **Scrape Detail Pages** — opens each ad for the full description and phone where available. Slower but richer.
- **Max Items / Max Pages per Search** — control run size. Each result page holds about 30 listings.

***

### ❓ FAQ

**Do I need a Willhaben account or API key?**
No. Just enter what you want to scrape and run.

**Can I tell private sellers from dealers?**
Yes — every listing has a `sellerType` (`private` / `dealer`), and dealers include their business name.

**Can I scrape real estate or cars, not just the marketplace?**
Yes — paste the category URL from your browser into **Start URLs**.

**How many listings can I get?**
As many as you like. Set **Max Items** to `0` for unlimited, or cap it to control run size.

**What formats can I export?**
JSON, CSV, Excel, HTML table, RSS and via the Apify API. Connect to Make, Zapier, Google Sheets, webhooks or an MCP server.

***

### 🔌 Integrations

- Export to **JSON, CSV, Excel, HTML, RSS**.
- Pull data via the **Apify API** or client libraries.
- Connect to **Make, Zapier, Google Sheets, Slack, webhooks** and more.
- Use it from an **MCP server** in your AI agent / LLM workflow.

***

### ⚖️ Legal & responsible use

This scraper collects **publicly available** listing information only — the same data any visitor can see on Willhaben.at without logging in. It does not access private messages or anything behind a login.

You are responsible for how you use the collected data. Please:

- Respect Willhaben's Terms of Service and applicable laws (including GDPR).
- Use any personal data (e.g. seller names) lawfully and only for legitimate purposes.
- Scrape responsibly and avoid excessive request rates.

This tool is provided for lawful purposes such as price research, market analysis and business intelligence. It is not affiliated with, endorsed by, or connected to Willhaben.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords to search on the Willhaben marketplace (Marktplatz), e.g. 'iphone', 'rolex', 'sofa'. Each is searched separately. Leave empty if you use Start URLs.

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

Optional. Paste full Willhaben search URLs to scrape any category directly (real estate, cars, jobs), e.g. 'https://www.willhaben.at/iad/immobilien/...'. When provided, Search Terms and filters below are ignored for these URLs.

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

Filter by private sellers or dealers/businesses (great for B2B lead generation).

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

Only listings at or above this price.

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

Only listings at or below this price.

## `scrapeDetails` (type: `boolean`):

Open each ad for the full description and seller phone number where available. Slower but richer.

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

Maximum number of listings to collect across all searches. 0 = unlimited.

## `maxPagesPerSearch` (type: `integer`):

How many result pages to scrape per search term / URL. Each page has about 30 listings.

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

Apify Proxy (Datacenter) is enabled by default and works out of the box. Residential is not recommended (unnecessary per-GB cost).

## Actor input object example

```json
{
  "searchTerms": [
    "iphone"
  ],
  "startUrls": [],
  "sellerType": "",
  "scrapeDetails": false,
  "maxItems": 100,
  "maxPagesPerSearch": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Open to view and export all scraped listings (JSON, CSV, Excel).

# 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 = {
    "searchTerms": [
        "iphone"
    ],
    "startUrls": [],
    "scrapeDetails": false,
    "maxItems": 100,
    "maxPagesPerSearch": 5,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/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 = {
    "searchTerms": ["iphone"],
    "startUrls": [],
    "scrapeDetails": False,
    "maxItems": 100,
    "maxPagesPerSearch": 5,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/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 '{
  "searchTerms": [
    "iphone"
  ],
  "startUrls": [],
  "scrapeDetails": false,
  "maxItems": 100,
  "maxPagesPerSearch": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/willhaben-scraper --silent --output-dataset

```

## MCP server setup

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