# Willhaben.at Fast Scraper (Immobilien, Cars & Marketplace) (`ak_scrapers/willhaben-fast-scraper`) Actor

Ultra-fast, no-browser Willhaben.at scraper extracting up to 100 listings per HTTP request from **NEXT_DATA** JSON. Supports Real Estate, Used Cars, Marketplace, stateful New-Ads monitoring across runs, and full Markdown details.

- **URL**: https://apify.com/ak_scrapers/willhaben-fast-scraper.md
- **Developed by:** [Andrii Kholomieiev](https://apify.com/ak_scrapers) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 listing summaries scraped (fast mode)

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/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.at Fast Scraper (Real Estate, Cars & Marketplace • New-Ads Monitor)

Extract structured listings from **Willhaben.at** (Austria's largest classifieds platform) at **100 listings per HTTP request** using embedded `__NEXT_DATA__` JSON—no slow headless browser, no login required.

### Key Advantages

- **100 Listings Per Request (`fast_summary`):** Pulls price, `€/m²`, living area (`m²`), rooms, postcode, district, photos, private/agency status, car specs (make, model, year, mileage, fuel, transmission), and publication timestamp in a single request per 100 ads.
- **Stateful New-Ads Monitoring (`onlyNewAds`):** Built for scheduled runs (every 15 min / hourly). Stores seen `ad_id`s in an Apify Key-Value Store across runs so you **only receive and pay for brand-new listings**.
- **Two-Stage Pricing:** Use `fast_summary` (`ad-summary-scraped`) for ultra-cheap monitoring or switch to `full_details` (`ad-detail-scraped`) when you need full descriptions (clean plain text + Markdown), GPS coordinates, deposit, heating, and commercial agency metadata.
- **GDPR-Safe by Design:** Does not extract private sellers' personal names, phone numbers, email addresses, or private street addresses.
- **Supports All Verticals + Browser URLs:** Paste any `willhaben.at` search URL (`startUrls`) or use built-in filters for Real Estate (`Immobilien`), Used Cars (`Gebrauchtwagen`), and `Marktplatz`.

### Example Input (Scheduled New-Apartment Monitor in Vienna)

```json
{
  "category": "immobilien_rent",
  "region": "wien",
  "priceTo": 1400,
  "areaFrom": 50,
  "sort": "newest",
  "mode": "fast_summary",
  "maxItems": 100,
  "onlyNewAds": true,
  "stateStoreName": "vienna-apartments-seen"
}
```

### Example Output

```json
{
  "ad_id": "1404091121",
  "title": "Dachgeschosswohnung mit Terrasse und Klimaanlage nahe dem Schottentor",
  "url": "https://www.willhaben.at/iad/immobilien/d/mietwohnungen/wien/wien-1090-alsergrund/...",
  "price": 1790.0,
  "price_per_m2": 20.813953,
  "living_area_m2": 86.0,
  "rooms": 3.0,
  "property_type": "Maisonette",
  "floor": "Dach",
  "location": "Wien, 09. Bezirk, Alsergrund",
  "postcode": "1090",
  "state": "Wien",
  "is_private": false,
  "published_at": "2026-12-05T18:11:35Z"
}
```

### Legal & GDPR Notice

This Actor only extracts publicly visible listing attributes for market analysis and personal/B2B monitoring, and intentionally omits private individuals' contact details (names, phone numbers, email addresses, and private street addresses). Users are solely responsible for complying with applicable data protection laws (such as GDPR) and the target website's terms of service.

# Actor input Schema

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

Paste Willhaben search URLs from your browser (Immobilien, Gebrauchtwagen, Marktplatz, Jobs). Preserves all filters.

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

Select Willhaben vertical.

## `region` (type: `string`):

Austrian state (e.g. wien, niederoesterreich, oberoesterreich, steiermark, tirol, salzburg, kaernten, vorarlberg, burgenland).

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

Optional keyword query (e.g. 'Terrasse', 'BMW', 'iPhone 16').

## `mode` (type: `string`):

'fast_summary' extracts 100 structured listings per request; 'full_details' also visits each ad page for full Markdown description, coordinates, deposit, and heating.

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

Maximum number of unique listings to return.

## `priceFrom` (type: `number`):

Minimum price filter in EUR.

## `priceTo` (type: `number`):

Maximum price filter in EUR.

## `areaFrom` (type: `number`):

Minimum living area in square meters (Real Estate).

## `areaTo` (type: `number`):

Maximum living area in square meters (Real Estate).

## `privateOnly` (type: `boolean`):

Filter out commercial agencies/dealers.

## `sort` (type: `string`):

Sort order for search results.

## `publishedWithinHours` (type: `number`):

Filter listings published within the last N hours (ideal for scheduled alerts).

## `onlyNewAds` (type: `boolean`):

Stores seen ad IDs in Apify Key-Value Store so scheduled runs only output and bill brand-new listings.

## `stateStoreName` (type: `string`):

Named Apify Key-Value Store used when 'onlyNewAds' is enabled.

## `includeMarkdown` (type: `boolean`):

Include clean Markdown formatting alongside plain text in full_details mode.

## `concurrency` (type: `integer`):

Number of parallel detail page requests in full_details mode.

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

Apify Proxy (Residential / Austria) recommended for large or frequent runs.

## Actor input object example

```json
{
  "startUrls": [],
  "category": "immobilien_rent",
  "region": "wien",
  "keyword": "",
  "mode": "fast_summary",
  "maxItems": 100,
  "privateOnly": false,
  "sort": "newest",
  "onlyNewAds": false,
  "stateStoreName": "willhaben-seen-ads",
  "includeMarkdown": true,
  "concurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AT"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

No description

## `metrics` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("ak_scrapers/willhaben-fast-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 = {}

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

```

## MCP server setup

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