# Mobile.de Scraper — German Cars, Net Export Price & Dealers (`foxlabs/mobile-de-scraper`) Actor

Scrape Germany's #1 vehicle marketplace (mobile.de). Extracts gross & net VAT export prices, market price ratings, kW/HP, mileage, CO2/WLTP specs, equipment lists, and B2B dealer phone numbers, addresses, and GPS coordinates.

- **URL**: https://apify.com/foxlabs/mobile-de-scraper.md
- **Developed by:** [Berkan Kaplan](https://apify.com/foxlabs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 mobile.de vehicle 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

<p align="center">
  <img src="https://img.shields.io/badge/Pay--Per--Event-%242.00_%2F_1K_Vehicles-00C853?style=for-the-badge" alt="Pay-Per-Event" />&nbsp;
  <img src="https://img.shields.io/badge/70_Columns-Net_VAT_%C2%B7_Price_Rating_%C2%B7_Dealer_Phones-10B981?style=for-the-badge" alt="70 Columns" />&nbsp;
  <img src="https://img.shields.io/badge/AI_Agent_Ready-MCP_%26_x402-7C4DFF?style=for-the-badge" alt="MCP & x402 Ready" />&nbsp;
  <img src="https://img.shields.io/badge/Dual_Runtime-Batch_%2B_Standby_API-FF6D00?style=for-the-badge" alt="Batch + Standby API" />
</p>

## Mobile.de Scraper — German Cars, Net Export Price & Dealers 🚀

**foXLabs European Automotive, B2B Lead & Marketplace Series:** [AutoScout24 Scraper](https://apify.com/foxlabs/autoscout24-scraper) · [Leboncoin Scraper](https://apify.com/foxlabs/leboncoin-scraper) · [Europe Company Officers](https://apify.com/foxlabs/europe-company-officers) · [Google Maps Scraper](https://apify.com/foxlabs/google-maps-scraper) · [B2B Company Finder](https://apify.com/foxlabs/b2b-company-finder)

Extract structured **German & European vehicle inventory (`1.4M+` cars), gross & net VAT-deductible export prices (`netPriceEur`, `vatRatePct`), algorithmic market price ratings (`VERY_GOOD_PRICE`, 6-tier `priceRatingThresholds[]`), kW/HP power, mileage, WLTP/CO₂ specs, leasing factors, KBA HSN/TSN type codes, full `features[]` equipment lists, and direct B2B car-dealer phone numbers (`+49...`), street addresses, and GPS coordinates** from `mobile.de` — zero login.

Built for European cross-border car exporters & importers, dealership B2B SaaS/finance/warranty sales teams, fleet residual-value pricing desks, and automotive arbitrage bots.

### 🔍 What is the Mobile.de Car & Dealer Scraper — and when should you use it?

mobile.de is Germany's largest and Europe's flagship automotive marketplace with over 1.4 million active passenger cars, EVs, vans, and commercial vehicles. Cross-border auto traders and automotive B2B teams rely on mobile.de for two critical signals: **VAT-deductible net export pricing (`MwSt. ausweisbar`)** paired with mobile.de's **market valuation rating (`VERY_GOOD_PRICE` / `GOOD_PRICE`)**, and **direct dealership phone numbers**.

This Actor parses mobile.de's Next.js RSC stream into a **70-column vehicle & dealership dataset** inside a `256 MB` HTTP container:

- **Direct Dealer Phone Numbers + Price Ratings Right on Search (`listing` at `$2.00 / 1,000`)** — without even opening detail pages, fast search mode captures `grossPriceEur`, `priceRating`, `primaryPhone` / `sellerPhones[]` (`+49...`), `sellerRating`, `leasingNetMonthlyEur`, `leasingFactor`, `mileageKm`, `firstRegistration`, `powerKw`, `powerHp`, `fuelType`, `transmission`, `cubicCapacityCc`, `co2EmissionsGkm`, `emissionClass` (`Euro6d`), `previousOwners`, and `generalInspection` (`HU`).
- **Deep Net Export VAT, KBA & Full Equipment Enrichment (`includeDetails: true` -> `listing-detail`)** — visits individual `details.html` pages to extract `netPriceEur`, `vatRatePct` (`19%`), 6-tier `priceRatingThresholds[]`, German `kbaHsn`/`kbaTsn` codes, `features[]` (60+ equipment items), `sellerName`, `sellerStreet`, exact `sellerLatitude`/`sellerLongitude`, `sellerLanguages`, and `sellerRecommendationRatePct`.

**Use it when you need:** cross-border EU vehicle export arbitrage (`netPriceEur` + `VERY_GOOD_PRICE`); German car dealership B2B cold outreach (`primaryPhone` + `sellerName` + `sellerLanguages`); or residual-value & leasing factor benchmarking.

**Use something else when:** you need private chassis VIN lookups not disclosed by the seller (mobile.de publishes German `kbaHsn`/`kbaTsn` type-approval codes and technical specs rather than private chassis VINs).

### 🤖 Use with AI agents (MCP, Claude, Cursor & x402)

**Already connected to the Apify MCP server?** Ask your AI assistant to call `foxlabs/mobile-de-scraper`.

- **Hosted MCP URL (zero install):** `https://mcp.apify.com?tools=foxlabs/mobile-de-scraper`
- **Local stdio config (Claude Desktop, Cursor, Cline, Windsurf):**

```json
{
  "mcpServers": {
    "mobile-de-scraper": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--tools", "foxlabs/mobile-de-scraper"],
      "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
    }
  }
}
```

**Autonomous agentic payments supported.** Billed at **$0.0020 per `listing`** (`$2.00 / 1,000`, already includes dealer phone numbers & market price ratings!) or **$0.0065 per `listing-detail`** (`$6.50 / 1,000`) when full net-VAT export, equipment, and dealer address/GPS enrichment is enabled (`$0` start fee, `status` rows `$0.00`). Compatible with **x402 (USDC on Base)**, **Skyfire**, and standard Apify API tokens.

Copy-paste prompt for Claude, ChatGPT, Cursor, or any MCP-enabled agent:

```text
Use the Apify Actor `foxlabs/mobile-de-scraper` to extract structured records into JSON.
Start with: {"makes":["BMW"],"maxListingsPerSearch":24}
```

Machine-readable Actor summary and schema: `https://apify.com/foxlabs/mobile-de-scraper.md`.

### 📋 Overview

| Property | Details |
|---|---|
| **Actor Slug** | `foxlabs/mobile-de-scraper` |
| **Authentication required** | None — 100% keyless & cookieless |
| **Container footprint** | Lightweight `256 MB` Node.js 22 HTTP runtime (`undici` + `AbortController` deadlines) |
| **Structured columns** | **70+ fields** (strict null-safety: unknown numbers are `null`, never fake `0`) |
| **Deduplication & restart safety** | Deterministic `rowKey` + startup `readAlreadyDelivered()` dataset scan |
| **Execution modes** | Asynchronous **Batch** + Real-Time **Standby HTTP** (`GET /`, `POST /scrape`, `.actor/openapi.json`) |
| **Run telemetry** | Full request/retry/filter breakdown saved to `SOURCE_REPORT` in Key-Value Store |

### ✨ Key Features

- ⚡ **Pure HTTP SSR / JSON Extraction (`256 MB` RAM)** — Avoids slow, expensive headless browsers by parsing embedded state payloads directly over managed proxies with automatic session rotation.
- 🛡️ **Pre-Billing Qualification Filters & Anti-Bleed Circuit Breakers** — Evaluates price, rating, role, stock, or seller filters *before* dataset emission and *before* optional detail requests so unmatched items cost **$0.00**.
- 🔁 **Zero Duplicate Charges Across Queries & Restarts** — Tracks every emitted `rowKey` across multi-query sweeps and container migrations.
- 🔌 **Dual Batch + Standby HTTP Runtime** — Call via standard `Actor.call` datasets or hit `POST /scrape` synchronously from LangChain, CrewAI, Clay, Make, or n8n.

### 🎬 Quick Start (API & Standby HTTP)

**1. Synchronous Batch API call (returns JSON array directly):**

```bash
curl -X POST "https://api.apify.com/v2/acts/foxlabs~mobile-de-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"makes":["BMW","Porsche"],"fuelType":"DIESEL","sellerType":"DEALER","sortBy":"newest","maxListingsPerSearch":24}'
```

**2. Real-time Standby HTTP endpoint (`POST /scrape`):**

```bash
curl -X POST "https://foxlabs--mobile-de-scraper.apify.actor/scrape?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"makes":["Mercedes-Benz"],"sellerType":"DEALER","includeDetails":true,"maxListingsPerSearch":10}'
```

### 🚀 Getting Started (3 steps)

1. **Enter your search targets** — Use the prefilled search input in Apify Console, paste custom filtered URLs, or supply direct item/listing URLs.
2. **Choose speed vs. deep enrichment** — Keep enrichment toggles `false` for maximum speed and lowest cost per 1,000 records, or toggle deep enrichment `true` when full detail attributes are needed.
3. **Run & export** — Click **Start** and download clean **JSON, CSV, Excel, or Parquet** from the Dataset tab (or stream directly into n8n, Make, Clay, BigQuery, or Snowflake).

### 📥 Input & Filters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `makes` | `array` | *(prefill: `["BMW"]`)* | Car brand names to search on mobile.de (e.g. \['BMW', 'Mercedes-Benz', 'Porsche', 'Audi', 'Volkswagen', 'Tesla']). |
| `searchUrls` | `array` | — | Paste any custom filtered https://suchen.mobile.de/fahrzeuge/search.html?... URL (supports exact model, zip radius, and custom filters). |
| `listingUrls` | `array` | — | Direct mobile.de detail URLs (https://suchen.mobile.de/fahrzeuge/details.html?id=...) or numeric listing IDs ('listing-detail'). |
| `fuelType` | `string` | `"any"` | Optional fuel / powertrain filter. |
| `transmission` | `string` | `"any"` | Optional gearbox filter. |
| `sellerType` | `string` | `"any"` | Filter between commercial Auto Dealers ('DEALER') and Private sellers ('PRIVATE'). |
| `sortBy` | `string` | `"relevance"` | Listing sort order on mobile.de. |
| `priceMinEur` | `integer` | — | Optional minimum gross price in EUR. |
| `priceMaxEur` | `integer` | — | Optional maximum gross price in EUR. |
| `yearMin` | `integer` | — | Optional minimum registration year (e.g. 2020). |
| `mileageMaxKm` | `integer` | — | Optional maximum mileage in kilometers (e.g. 100000). |
| `includeDetails` | `boolean` | `false` | Visits each vehicle's detail page to extract net VAT-deductible export price, 6-tier market price thresholds, KBA HSN/TSN codes, full equipment features\[], and complete dealer street address, GPS coordinates, languages & opening hours ('listing-detail' event). Note: search mode already includes dealer phone numbers! |
| `maxListingsPerSearch` | `integer` | `24` | Maximum unique vehicles extracted per make or search URL (~24 vehicles per page). |
| `maxTotalListings` | `integer` | `100` | Hard ceiling on total billable vehicle records emitted across the entire run. |
| `proxyConfiguration` | `object` | `{"useApifyProxy":true}` | Apify Proxy configuration. Automatically uses anti-bot unblocking out of the box. |

### 📤 Output Schema & Real Sample Record

#### Sample Live-Extracted Record

```json
{
  "rowType": "listing-detail",
  "rowKey": "mobilede:car:458851760",
  "listingId": "458851760",
  "adPlacementType": "topOfPage",
  "make": "BMW",
  "model": "Z3",
  "title": "BMW Z3 Roadster 1.8 Sammlungsauflösung",
  "subTitle": "Roadster 1.8 Sammlungsauflösung",
  "category": "Cabrio",
  "vehicleCategory": "Car",
  "listingUrl": "https://suchen.mobile.de/fahrzeuge/details.html?id=458851760",
  "grossPriceEur": 7980,
  "netPriceEur": null,
  "vatRatePct": null,
  "currency": "EUR",
  "priceRating": "NO_RATING",
  "priceRatingLabel": "Ohne Bewertung",
  "priceRatingThresholds": [],
  "leasingNetMonthlyEur": null,
  "leasingFactor": null,
  "firstRegistration": "04/2000",
  "registrationYear": 2000,
  "mileageKm": 221555,
  "powerKw": 87,
  "powerHp": 118,
  "fuelType": "Benzin",
  "transmission": "Schaltgetriebe",
  "cubicCapacityCc": 1895,
  "fuelConsumptionCombined": "7,8 l/100km",
  "co2EmissionsGkm": null,
  "co2Class": null,
  "emissionClass": "Euro4",
  "condition": "Gebrauchtfahrzeug, Unfallfrei",
  "isConditionNew": false,
  "hasElectricEngine": false,
  "exteriorColor": "Silber Metallic",
  "doors": "2/3",
  "seats": 2,
  "previousOwners": 2,
  "generalInspection": "Neu",
  "countryVersion": "Deutsche Ausführung",
  "kbaHsn": "0005",
  "kbaTsn": "644",
  "sku": "3551",
  "features": [
    "ABS",
    "CD-Spieler",
    "Elektr. Fensterheber",
    "Elektr. Seitenspiegel",
    "Elektr. Sitzeinstellung",
    "Elektr. Wegfahrsperre",
    "Heckantrieb",
    "Inspektion neu",
    "Lederlenkrad",
    "Leichtmetallfelgen"
  ],
  "highlights": [
    "Aus 2.Hand"
  ],
  "descriptionText": "$77",
  "countryCode": "DE",
  "postalCode": "64293",
  "city": "Darmstadt",
  "sellerType": "DEALER",
  "sellerId": "461604",
  "sellerName": "Smit Automobile GmbH",
  "sellerStreet": "Sensfelderweg 37-39",
  "sellerLatitude": 49.8880271,
  "sellerLongitude": 8.6475226,
  "primaryPhone": "+49 (0)6151 896761",
  "sellerPhones": [
    "+49 (0)6151 896761",
    "+49 (0)1520 2064289",
    "+49 (0)6151 871368",
    "+496151896761",
    "+4915202064289"
  ],
  "sellerRating": 4.8,
  "sellerReviewCount": 4,
  "sellerRecommendationRatePct": 100,
  "sellerLanguages": "Deutsch, English",
  "imageCount": 14,
  "imageUrls": [
    "https://img.classistatic.de/api/v1/mo-prod/images/8e/8e1a39bd-3842-4c5f-abe5-b4fdabf374c2",
    "https://img.classistatic.de/api/v1/mo-prod/images/e0/e0b16858-f737-496a-b38a-a0d9d89fdb3b",
    "https://img.classistatic.de/api/v1/mo-prod/images/95/95f0c58d-a741-471c-9900-b368dbde9c7a"
  ],
  "createdAt": "2026-06-22T09:02:37.000Z",
  "modifiedAt": "2026-11-18T00:21:05.000Z",
  "detailsEnriched": true,
  "searchSource": "BMW",
  "searchPage": 1,
  "scrapedAt": "2026-11-19T21:27:52.891Z"
}
```

#### Field Reference (70 Core Columns)

| Field | Type | Live Sample Value |
|---|---|---|
| `rowType` | `string` | `"listing-detail"` |
| `rowKey` | `string` | `"mobilede:car:458851760"` |
| `listingId` | `string` | `"458851760"` |
| `adPlacementType` | `string` | `"topOfPage"` |
| `make` | `string` | `"BMW"` |
| `model` | `string` | `"Z3"` |
| `title` | `string` | `"BMW Z3 Roadster 1.8 Sammlungsauflösung"` |
| `subTitle` | `string` | `"Roadster 1.8 Sammlungsauflösung"` |
| `category` | `string` | `"Cabrio"` |
| `vehicleCategory` | `string` | `"Car"` |
| `listingUrl` | `string` | `"https://suchen.mobile.de/fahrzeuge/details.html?id=458` |
| `grossPriceEur` | `number` | `7980` |
| `netPriceEur` | `string \| number \| null` | `null` |
| `vatRatePct` | `string \| number \| null` | `null` |
| `currency` | `string` | `"EUR"` |
| `priceRating` | `string` | `"NO_RATING"` |
| `priceRatingLabel` | `string` | `"Ohne Bewertung"` |
| `priceRatingThresholds` | `array` | `[]` |
| `leasingNetMonthlyEur` | `string \| number \| null` | `null` |
| `leasingFactor` | `string \| number \| null` | `null` |
| `firstRegistration` | `string` | `"04/2000"` |
| `registrationYear` | `number` | `2000` |
| `mileageKm` | `number` | `221555` |
| `powerKw` | `number` | `87` |
| `powerHp` | `number` | `118` |
| `fuelType` | `string` | `"Benzin"` |
| `transmission` | `string` | `"Schaltgetriebe"` |
| `cubicCapacityCc` | `number` | `1895` |
| `fuelConsumptionCombined` | `string` | `"7,8 l/100km"` |
| `co2EmissionsGkm` | `string \| number \| null` | `null` |
| `co2Class` | `string \| number \| null` | `null` |
| `emissionClass` | `string` | `"Euro4"` |
| `condition` | `string` | `"Gebrauchtfahrzeug, Unfallfrei"` |
| `isConditionNew` | `boolean` | `false` |
| `hasElectricEngine` | `boolean` | `false` |
| `exteriorColor` | `string` | `"Silber Metallic"` |
| `doors` | `string` | `"2/3"` |
| `seats` | `number` | `2` |
| `previousOwners` | `number` | `2` |
| `generalInspection` | `string` | `"Neu"` |
| `countryVersion` | `string` | `"Deutsche Ausführung"` |
| `kbaHsn` | `string` | `"0005"` |
| `kbaTsn` | `string` | `"644"` |
| `sku` | `string` | `"3551"` |
| `features` | `array` | `["ABS","CD-Spieler","Elektr. Fensterheber","Elektr. Sei` |
| `highlights` | `array` | `["Aus 2.Hand"]` |
| `descriptionText` | `string` | `"$77"` |
| `countryCode` | `string` | `"DE"` |
| `postalCode` | `string` | `"64293"` |
| `city` | `string` | `"Darmstadt"` |
| `sellerType` | `string` | `"DEALER"` |
| `sellerId` | `string` | `"461604"` |
| `sellerName` | `string` | `"Smit Automobile GmbH"` |
| `sellerStreet` | `string` | `"Sensfelderweg 37-39"` |
| `sellerLatitude` | `number` | `49.8880271` |
| `sellerLongitude` | `number` | `8.6475226` |
| `primaryPhone` | `string` | `"+49 (0)6151 896761"` |
| `sellerPhones` | `array` | `["+49 (0)6151 896761","+49 (0)1520 2064289","+49 (0)615` |
| `sellerRating` | `number` | `4.8` |
| `sellerReviewCount` | `number` | `4` |
| `sellerRecommendationRatePct` | `number` | `100` |
| `sellerLanguages` | `string` | `"Deutsch, English"` |
| `imageCount` | `number` | `14` |
| `imageUrls` | `array` | `["https://img.classistatic.de/api/v1/mo-prod/images/8e/` |
| `createdAt` | `string` | `"2026-06-22T09:02:37.000Z"` |
| `modifiedAt` | `string` | `"2026-11-18T00:21:05.000Z"` |
| `detailsEnriched` | `boolean` | `true` |
| `searchSource` | `string` | `"BMW"` |
| `searchPage` | `number` | `1` |
| `scrapedAt` | `string` | `"2026-11-19T21:27:52.891Z"` |

### 🧪 Data Quality — Measured

- **100% Deterministic Uniqueness (`N3`):** Every billable record carries a canonical `rowKey` verified across multi-page and multi-query runs (`duplicateSkipped` tracked in `SOURCE_REPORT`).
- **Strict Null-Safety (`N5`):** Unlisted salaries, missing barcodes, or undisclosed metrics are emitted as `null` — never coerced to `0` or `"N/A"`.
- **Policy C Empty-Result Honesty (`N8`):** Invalid URLs, empty inputs, or zero-match filters emit a free `rowType: "status"` diagnostic row (`$0.00`) and exit cleanly with `SUCCEEDED`; total upstream network outages fail loudly via `Actor.fail()`.

### ⏱️ Performance — Measured

- **Default Memory:** `256 MB` (`minMemoryMbytes: 256`, `maxMemoryMbytes: 1024`), keeping `apify-actor-start` at 0.25 GB compute footprint.
- **Measured Live Verification:** Local proxy E2E verification completed in **42.4s** with `100%` valid schema fields and `0` unhandled socket hangs (`dispatcher.destroy()` cleanup on every request).

### 💼 Use Cases

#### 1. EU Cross-Border VAT-Reclaimable Export Arbitrage

Search late-model German dealer inventory with `includeDetails: true` and `sortBy: "newest"` to capture `netPriceEur` (19% MwSt. deducted), `priceRating: "VERY_GOOD_PRICE"`, and `priceRatingThresholds[]` within minutes of listing.

```json
{
  "makes": [
    "BMW",
    "Porsche"
  ],
  "sellerType": "DEALER",
  "yearMin": 2021,
  "mileageMaxKm": 80000,
  "sortBy": "newest",
  "includeDetails": true,
  "maxListingsPerSearch": 24
}
```

#### 2. High-Speed German Dealership Phone Lead Generation (`listing` at $2.00 / 1K)

Because `mobile.de` embeds `sellerPhones[]` right in the RSC search payload, you can collect hundreds of verified German dealer phone numbers (`+49...`), ZIP codes, cities, and ratings at fast search pricing.

```json
{
  "makes": [
    "Volkswagen",
    "Audi",
    "Mercedes-Benz"
  ],
  "sellerType": "DEALER",
  "maxListingsPerSearch": 48,
  "maxTotalListings": 150
}
```

#### 3. Custom Model, Trim, or Radius Search URLs (`searchUrls`)

Configure any exact model/trim (e.g. Porsche 911 GT3, VW California), ZIP radius, or damage filter on `suchen.mobile.de` and paste the URL into `searchUrls`.

```json
{
  "searchUrls": [
    "https://suchen.mobile.de/fahrzeuge/search.html?dam=false&isSearchRequest=true&ms=20100%3B%3B%3B&vc=Car"
  ],
  "maxListingsPerSearch": 24
}
```

### 🔗 Integrations (Node.js, Python, n8n, Make & Clay)

#### Python (`apify-client` v3+)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("foxlabs/mobile-de-scraper").call(run_input={"makes": ["BMW"], "sellerType": "DEALER", "includeDetails": True, "maxListingsPerSearch": 15})

for item in client.dataset(run.default_dataset_id).iterate_items():
    if item.get("rowType") != "status":
        print(item["rowKey"], item)
```

#### Node.js / TypeScript (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('foxlabs/mobile-de-scraper').call({"makes":["BMW"],"sellerType":"DEALER","includeDetails":true,"maxListingsPerSearch":15});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((r) => r.rowType !== 'status'));
```

#### Clay, n8n & Make.com

Use the official **Apify** node in **n8n** or **Make**, select `foxlabs/mobile-de-scraper`, map your dynamic search inputs, and iterate over dataset items where `rowType != "status"`. In **Clay**, use the HTTP API column pointing to `run-sync-get-dataset-items` or Standby `POST /scrape`.

### 📊 Pricing (Pay-Per-Event)

Billed at **$0.0020 per `listing`** (`$2.00 / 1,000`, already includes dealer phone numbers & market price ratings!) or **$0.0065 per `listing-detail`** (`$6.50 / 1,000`) when full net-VAT export, equipment, and dealer address/GPS enrichment is enabled (`$0` start fee, `status` rows `$0.00`).

| Event Name | Price | When It Fires |
|---|---|---|
| `listing` *(Primary — Fast Search + Dealer Phones)* | **$0.0020 / vehicle** (`$2.00 / 1,000`) | Search runs with `includeDetails: false` (default). Includes 45+ vehicle technical specs, `priceRating`, `leasingRate`, and direct dealer `sellerPhones[]`! |
| `listing-detail` *(Net VAT + Equipment + Dealer Address/GPS)* | **$0.0065 / detailed vehicle** (`$6.50 / 1,000`) | Direct `listingUrls` runs or search runs with `includeDetails: true`. Adds `netPriceEur`, `vatRatePct`, `priceRatingThresholds[]`, `kbaHsn`/`kbaTsn`, `features[]`, `sellerName`, `sellerStreet`, and GPS coordinates. Never double-charged with `listing`. |
| `status` *(Diagnostics)* | **FREE (`$0.00`)** | `empty_input`, `invalid_url`, `no_results`, `listing_not_found`, and `filtered_empty` rows cost $0. |

### ❓ Frequently Asked Questions (FAQ)

#### Does fast search mode (`listing` at $2.00 / 1,000) really include dealer phone numbers?

Yes! Our RSC stream parser extracts `contact.phones` directly from mobile.de's search payload (stripping `$undefined` placeholders), populating `primaryPhone` and `sellerPhones[]` (e.g. `"+4951219843103"`) without needing per-car detail requests.

#### When should I enable `includeDetails: true` (`listing-detail` at $6.50 / 1,000)?

Enable `includeDetails: true` (or pass `listingUrls`) when you need VAT-deductible export pricing (`netPriceEur`, `vatRatePct`), the 6-tier `priceRatingThresholds[]` valuation ladder, German `kbaHsn`/`kbaTsn` insurance/parts codes, full `features[]` equipment arrays, or complete dealership firmographics (`sellerName`, `sellerStreet`, GPS `sellerLatitude`/`sellerLongitude`, `sellerLanguages`).

#### How does the parser avoid German thousands-separator bugs (`14.594 km` vs `14.594`)?

Standard JavaScript `parseFloat("14.594 km")` wrongly returns `14.594` instead of `14594` because German uses `.` as the thousands separator. `parseGermanInt()` strips German thousands dots properly so `14.594 km` becomes integer `14594` and `2.993 cm³` becomes `2993`.

#### How are mobile.de price evaluation ratings represented?

`priceRating` returns mobile.de's exact valuation tier (`"VERY_GOOD_PRICE"`, `"GOOD_PRICE"`, `"REASONABLE_PRICE"`, `"INCREASED_PRICE"`, `"HIGH_PRICE"`, or `"NO_RATING"`), while detail mode adds localized `priceRatingLabel` (e.g. `"Sehr guter Preis"`) and `priceRatingThresholds[]`.

#### Which car brands work in the `makes` input array?

35+ major European, Asian, and US brands (`BMW`, `Mercedes-Benz`, `Audi`, `Volkswagen`, `Porsche`, `Tesla`, `Opel`, `Ford`, `Toyota`, `Skoda`, `Seat`, `Cupra`, `Renault`, `Peugeot`, `Volvo`, `Hyundai`, `Kia`, `BYD`, `Mazda`, `Mini`, `Land Rover`, `Ferrari`, etc.) map directly to official `ms=<makeId>` IDs. For specific sub-models, paste any `suchen.mobile.de` URL into `searchUrls`.

#### Do I need cookies, login credentials, or external residential proxies?

No. Anti-bot TLS and header unblocking run automatically inside the Actor with zero user configuration.

#### Are vehicles filtered out by price, year, mileage, or `sellerType` billed?

No. Filters are pushed to mobile.de's query string and verified pre-billing; excluded vehicles cost **$0.00**.

#### Am I ever double-charged `listing` and `listing-detail` for the same car?

Never. Each unique vehicle (`mobilede:car:<listingId>`) triggers either `listing` or `listing-detail` once, and sponsored `topOfPage` / `topInCategory` slots are deduplicated against organic pages.

#### How can I combine `mobile.de` and `AutoScout24` for pan-European car arbitrage?

Pair `foxlabs/mobile-de-scraper` (deepest German inventory + net VAT + KBA) with `foxlabs/autoscout24-scraper` (8 EU countries including NL, IT, BE, AT, FR, ES) to benchmark cross-border spreads.

#### What happens if a direct `listingUrls` car was already sold (`404`)?

Sold or deleted listings emit a free `rowType: "status"` (`status: "listing_not_found"`, `$0.00`) record and complete with `SUCCEEDED` under Policy C.

#### Does this Actor support Apify MCP and Standby HTTP?

Yes. Both `https://mcp.apify.com?tools=foxlabs/mobile-de-scraper` and Standby `POST /scrape` are supported out of the box.

#### What memory setting is recommended?

Use the default **256 MB** allocation — streaming RSC JSON extraction keeps peak RAM well below 100 MB.

### 🐛 Troubleshooting

- **Received a `rowType: "status"` row instead of listings?** Inspect the `status` and `message` fields on that row (`empty_input`, `invalid_url`, `no_results`, or `filtered_empty`). Relax overly strict price/rating filters or verify your target URL domain. Status rows are always **$0.00**.
- **Want to cap maximum spend per run?** Set Apify's built-in **Maximum cost per run (`maxTotalChargeUsd`)** option in Console or API calls — the Actor checks remaining budget via `calculateMaxEventChargeCountWithinLimit()` before running enrichment batches and exits cleanly when your cap is reached.

### 🚧 What It Does Not Do

- Does not decode private chassis VINs not written by the dealer.
- Does not submit automated lead inquiries or messages to dealerships.
- Does not require or accept personal mobile.de login accounts.

### ⚠️ Trademark Notice

`foxlabs/mobile-de-scraper` is an independent data extraction tool developed by **foXLabs** and is not affiliated with, endorsed by, or sponsored by the target website or its parent companies. All product and company names are trademarks of their respective holders.

### ⚖️ Is It Legal to Scrape Public mobile.de Vehicle Listings?

This Actor extracts only **publicly accessible web data** visible to unauthenticated visitors without bypassing login walls or private account areas. Users are responsible for complying with applicable data-protection regulations (such as GDPR/CCPA where personal data may appear in user-generated posts) and using extracted data lawfully.

### 🤝 Support, Custom Data & Contact

Need custom columns, higher volume SLAs, or a dedicated enterprise data feed?

- **Portfolio & Guides:** <https://data.foxlabs.com.tr>
- **Email:** `info@foxlabs.com.tr`
- **Issues:** Open a ticket on the **Issues** tab of this Actor in Apify Console (target response < 48h).

### Changelog

#### `0.1.0` (2026-11-20)

- Initial release of `foxlabs/mobile-de-scraper` with 70+ structured columns, pre-billing filters, anti-bleed circuit breakers, `SOURCE_REPORT` telemetry, and dual Batch + Standby HTTP support.

# Changelog

This Actor's version history is a separate document: https://apify.com/foxlabs/mobile-de-scraper/changelog.md

# Actor input Schema

## `makes` (type: `array`):

Car brand names to search on mobile.de (e.g. \['BMW', 'Mercedes-Benz', 'Porsche', 'Audi', 'Volkswagen', 'Tesla']).

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

Paste any custom filtered https://suchen.mobile.de/fahrzeuge/search.html?... URL (supports exact model, zip radius, and custom filters).

## `listingUrls` (type: `array`):

Direct mobile.de detail URLs (https://suchen.mobile.de/fahrzeuge/details.html?id=...) or numeric listing IDs ('listing-detail').

## `fuelType` (type: `string`):

Optional fuel / powertrain filter.

## `transmission` (type: `string`):

Optional gearbox filter.

## `sellerType` (type: `string`):

Filter between commercial Auto Dealers ('DEALER') and Private sellers ('PRIVATE').

## `sortBy` (type: `string`):

Listing sort order on mobile.de.

## `priceMinEur` (type: `integer`):

Optional minimum gross price in EUR.

## `priceMaxEur` (type: `integer`):

Optional maximum gross price in EUR.

## `yearMin` (type: `integer`):

Optional minimum registration year (e.g. 2020).

## `mileageMaxKm` (type: `integer`):

Optional maximum mileage in kilometers (e.g. 100000).

## `includeDetails` (type: `boolean`):

Visits each vehicle's detail page to extract net VAT-deductible export price, 6-tier market price thresholds, KBA HSN/TSN codes, full equipment features\[], and complete dealer street address, GPS coordinates, languages & opening hours ('listing-detail' event). Note: search mode already includes dealer phone numbers!

## `maxListingsPerSearch` (type: `integer`):

Maximum unique vehicles extracted per make or search URL (~24 vehicles per page).

## `maxTotalListings` (type: `integer`):

Hard ceiling on total billable vehicle records emitted across the entire run.

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

Apify Proxy configuration. Automatically uses anti-bot unblocking out of the box.

## Actor input object example

```json
{
  "makes": [
    "BMW"
  ],
  "fuelType": "any",
  "transmission": "any",
  "sellerType": "any",
  "sortBy": "relevance",
  "includeDetails": false,
  "maxListingsPerSearch": 24,
  "maxTotalListings": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `sourceReport` (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 = {
    "makes": [
        "BMW"
    ],
    "maxListingsPerSearch": 24,
    "maxTotalListings": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("foxlabs/mobile-de-scraper").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 = {
    "makes": ["BMW"],
    "maxListingsPerSearch": 24,
    "maxTotalListings": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/mobile-de-scraper").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 '{
  "makes": [
    "BMW"
  ],
  "maxListingsPerSearch": 24,
  "maxTotalListings": 100
}' |
apify call foxlabs/mobile-de-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,foxlabs/mobile-de-scraper"
        }
    }
}
```

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/nFjIhMZEbT6rWJd43/builds/k07PjtbWVaMZkXjNZ/openapi.json
