# Willhaben At Car Scraper - Full info (`real_spidery/willhaben-at-car-scraper-full`) Actor

Fast and lightweight Willhaben.at scraper allows you to deep dive in the largest Austria online car/real estate market for buyers and sellers. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools. Custom solution is available, just drop us an email

- **URL**: https://apify.com/real_spidery/willhaben-at-car-scraper-full.md
- **Developed by:** [Real Spidery](https://apify.com/real_spidery) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 30 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.85 / 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 Car Scraper

A lightweight scraper for extracting car listings from [willhaben.at](https://www.willhaben.at/).

### Related scrapers:

- [Checkout Simple result Willhaben.at Car Scraper](https://apify.com/real_spidery/willhaben-at-car-scraper)
- [Checkout Full result Willhaben.at Car Scraper](https://apify.com/real_spidery/willhaben-at-car-scraper-full)

### Features

- Extract car listings from custom search URLs
- Control pagination with configurable page limits
- Export data in JSON format with detailed vehicle information
- Support for multiple search URLs in a single run

> **Note**: Willhaben.at limits results to maximum **20 pages** per search. For larger datasets, split your searches into smaller chunks using different filter combinations in your URLs.

***

### Configuration

#### `start_urls` (required)

An array of URL objects containing Willhaben.at search pages to scrape.

- **Type**: Array of objects with `url` property
- **Format**: Each object must contain a `url` field with a valid Willhaben.at search URL
- **Example**:
  ```json
  "start_urls": [
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?rows=30" }
  ]
  ```

**How to get search URLs:**

1. Go to [willhaben.at](https://www.willhaben.at/)
2. Navigate to the car section (Gebrauchtwagen/Auto)
3. Use the search filters (make, model, price range, location, etc.)
4. Copy the URL from your browser's address bar
5. Add it to the `start_urls` array

#### `scrape_page_limit` (optional)

Limits the number of search result pages to scrape from each start URL.

- **Type**: Number
- **Default**: No limit (scrapes all available pages, up to Willhaben.at's maximum of 20)
- **Example**: `"scrape_page_limit": 1` (scrapes only the first page)
- **Use case**: Useful for testing or when you only need recent listings

#### Configuration Examples

##### Minimal configuration (scrape all pages)

```json
{
  "start_urls": [
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?rows=30" }
  ]
}
```

##### With page limit (test mode)

```json
{
  "start_urls": [
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?rows=30" }
  ],
  "scrape_page_limit": 1
}
```

##### Multiple search URLs

```json
{
  "start_urls": [
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?PRICE_FROM=0&PRICE_TO=10000" },
    { "url": "https://www.willhaben.at/iad/gebrauchtwagen/auto/gebrauchtwagenboerse?PRICE_FROM=10000&PRICE_TO=20000" }
  ],
  "scrape_page_limit": 5
}
```

***

### Output

#### Output Data Structure

Each scraped car listing includes detailed information about:

- **Basic Info**: ID, URL, heading/description
- **Vehicle Details**: Make, model, model specification, year, car type (body style)
- **Pricing**: Price amount, formatted price
- **Technical Specs**: Power (kW/PS), fuel type, transmission, mileage, number of seats
- **Features**: Equipment list (resolved to readable names)
- **Condition**: Condition report, number of previous owners, warranty status
- **Location**: Country, state, district, postal code, exact coordinates
- **Seller Info**: Type (private/dealer), organization details
- **Media**: Main image, all photo URLs
- **Additional**: Published date, last updated timestamp, exterior color

#### Output Example

```json
{
  "id": "1654277607",
  "url": "https://www.willhaben.at/iad/gebrauchtwagen/d/auto/bmw-5er-reihe-525d-xdrive-1654277607/",
  "description": "BMW 5er-Reihe 525d xdrive",
  "photos": [
    "https://cache.willhaben.at/mmo/7/165/427/7607_1988883143.jpg",
    "https://cache.willhaben.at/mmo/7/165/427/7607_-2021590471.jpg",
    "https://cache.willhaben.at/mmo/7/165/427/7607_-804916147.jpg"
  ],
  "highlight": [
    {
      "prefix": null,
      "value": "2009",
      "postfix": "EZ"
    },
    {
      "prefix": null,
      "value": "352.000",
      "postfix": "km"
    },
    {
      "prefix": null,
      "value": "197",
      "postfix": "PS (145 kW)"
    }
  ],
  "attributes": {
    "attribute": [
      {
        "name": "BODY_DYN",
        "values": [
          "Seit 2013 in meinem Besitz. Es wurde immer alles fachgerecht repariert..."
        ]
      },
      {
        "name": "CAR_MODEL/MAKE",
        "values": ["BMW"]
      },
      {
        "name": "CAR_MODEL/MODEL",
        "values": ["5er-Reihe"]
      },
      {
        "name": "CAR_MODEL/MODEL_SPECIFICATION",
        "values": ["525d xdrive"]
      },
      {
        "name": "PRICE/AMOUNT",
        "values": ["4900.0"]
      },
      {
        "name": "PRICE_FOR_DISPLAY",
        "values": ["€ 4.900"]
      },
      {
        "name": "YEAR_MODEL",
        "values": ["2009"]
      },
      {
        "name": "MILEAGE",
        "values": ["352000"]
      },
      {
        "name": "ENGINE/EFFECT",
        "values": ["145"]
      },
      {
        "name": "ENGINE/FUEL_RESOLVED",
        "values": ["Diesel"]
      },
      {
        "name": "TRANSMISSION_RESOLVED",
        "values": ["Automatik"]
      },
      {
        "name": "CAR_TYPE",
        "values": ["Kombi / Family Van"]
      },
      {
        "name": "CONDITION_RESOLVED",
        "values": ["Gebrauchtwagen"]
      },
      {
        "name": "NO_OF_OWNERS",
        "values": ["2"]
      },
      {
        "name": "NOOFSEATS",
        "values": ["5"]
      },
      {
        "name": "LOCATION",
        "values": ["Wien, 04. Bezirk, Wieden"]
      },
      {
        "name": "POSTCODE",
        "values": ["1040"]
      },
      {
        "name": "STATE",
        "values": ["Wien"]
      },
      {
        "name": "COORDINATES",
        "values": ["48.191558837890625,16.370309829711914"]
      },
      {
        "name": "EXTERIORCOLOURMAIN",
        "values": ["5"]
      },
      {
        "name": "PUBLISHED_String",
        "values": ["2024-08-27T00:00:00Z"]
      },
      {
        "name": "EQUIPMENT_RESOLVED",
        "values": [
          "Regensensor",
          "Fahrerairbag",
          "Nebelscheinwerfer",
          "Leichtmetall-/Alufelgen",
          "Antriebsschlupfregelung (ASR)",
          "CD Player",
          "Nichtraucherfahrzeug",
          "Mittelarmlehne",
          "Lederlenkrad",
          "Kurvenfahrlicht",
          "Kopfairbags",
          "Schisack",
          "Multifunktionslenkrad",
          "elektr. Sitze",
          "Lichtsensor",
          "Parksensor hinten",
          "ISOFIX",
          "Beifahrerairbags",
          "Head-Up-Display",
          "Tempomat",
          "Bluetooth / USB",
          "Stabilitätsprogramme (ESP)",
          "Lederausstattung",
          "Radio",
          "Klimaautomatik",
          "elektr. Spiegel",
          "Dachreling",
          "Servolenkung",
          "Parksensor vorne & hinten",
          "ABS",
          "Tagfahrlicht",
          "elektr. Fensterheber",
          "Zentralverriegelung",
          "Klimaanlage",
          "Reifendrucksensor",
          "Navigationssystem",
          "Bordcomputer",
          "Xenon"
        ]
      },
      {
        "name": "WARRANTY_RESOLVED",
        "values": ["Nein"]
      }
    ]
  },
  "seller": {
    "type": "Privat",
    "iconType": "NONE",
    "upsellingOrgLogo": null
  }
}
```

***

### Limitations

- Willhaben.at limits search results to maximum **20 pages** per query
- No built-in proxy support in this version
- Single domain support (willhaben.at)
- Country-specific domains may have variations (not all tested)

**Workaround for large datasets**: Split your searches using different filter combinations:

- By price range: `€0-10,000`, `€10,000-20,000`, etc.
- By location/region (federal states)
- By make/model
- By year range
- By body type (Limousine, Kombi, SUV, etc.)

***

### Support

If this scraper doesn't match your needs or you encounter issues, please contact:

- **Email**: <realspidery@gmail.com>
- **X/Twitter**: [@realspidery](https://x.com/realspidery)

For feature requests or bugs, please provide:

- Your input configuration
- Error messages or logs
- Expected vs actual behavior

# Actor input Schema

## `start_urls` (type: `array`):

Start Urls (Ads page list urls)

## `scrape_page_limit` (type: `integer`):

Only scrape X pages of given start_urls, remove this to run full scrape (max 333)

## `testMode` (type: `boolean`):

Disable test mode to get real production data

## Actor input object example

```json
{
  "scrape_page_limit": 1,
  "testMode": true
}
```

# Actor output Schema

## `carListings` (type: `string`):

Dataset containing all scraped car listings with detailed information

# 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("real_spidery/willhaben-at-car-scraper-full").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("real_spidery/willhaben-at-car-scraper-full").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 real_spidery/willhaben-at-car-scraper-full --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,real_spidery/willhaben-at-car-scraper-full"
        }
    }
}
```

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/7qUliGclQlVrEQ3YP/builds/Md3mGxZgFQyZ1hbgX/openapi.json
