# AutoScout24 AI Deal Finder (`u_97/autoscout24-ai-deal-finder`) Actor

Find undervalued cars on AutoScout24 across Europe (DE, IT, FR, AT, BE, NL, ES). Calculates live market medians by make, model, year & mileage, then uses AI to score flips (1-10), estimate margins, and flag risks (engine issues, accident, export-only).

- **URL**: https://apify.com/u_97/autoscout24-ai-deal-finder.md
- **Developed by:** [Luca Tamburrini](https://apify.com/u_97) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 ai deal analyzed

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

## AutoScout24 AI Deal Finder & Cross-Border Arbitrage Scanner 🚗🤖

Automatically scan **AutoScout24** across multiple European countries (`DE`, `IT`, `AT`, `FR`, `BE`, `NL`, `ES`, `LU`), calculate real-time **market median prices**, filter underpriced vehicles, and run **AI-powered B2B valuation** to spot high-margin flipping and import/export opportunities.

Designed for **car dealers, cross-border importers, automotive brokers, and data-driven buyers**.

***

### ✨ Key Features

- **Multi-Country Scanning:** Compare prices simultaneously across Germany, Italy, Austria, France, Belgium, Netherlands, Spain, and Luxembourg.
- **Real-Time Market Median:** Dynamically computes the market median price for your exact make, model, year, and mileage cohort—no stale static price guides.
- **Automatic Discount & Margin Filtering:** Flags only listings priced significantly below the market median (e.g., `>= 15%` discount) and calculates the estimated gross margin in EUR.
- **AI B2B Deal Scoring (1–10):** Built-in AI analyst evaluates every top deal, assigns a **1–10 flip score**, detects **red flags** (e.g., `high_mileage_for_year`, `base_trim`, `possible_export_or_damage`), and writes a concise dealer verdict.
- **Instant Webhook Alerts:** Optional Discord, Slack, or Make/n8n webhook integration to push alerts immediately whenever a top-tier deal (`Score >= 8/10`) is discovered.
- **Zero Setup Required:** Residential proxies and AI valuation are built in—just pick your make, model, and target countries.

***

### 🎯 Use Cases

- **Cross-Border Car Arbitrage:** Find underpriced German (`DE`) vehicles to import and resell in Italy (`IT`), France (`FR`), or Spain (`ES`).
- **Dealership Inventory Sourcing:** Automate daily morning scans to catch freshly listed private or dealer cars before competitors.
- **Market Intelligence:** Track median pricing trends and supply across European markets for specific models.

***

### ⚙️ Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `make` | String | `volkswagen` | Car manufacturer (e.g., `volkswagen`, `bmw`, `audi`, `mercedes-benz`). |
| `model` | String | `golf` | Car model (e.g., `golf`, `a3`, `serie-3`). Leave empty to scan the entire make. |
| `countries` | Array | `["DE", "IT"]` | List of AutoScout24 country codes (`DE`, `IT`, `AT`, `FR`, `BE`, `NL`, `ES`, `LU`). |
| `yearFrom` | Integer | `2019` | Minimum first registration year. |
| `maxMileageKm` | Integer | `120000` | Maximum mileage in kilometers. |
| `maxPriceEur` | Integer | `30000` | Maximum listing price in EUR. |
| `minDiscountPct` | Number | `15` | Minimum percentage below the calculated market median to qualify as a deal. |
| `maxListingsToScan` | Integer | `60` | Maximum number of recent listings to scan per country to build the market median. |
| `maxAiAnalyses` | Integer | `15` | Maximum number of top deals to evaluate with AI per run. |
| `webhookUrl` | String | *(optional)* | Discord, Slack, or custom webhook URL for instant alerts on deals scoring `8/10` or higher. |

***

### 📊 Output Example

Results are sorted by **AI Deal Score** (highest first) and **Discount %**, ready for export in **JSON, CSV, or Excel**:

````json
{
  "id": "8bc21388-3474-41b7-b140-...",
  "ai_deal_score": 8,
  "title": "Volkswagen Golf Join NAVI",
  "country": "DE",
  "city": "Stuttgart",
  "price_eur": 13990,
  "market_median_eur": 23590,
  "discount_pct": 40.7,
  "estimated_margin_eur": 9600,
  "year": 2020,
  "mileage_km": 43080,
  "fuel": "Benzin",
  "transmission": "Manual",
  "seller_type": "Dealer",
  "red_flags": [],
  "ai_verdict": "Low mileage and strong discount from a dealer; strong B2B flip candidate worth immediate inspection.",
  "url": "[https://www.autoscout24.de/offers/](https://www.autoscout24.de/offers/)..."
}



# Actor input Schema

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

Es. volkswagen, bmw, audi, mercedes-benz, porsche
## `model` (type: `string`):

Es. golf, serie-3, a3, macan (lascia vuoto per tutta la marca)
## `countries` (type: `array`):

Paesi da scansionare (DE e IT sono i principali per l'arbitraggio)
## `yearFrom` (type: `integer`):

Anno minimo di immatricolazione (es. 2019)
## `maxMileageKm` (type: `integer`):

Chilometraggio massimo in km (es. 120000)
## `maxPriceEur` (type: `integer`):

Prezzo massimo di ricerca in euro (es. 30000)
## `minDiscountPct` (type: `integer`):

Percentuale minima di sconto rispetto alla mediana di mercato
## `maxListingsToScan` (type: `integer`):

Numero massimo di annunci da scansionare per ogni paese
## `maxAiAnalyses` (type: `integer`):

Numero massimo di affari da far valutare all'AI (i migliori per sconto)
## `openaiApiKey` (type: `string`):

Lascia vuoto se usi la chiave configurata nell'Actor, oppure inserisci la tua chiave OpenAI
## `webhookUrl` (type: `string`):

Opzionale: ricevi un alert JSON per ogni auto con ai_deal_score >= 8

## Actor input object example

```json
{
  "make": "volkswagen",
  "model": "golf",
  "countries": [
    "DE",
    "IT"
  ],
  "yearFrom": 2019,
  "maxMileageKm": 120000,
  "maxPriceEur": 30000,
  "minDiscountPct": 15,
  "maxListingsToScan": 60,
  "maxAiAnalyses": 15
}
````

# Actor output Schema

## `results` (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 = {
    "make": "volkswagen",
    "model": "golf"
};

// Run the Actor and wait for it to finish
const run = await client.actor("u_97/autoscout24-ai-deal-finder").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 = {
    "make": "volkswagen",
    "model": "golf",
}

# Run the Actor and wait for it to finish
run = client.actor("u_97/autoscout24-ai-deal-finder").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 '{
  "make": "volkswagen",
  "model": "golf"
}' |
apify call u_97/autoscout24-ai-deal-finder --silent --output-dataset

```

## MCP server setup

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

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/ZsCna7f923dDesfca/builds/AQhHbvHipzR6smqdi/openapi.json
