# Willhaben.at 0.33$/1K Fast Car Scraper (160K+ Austria) (`kthesat/my-actor-1`) Actor

Fast Willhaben.at car scraper covering 160,000+ active Austrian vehicle listings. Extract prices, specs, mileage, 30+ HD photos, equipment, and dealer info in seconds without blocks.

- **URL**: https://apify.com/kthesat/my-actor-1.md
- **Developed by:** [KTHESAT STUDIO](https://apify.com/kthesat) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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.at Austria Car Scraper (160K+ Cars) 🇦🇹

Ultra-fast, production-grade scraper for **Willhaben.at**, Austria's #1 marketplace covering **over 90% of all Austrian vehicle listings (160,000+ active cars)**.

Extract prices, specifications, mileage, equipment, seller details, and full HD image galleries in seconds.

***

### ⚡ Features

- **160,000+ Active Austrian Cars**: Access the complete Austrian used & new vehicle market.
- **Fast & Direct**: Built on Willhaben's native API — extracts up to 100 cars per batch in sub-second response times.
- **Zero Blocks**: Runs smoothly without Cloudflare or Datadome bot blocks.
- **Full Vehicle Specs**: Registration year, mileage, engine power (HP & kW), transmission, fuel, body type, and equipment array.
- **HD Image Galleries**: Direct CDN links to high-resolution vehicle photos.
- **Seller Details**: Dealership names, verified addresses, postal codes, and private seller tags.
- **Flexible Filters**: Scrape by keyword, make, model, price range, year range, or direct Willhaben search & listing URLs.

***

### 🏎️ How to Use

#### 1. Simple Keyword Search

Set the `keyword` input to any brand or model (e.g. `BMW`, `Audi A4`, `Golf`, `Porsche`, `Mercedes-Benz`).

#### 2. Custom Filter Queries

Filter cars by:

- **`keyword`**: Brand, model, or search term (e.g. `Audi Q5`, `BMW 320`)
- **`minPrice` / `maxPrice`**: Numerical EUR prices (e.g. `10000` to `35000`)
- **`minYear` / `maxYear`**: Registration year (e.g. `2019` to `2024`)
- **`maxMileage`**: Maximum odometer reading in km (e.g. `80000`)
- **`maxItems`**: Maximum cars to return (e.g. `50`, `500`, `5000`)

#### 3. Willhaben Search or Listing URLs

Paste any Willhaben.at URL into `startUrls`:

- **Search URL**: `https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?keyword=BMW&PRICE_FROM=20000`
- **Car Detail URL**: `https://www.willhaben.at/iad/gebrauchtwagen/d/auto/audi-a4-avant-1783982923/`

***

### 📊 Sample Output (JSON)

```json
{
  "id": "wh_1783982923",
  "car_id": "1783982923",
  "url": "https://www.willhaben.at/iad/gebrauchtwagen/d/auto/audi-a4-40-tdi-quattro-s-line-1783982923/",
  "title": "Audi A4 40 TDI quattro S-line S-tronic",
  "make": "Audi",
  "model": "A4",
  "version": "40 TDI quattro S-line",
  "price": 28990,
  "currency": "EUR",
  "price_formatted": "28.990 €",
  "mileage": 79500,
  "mileage_formatted": "79.500 km",
  "first_registration": "01/2020",
  "first_registration_year": 2020,
  "power_hp": 190,
  "power_kw": 140,
  "fuel": "Diesel",
  "transmission": "Automatik",
  "body_type": "Kombi",
  "color": "Schwarz",
  "main_image": "https://cache.willhaben.at/mmo/3/178/398/2923_1.jpg",
  "images": [
    "https://cache.willhaben.at/mmo/3/178/398/2923_1.jpg",
    "https://cache.willhaben.at/mmo/3/178/398/2923_2.jpg"
  ],
  "images_count": 18,
  "equipment": [
    "Allradantrieb",
    "Navigationssystem",
    "LED-Scheinwerfer",
    "Sitzheizung",
    "Einparkhilfe"
  ],
  "seller": {
    "name": "Autohaus Wien GmbH",
    "type": "Händler",
    "city": "Wien",
    "zip": "1100"
  },
  "country": "AT",
  "status": "active"
}
```

***

### 💰 Pricing

Priced at just **$0.33 per 1,000 results** ($0.00033 per car).

# Actor input Schema

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

List of Willhaben.at URLs to scrape (search results pages or direct vehicle details pages).

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

Vehicle brand, model, or keyword (e.g., BMW, Audi A4, Golf, Mercedes-Benz, Porsche).

## `minPrice` (type: `integer`):

Minimum vehicle price in EUR.

## `maxPrice` (type: `integer`):

Maximum vehicle price in EUR.

## `minYear` (type: `integer`):

Earliest first registration year (e.g., 2018).

## `maxYear` (type: `integer`):

Latest first registration year (e.g., 2024).

## `maxMileage` (type: `integer`):

Maximum odometer reading in KM (e.g., 80000).

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

Maximum number of car listings to extract and return in the dataset.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?keyword=BMW"
    }
  ],
  "keyword": "BMW",
  "maxItems": 50
}
```

# Actor output Schema

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

Dataset containing scraped Willhaben.at Austrian vehicles

# 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/gebrauchtwagen/auto/gebrauchtwagenboerse?keyword=BMW"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kthesat/my-actor-1").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/gebrauchtwagen/auto/gebrauchtwagenboerse?keyword=BMW" }] }

# Run the Actor and wait for it to finish
run = client.actor("kthesat/my-actor-1").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/gebrauchtwagen/auto/gebrauchtwagenboerse?keyword=BMW"
    }
  ]
}' |
apify call kthesat/my-actor-1 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kthesat/my-actor-1"
        }
    }
}
```

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/EE8CWlMJ1WVqrUUR3/builds/WgG3VzzyMgvHSGCIh/openapi.json
