# AutoScout24 Scraper: DE, AT, IT, NL, BE, ES, FR cars (+ alerts) (`datahamster/autoscout24-listings`) Actor

AutoScout24 scraper for all nine markets in one actor: DE, AT, IT, NL, BE, ES, FR, LU and .com. Car listings as flat rows with price, mileage, first registration, fuel, gearbox, power, dealer and location. Filter by price, year, mileage or fuel; monitor mode alerts on new listings and price drops.

- **URL**: https://apify.com/datahamster/autoscout24-listings.md
- **Developed by:** [Viktor Dubnytskiy](https://apify.com/datahamster) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result items

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## AutoScout24 Scraper: DE, AT, IT, NL, BE, ES, FR cars (+ alerts)

Scrape car listings from every AutoScout24 market in one actor: Germany, Austria, Italy, Netherlands, Belgium,
Spain, France, Luxembourg and the pan-European `.com` market. Search by make and model, filter by price, year,
mileage, fuel and gearbox, or paste any AutoScout24 result URL you built in the browser. Monitor mode turns the
same search into a watchlist: you get only the new listings and the price drops since the previous run.

### What you get

One flat row per listing: `listingId`, `url`, `title`, `make`, `model`, `modelDetail`, `version`, `price`,
`currency`, `priceLabel`, `mileageKm`, `firstRegistration`, `fuel`, `gear`, `powerKw`, `powerHp`, `sellerType`,
`dealerName`, `city`, `zip`, `country`, `market`, `images`, `params` (variant, motor type, displacement,
price rating, equipment teaser), `query`, `page`, `rank`, `source`, `scrapedAt`.

With **Open offer pages** on, each row also carries `equipment` (the full list), `description`, `bodyType`,
`co2Gkm`, `fuelConsumption`, `previousOwners`, `nextInspection`, `doors`, `seats`, `color`, `driveTrain`,
`emissionClass`, `lat`, `lon`, `createdAt`, and `images` upgrades from result-page thumbnails to full size.

### Example output

Real row from the example dataset (`country: de`, `make: bmw`, `model: 3er`):

| Field | Example value |
|---|---|
| `title` | `BMW 318 i Touring Advantage + MOTORSCHADEN` |
| `url` | `https://www.autoscout24.de/angebote/bmw-3er-i-touring-advantage-...-7bfc9611-698e-47b6-9933-a3c106c32076` |
| `price` / `currency` / `priceLabel` | `5090` / `EUR` / `€ 5.090` |
| `mileageKm` / `firstRegistration` | `123002` / `02/2017` |
| `fuel` / `gear` | `Benzin` / `Automatik` |
| `powerKw` / `powerHp` | `100` / `136` |
| `sellerType` / `dealerName` | `dealer` / `Autohaus Erwin Schmidt GmbH & Co. KG` |
| `city` / `zip` / `country` | `Lünen` / `44534` / `de` |
| `bodyType` / `previousOwners` / `nextInspection` (offer page) | `Kombi` / `2` / `06/2027` |

### How it works

1. **Market** — `country` picks the localised host (`autoscout24.de`, `.at`, `.it`, `.nl`, `.be`, `.es`, `.fr`,
   `.lu`, and `.com` for the pan-European market). The host decides the stock and the currency, and the proxy exit
   is pinned to the same country so availability and locale stay consistent.
2. **Search** — `make` + `model` build the result URL, or `searchUrls` takes any list URL you copied from the
   browser (all of its filters are kept, the page number is added). Leave `make` empty for the market's latest ads.
3. **Pages** — 20 listings per page, `maxPages` pages per search; the run stops early when the market reports fewer
   results than that.
4. **Offer pages** (`fetchDetails`) — one extra request per listing for equipment, description, CO₂, consumption,
   previous owners and the next inspection date.
5. **Monitor mode** — the actor stores the key of every listing it saw with its price and mileage; the next run of
   the same task returns only new listings and changed ones (price drop), and can post them to a webhook or Telegram.

### Input

| Field | Meaning | Default |
|---|---|---|
| `country` | Market: `de`, `at`, `it`, `nl`, `be`, `es`, `fr`, `lu`, `gb` (`.com`, pan-European) | `de` |
| `make` / `model` | e.g. `bmw` / `3er` (`serie-3` on `.it`, `3-series` on `.com`); empty = latest listings | empty |
| `searchUrls` | Any AutoScout24 result URL; takes precedence over make/model | empty |
| `priceFrom`, `priceTo` | Price range in the market's currency | empty |
| `yearFrom` | First registration year, e.g. `2015` | empty |
| `mileageTo` | Maximum mileage in km | empty |
| `fuel` | `petrol`, `diesel`, `electric`, `hybrid`, `hybrid_diesel`, `lpg`, `cng`, `ethanol`, `hydrogen`, `other` | `any` |
| `gear` | `automatic`, `manual`, `semi_automatic` | `any` |
| `sort` | `standard`, `price_asc`, `price_desc`, `age` | `standard` |
| `maxPages` | Pages per search, 20 listings each | `3` |
| `fetchDetails` | Open each offer page for equipment, description, CO₂, owners | `false` |
| `maxItems` | Stop after this many rows | `100` |
| `mode` | `scrape` or `monitor` (only new/changed since last run) | `scrape` |
| `monitorKey`, `webhookUrl`, `telegramBotToken`, `telegramChatId` | Monitor state key and alert targets | empty |

### Pricing

| Event | Price |
|---|---|
| result | $0.002 per listing ($2 per 1,000) |
| monitor-check | $0.005 per monitor run |
| change | $0.002 per new or price-changed listing |

You are charged only for rows actually pushed. A run that finds nothing charges no result events.

### Why this actor

- **Every market in one actor** — nine AutoScout24 countries, the same row shape everywhere, numbers parsed from
  locale-independent fields so `123.002 km` and `283,000 km` both come out as integers.
- **Filters that really reach the site** — price, year, mileage, fuel, gearbox and sorting are sent as AutoScout24's
  own query parameters, so you page through a filtered result set instead of filtering afterwards.
- **Monitor mode** — new listings and price drops only, with webhook and Telegram alerts; the watchlist a dealer or
  a flipper actually wants.
- **Honest empty runs** — a zero-result search pushes nothing and is reported as `no_matches`; a wall is reported as
  `blocked` in `RUN_SUMMARY`, never as an empty dataset. A car sold between the result page and the offer page is
  counted as a removed listing, not as a block, so a busy day cannot abort the run.

### Limits

- `bodyType`, `equipment`, `description`, CO₂, consumption, previous owners and the inspection date exist only on the
  offer page: switch on `fetchDetails` (one extra request per listing).
- Labels (`fuel`, `gear`, `color`, `bodyType`) come in the market's own language — `Benzin` on `.de`, `Benzina` on
  `.it`, `Petrol` on `.com`. Numbers are normalised, words are not.
- Model names differ per market (`3er`, `serie-3`, `3-series`); when in doubt build the search in the browser and
  paste the URL into `searchUrls`.
- Private sellers are returned as `sellerType: private` with no name, no seller id and no phone number, and their
  free text is scrubbed of e-mail addresses and phone numbers. Dealer name and dealer location are business data
  and are returned.
- The result list is capped by AutoScout24 itself at 20 pages per search (400 listings); narrow the filters or split
  the search to go deeper.
- Listings sell fast: with `fetchDetails` on, an offer page that is already gone leaves the row with its result-page
  fields and `detailsFetched: false` instead of failing the run.

### FAQ

**Does it need a login?** No. Everything is read from the public result and offer pages.

**Which market does `country: gb` scrape?** `autoscout24.com`, the pan-European market in English: its stock comes
from several countries (each row carries the listing's own `country`) and prices are in EUR.

**Can I paste a URL with filters the input doesn't have?** Yes — `searchUrls` keeps every query parameter and only
adds the page number.

**How do I watch prices?** Save the actor as a task, set `mode: monitor`, and schedule it. Each run returns the new
listings plus those whose price or mileage changed since the previous run.

### Changelog

- 0.1: initial release — nine markets, make/model and URL search, price/year/mileage/fuel/gearbox filters, offer-page
  enrichment, monitor mode with new-listing and price-drop alerts.

***

If this actor saved you time, a short review on its Store page genuinely helps other people find it. Found a bug or
need a field that is missing? Open a ticket on the **Issues** tab.

# Actor input Schema

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

Stop after this many results (you are charged only for pushed items)

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

scrape = full results; monitor = only new/changed items since the previous run of this task

## `monitorKey` (type: `string`):

Optional state key when not running as a saved task

## `webhookUrl` (type: `string`):

POST a change summary here in monitor mode

## `telegramBotToken` (type: `string`):

Optional: bot token for monitor-mode change summaries

## `telegramChatId` (type: `string`):

Optional: chat id that receives monitor-mode summaries

## `country` (type: `string`):

Which AutoScout24 market to search. It picks the localised site, its stock and its currency; the proxy exit is pinned to the same country. Example: de.

## `make` (type: `string`):

Car make as it appears in the AutoScout24 URL, e.g. "bmw", "volkswagen", "mercedes-benz". Leave empty to list the market's latest listings.

## `model` (type: `string`):

Model group, e.g. "3er" (de/at), "serie-3" (it), "3-series" (.com), "golf", "a4". Leave empty for every model of the make.

## `searchUrls` (type: `array`):

Any AutoScout24 result URL built in the browser, e.g. "https://www.autoscout24.de/lst/audi/a4?fuel=D\&powerfrom=110". Every filter in the URL is kept and only the page number is added. Takes precedence over Market/Make/Model.

## `priceFrom` (type: `integer`):

Minimum price in the market's currency, e.g. 5000. Leave empty for no lower bound.

## `priceTo` (type: `integer`):

Maximum price in the market's currency, e.g. 15000. Leave empty for no upper bound.

## `yearFrom` (type: `integer`):

Earliest first-registration year, e.g. 2015.

## `mileageTo` (type: `integer`):

Maximum mileage in kilometres, e.g. 100000.

## `fuel` (type: `string`):

Fuel type filter, e.g. diesel. "Any" applies no filter.

## `gear` (type: `string`):

Gearbox filter, e.g. automatic. "Any" applies no filter.

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

Order of the result list. Use "Newest first" together with monitor mode to watch fresh listings.

## `maxPages` (type: `integer`):

How many result pages to read per search, 20 listings each, e.g. 3. AutoScout24 itself caps a result list at 20 pages.

## `fetchDetails` (type: `boolean`):

true = open every listing's offer page for equipment, description, CO₂, consumption, previous owners, inspection date and full-size images (one extra request per listing). false = result-page fields only. Example: false.

## Actor input object example

```json
{
  "maxItems": 100,
  "mode": "scrape",
  "country": "de",
  "make": "bmw",
  "model": "3er",
  "fuel": "any",
  "gear": "any",
  "sort": "standard",
  "maxPages": 3,
  "fetchDetails": false
}
```

# Actor output Schema

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

All pushed rows (dataset, JSON)

## `resultsTable` (type: `string`):

Dataset in the Console viewer

## `runSummary` (type: `string`):

RUN\_SUMMARY record

# 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 = {
    "country": "de",
    "make": "bmw",
    "model": "3er",
    "maxPages": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("datahamster/autoscout24-listings").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 = {
    "country": "de",
    "make": "bmw",
    "model": "3er",
    "maxPages": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("datahamster/autoscout24-listings").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 '{
  "country": "de",
  "make": "bmw",
  "model": "3er",
  "maxPages": 3
}' |
apify call datahamster/autoscout24-listings --silent --output-dataset

```

## MCP server setup

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

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/1GaQW7nE43A2SqCnm/builds/MAXTHU89TkuzrMjaB/openapi.json
