# EU Used Car Price Arbitrage: Cheapest Country + Landed Cost (`donzely/eu-car-price-arbitrage`) Actor

Compare a used car's price across AutoScout24 in DE, IT, FR, NL, BE, AT, ES, LU and Otomoto.pl, adjusted for mileage, year and power. Ranks listings by landed cost in your country (transport, registration, Polish excise) and shows the saving vs your home market.

- **URL**: https://apify.com/donzely/eu-car-price-arbitrage.md
- **Developed by:** [Grzegorz Pryjma](https://apify.com/donzely) (community)
- **Categories:** Automation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 ranked listings

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

## EU Used Car Price Arbitrage: Cheapest Country + Landed Cost

**Find out in which European country a used car is cheapest, and what it really costs to bring it home.** This Actor compares the same car across **AutoScout24** in Germany, Italy, France, the Netherlands, Belgium, Austria, Spain and Luxembourg, plus **Otomoto.pl** in Poland. It then ranks individual listings by **landed cost** in your country: price, cross-border transport, registration and taxes. Polish excise (akcyza) is calculated automatically.

🇵🇱 *Gdzie w Europie dane auto jest najtańsze i ile kosztuje sprowadzenie go do Polski: ceny z AutoScout24 w 8 krajach i z Otomoto, transport, rejestracja i akcyza, ranking ogłoszeń według realnego kosztu.*

### What it does

1. Understands plain searches like `bmw x5 2019-2021 diesel`, `vw golf 2018`, `tesla model 3`, `mercedes klasa c 2020 hybrid` (typos and Polish/German model names such as "seria 3", "klasa c", "3er" work).
2. Collects listings in every selected country. Damaged cars, new cars, export-only and trade-only offers, leasing transfers, conditional (finance-only) prices and ads mentioning defects are excluded.
3. Builds a price model across all markets: price vs mileage, year and power. It reports for each country the median, 25th percentile and a **mileage-, year- and power-adjusted median**, so markets are compared like-for-like.
4. For every listing it computes the **landed cost** in your destination country and the **destination-market value of that exact car** (same mileage, year and power). The difference is your saving.
5. Returns listings ranked by saving, plus a country summary in the key-value store record `MARKET_SUMMARY`.

### Who is it for

- Car dealers and importers buying in Germany, Italy, the Benelux or Spain to resell at home
- Private buyers checking whether importing a specific model is worth it
- Car market analysts tracking price gaps between EU countries

### Cost model

| Component | Default | Notes |
|---|---|---|
| Cross-border transport | €0.90 per km, min €350 | Road distance between the main car-trading regions of the two countries |
| Domestic delivery | €150 | Applied to listings in your own country, so they are compared fairly |
| Registration and paperwork | €250 (PL), €300 elsewhere | Plates, inspection, translations |
| Polish excise | automatic | 3.1% up to 2.0 l, 18.6% above; hybrids 1.55% / 9.3%; EVs exempt. Engine size is inferred from same-power listings when missing |
| Registration tax for other destinations | 0% (set your own) | NL BPM, AT NoVA, ES IEDMT, BE, FR malus vary a lot: enter an approximate % |
| VAT | included in prices | Used cars bought cross-border are taxed in the origin country. VAT-deductible listings ("inkl. MwSt.", Polish invoices) also show `vatReclaimableEur` and `landedCostNetEur` for VAT-registered dealers |

All prices are converted with the official National Bank of Poland EUR/PLN rate.

### Input

| Field | Description |
|---|---|
| `searches` | One car per line, e.g. `skoda octavia 2019-2021 diesel` |
| `destinationCountry` | Where you will register the car: PL, DE, IT, FR, NL, BE, AT, ES, LU |
| `countries` | Markets to compare (default: all nine) |
| `yearFrom`, `yearTo`, `fuel`, `gearbox`, `maxMileageKm`, `powerFromHp`, `powerToHp`, `maxPriceEur` | Filters applied in every country |
| `listingsPerCountry` | Sample size per market (default 40) |
| `maxItems` | Number of ranked listings returned |
| `onlyCheaperThanDestination` | Return only foreign cars that beat your home market after all costs |
| `buyerType` | Private person or VAT-registered dealer |
| cost fields | Transport per km, minimum transport, registration, registration tax % |

### Output

```json
{
  "title": "BMW X5 xDrive25d Business",
  "country": "IT",
  "destinationCountry": "PL",
  "url": "https://www.autoscout24.de/angebote/...",
  "year": 2021, "mileageKm": 137000, "powerHp": 231, "engineCapacityCm3": 1995, "fuel": "Diesel",
  "priceEur": 30500,
  "transportEur": 1170, "registrationEur": 250, "registrationTaxEur": 946,
  "registrationTaxNote": "PL excise 3.10% (≤2000 cm³)",
  "landedCostEur": 32866, "landedCostInDestinationCurrency": 139100,
  "destinationMarketValueEur": 39222,
  "savingEur": 6356, "savingPct": 16.2, "savingInDestinationCurrency": 26900,
  "vatDeductible": false, "vatReclaimableEur": 0,
  "confidence": "high"
}
```

`MARKET_SUMMARY` holds, per search, every country's listing count, median, p25, adjusted median, median mileage and year, share of VAT-deductible listings, the search URL, and the fitted effects (EUR per 10,000 km, per year, per 10 HP).

### Pricing

You pay per ranked listing returned. There is no start fee. Listings that are only used for the market statistics are free.

### Limits

- Savings are estimates from asking prices, not final sale prices. Always check the car, its history and the seller.
- Registration taxes outside Poland depend on CO2, age and price; use `registrationTaxPct` for an approximation.
- Plug-in hybrids are not always distinguishable from regular hybrids in listings; Polish excise then uses the hybrid rate (a PHEV up to 2.0 l may be exempt).
- AutoScout24 country data is requested through autoscout24.de search pages allowed by its robots.txt.

### FAQ

**Which countries are supported?** Germany, Italy, France, the Netherlands, Belgium, Austria, Spain and Luxembourg via AutoScout24, and Poland via Otomoto.

**Can I use it as a dealer?** Yes. Set `buyerType` to VAT-registered dealer and use `landedCostNetEur` for VAT-deductible cars.

**Why is my destination market needed?** The saving is measured against what the same car costs in your country, so the destination is always included in the comparison.

# Actor input Schema

## `searches` (type: `array`):

One car per line: make, model and optionally year range and fuel, e.g. "bmw x5 2019-2021 diesel", "vw golf 2018", "tesla model 3", "mercedes c klasse 2020 hybrid". Typos and Polish/German model names ("seria 3", "klasa c", "3er") are understood.

## `destinationCountry` (type: `string`):

Where the car will be registered: PL, DE, IT, FR, NL, BE, AT, ES or LU (country names also work). Savings are computed against this market; Polish excise is built in. Unknown values fall back to PL with a warning.

## `countries` (type: `array`):

Markets to compare: DE, IT, FR, NL, BE, AT, ES, LU (AutoScout24) and PL (Otomoto). Country names in English, German or Polish also work. Empty means all.

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

First registration year from. Overrides a year written in the search.

## `yearTo` (type: `integer`):

First registration year to.

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

Overrides a fuel written in the search.

## `gearbox` (type: `string`):

Gearbox type.

## `maxMileageKm` (type: `integer`):

Skip cars with higher mileage.

## `powerFromHp` (type: `integer`):

Minimum engine power in HP.

## `powerToHp` (type: `integer`):

Maximum engine power in HP.

## `maxPriceEur` (type: `integer`):

Skip listings above this asking price.

## `listingsPerCountry` (type: `integer`):

Sample size per market. More listings give better medians but take longer.

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

Best-ranked listings returned (you pay per returned listing).

## `onlyCheaperThanDestination` (type: `boolean`):

Return only foreign listings whose landed cost is below the destination-market value of the same car.

## `buyerType` (type: `string`):

Dealers also get landedCostNetEur and vatReclaimableEur for VAT-deductible listings.

## `transportEurPerKm` (type: `number`):

Truck transport price per km between countries.

## `minTransportEur` (type: `integer`):

Minimum cross-border transport cost.

## `domesticDeliveryEur` (type: `integer`):

Cost to collect a car in your own country, so domestic listings are compared fairly.

## `registrationEur` (type: `integer`):

Registration, plates, technical inspection, translations. Default 250 for PL, 300 elsewhere.

## `registrationTaxPct` (type: `number`):

For destinations with a registration tax (NL BPM, AT NoVA, ES IEDMT, BE, FR malus) enter an approximate % of price. Polish excise is calculated automatically.

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

Optional Apify Proxy.

## Actor input object example

```json
{
  "searches": [
    "bmw x5 2019-2021 diesel"
  ],
  "destinationCountry": "PL",
  "countries": [
    "DE",
    "IT",
    "FR",
    "NL",
    "BE",
    "AT",
    "ES",
    "LU",
    "PL"
  ],
  "fuel": "any",
  "gearbox": "any",
  "listingsPerCountry": 40,
  "maxItems": 30,
  "onlyCheaperThanDestination": false,
  "buyerType": "private",
  "transportEurPerKm": 0.9,
  "minTransportEur": 350,
  "domesticDeliveryEur": 150,
  "registrationTaxPct": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

## `summary` (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 = {
    "searches": [
        "bmw x5 2019-2021 diesel"
    ],
    "destinationCountry": "PL",
    "countries": [
        "DE",
        "IT",
        "FR",
        "NL",
        "BE",
        "AT",
        "ES",
        "LU",
        "PL"
    ],
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("donzely/eu-car-price-arbitrage").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 = {
    "searches": ["bmw x5 2019-2021 diesel"],
    "destinationCountry": "PL",
    "countries": [
        "DE",
        "IT",
        "FR",
        "NL",
        "BE",
        "AT",
        "ES",
        "LU",
        "PL",
    ],
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("donzely/eu-car-price-arbitrage").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 '{
  "searches": [
    "bmw x5 2019-2021 diesel"
  ],
  "destinationCountry": "PL",
  "countries": [
    "DE",
    "IT",
    "FR",
    "NL",
    "BE",
    "AT",
    "ES",
    "LU",
    "PL"
  ],
  "maxItems": 30
}' |
apify call donzely/eu-car-price-arbitrage --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,donzely/eu-car-price-arbitrage"
        }
    }
}
```

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/MXx63UdLoAMIfTY4W/builds/bG3yIWCNUAHqbXo9V/openapi.json
