# Marktplaats.nl Car Scraper (`rastriq/marktplaats-scraper`) Actor

Scrape car listings from Marktplaats.nl, the largest Dutch marketplace: make, model, year, mileage, price, fuel, gearbox, city and dealer flag. No proxy needed, about 30 cars per page.

- **URL**: https://apify.com/rastriq/marktplaats-scraper.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 car 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

## Marktplaats.nl Car Scraper

Scrape used car listings from **Marktplaats.nl**, the largest online marketplace in the Netherlands. Marktplaats.nl Car Scraper turns the *Auto's* search results into clean, structured data: make, model, year, mileage, asking price, fuel type, gearbox, city, dealer flag, photo and listing URL. No proxy, no login, no browser: about 30 cars per page in a few seconds.

### 🚗 What is Marktplaats.nl Car Scraper?

Marktplaats.nl Car Scraper is a Marktplaats scraper and unofficial Marktplaats API for the car section of the site. Marktplaats (part of the Adevinta group, formerly eBay Classifieds) carries one of the largest used car inventories in the Netherlands, from private sellers and dealers alike, which makes it a reference point for second-hand car prices in the Dutch market.

The scraper reads the structured data that Marktplaats embeds in each search results page, so you get the same values the site shows, without parsing fragile HTML. Listings come newest first, which makes the actor a good fit for scheduled runs that track what has just been put up for sale.

Use it to:

- 📈 **Track used car prices** in the Dutch market by make, model, year and mileage.
- 🏷️ **Benchmark your stock** against what private sellers and dealers are asking.
- 🔔 **Spot new listings early** with a scheduled run every hour or every day.
- 🧮 **Feed valuation models** and market research with fresh asking prices.
- 🏪 **Separate dealer and private supply** with the `is_professional` flag.

### 📋 What data does Marktplaats.nl Car Scraper extract?

| Field | Description |
|---|---|
| 🆔 `id` | Marktplaats listing ID (for example `m2444043775`) |
| 📝 `title` | Listing title as written by the seller |
| 🏭 `make` | Car brand (Peugeot, Volkswagen, BMW...) |
| 🚘 `model` | Model (207, Golf, 3-serie...) |
| 📅 `year` | Construction year |
| 🛣️ `km` | Mileage in km (see the note below) |
| 💶 `price` | Asking price in EUR |
| 💱 `currency` | Always `EUR` |
| ⛽ `fuel_type` | Fuel, in Dutch: Benzine, Diesel, Elektrisch, Hybride... |
| ⚙️ `gearbox` | Handgeschakeld (manual) or Automaat (automatic) |
| 📍 `city` | City of the listing |
| 🏪 `is_professional` | `true` when the seller has a business storefront |
| 🔗 `url` | Link to the listing page |
| 🖼️ `img_url` | First listing photo |
| 🕒 `scraped_at` | UTC timestamp of extraction |
| 🌐 `source` | Always `marktplaats.nl` |

**Be aware of what is not there.** All fields come from the search results page, not from each listing's detail page. That keeps runs fast and cheap, but it has limits:

- **`km` is empty on roughly 22 % of listings (about one in five).** Marktplaats leaves the mileage out of the search results for those cars, so the scraper cannot fill it. Across our test runs the share of empty `km` was 21.7 % to 27 % per sample. Every other core field (make, model, year, price, URL) is filled on 95 % or more of rows.
- **`hp` and `region` are always `null`.** The search results carry neither engine power nor province. The columns exist only so the output lines up with our other car marketplace scrapers.
- **No seller names, phone numbers or descriptions.** The scraper does not collect personal data.
- `fuel_type` and `gearbox` keep the Dutch labels used on the site.

### 🛠️ How to use Marktplaats.nl Car Scraper

1. Open Marktplaats.nl Car Scraper in Apify Console and click **Try for free**.
2. Set **Max search pages**. The prefill is 1 page, about 30 cars.
3. Leave **Proxy configuration** off. It is not needed.
4. Click **Start**. A one-page run finishes in under 10 seconds.
5. Open the **Output** tab and download the results as JSON, CSV, Excel or XML, or read them through the Apify API.
6. To monitor the market, create a **Schedule** (for example every 6 hours) and connect it to Google Sheets, Make, Zapier or a webhook.

#### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `max_pages` | integer | 3 | Search result pages to scrape, newest first. About 30 cars per page; maximum 500. |
| `proxyConfiguration` | object | no proxy | Optional Apify Proxy. When enabled, each page goes through a new proxy URL. |

The scraper covers the whole *Auto's* section, newest listings first. It does not yet filter by brand, price or location; filter the dataset after the run, or run it on a schedule and keep only the new IDs.

#### Input example

```json
{
  "max_pages": 1
}
```

### 📦 Output example

One item from a real run (14 November 2026):

```json
{
  "id": "m2444043775",
  "title": "Peugeot 207 1.6 VTI 16V 5DRS 2010 Zwart",
  "make": "Peugeot",
  "model": "207",
  "year": 2010,
  "km": 159000,
  "hp": null,
  "price": 2200,
  "currency": "EUR",
  "fuel_type": "Benzine",
  "gearbox": "Handgeschakeld",
  "city": "Woerden",
  "region": null,
  "is_professional": true,
  "url": "https://www.marktplaats.nl/v/auto-s/peugeot/m2444043775-peugeot-207-1-6-vti-16v-5drs-2010-zwart",
  "img_url": "https://images.marktplaats.com/api/v1/hz-mp-pro-listing/images/8d544771-13f1-4a3d-8d45-f6201a734d42?rule=ecg_mp_eps$_82.jpg",
  "source": "marktplaats.nl",
  "scraped_at": "2026-11-14T07:37:57.238688+00:00"
}
```

In Apify Console the **Overview** view shows title, make, model, year, km, price, fuel, gearbox, city, dealer flag and link; the **All fields** view adds the photo, ID and timestamp.

### 💰 How much does it cost to scrape Marktplaats?

Marktplaats.nl Car Scraper uses pay-per-event pricing. You pay only for results:

- **$1.50 per 1,000 car listings** saved to the dataset;
- **$0.005 per run start**.

No proxy or compute costs are added on top. Some examples:

| Run | Listings | Cost |
|---|---|---|
| Test run (1 page) | ~30 | about $0.05 |
| 10 pages | ~300 | about $0.46 |
| 100 pages | ~3,000 | about $4.51 |

With the $5 of free monthly credit on Apify's free plan you can scrape about 3,000 listings a month at no cost. Set a **maximum cost per run** in the run options if you want a hard cap.

### ⚠️ Limits

- About 30 listings per search page; `max_pages` goes up to 500.
- If a page past the first comes back empty, the run stops there and keeps everything it found.
- A run that extracts nothing (blocked, page layout changed) ends as **FAILED** instead of a green run with an empty dataset, so your schedules and integrations notice.
- Results reflect what the search page shows at run time. Prices and availability change quickly.

### 🔗 Related actors

- [2dehands Scraper](https://apify.com/rastriq/2dehands-scraper): the Belgian sister site of Marktplaats.
- [Mobile.de Scraper](https://apify.com/rastriq/mobile-de-scraper): Germany's largest car marketplace.
- [Wallapop Cars Scraper](https://apify.com/rastriq/wallapop-cars-scraper): used cars in Spain.

### ❓ FAQ

**Do I need a proxy to use Marktplaats.nl Car Scraper?**
No. Marktplaats serves its search pages to a normal connection, and our test runs used no proxy at all. The proxy setting is there only as a fallback: if your log ever shows `HTTP 403`, enable Apify Proxy with the RESIDENTIAL group and country NL. Residential traffic is billed by Apify separately, per GB.

**Why is the mileage missing on some cars?**
Marktplaats does not include the mileage in the search results for about one listing in five. The scraper reports `null` rather than guessing. If you need complete mileage data, filter on `km` not being null.

**Is it legal to scrape Marktplaats?**
The scraper collects only public listing data (car details, price, city and link) and no personal data about sellers. You are responsible for how you use the data, including compliance with the GDPR and with Marktplaats' terms of use. Read more in Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

**Can I filter by brand, price or region?**
Not in the input yet. The scraper reads the general car feed, newest first. Filter the dataset afterwards, or tell us in the Issues tab which filters you need.

**Can I use the output in Excel, Google Sheets or my own app?**
Yes. Export from the Output tab, use the Apify API, or connect an integration such as Google Sheets, Make, Zapier or a webhook.

**Something broke. What should I do?**
Open an issue in the **Issues** tab with the run ID. Marktplaats.nl Car Scraper fails loudly when it extracts nothing, so a FAILED run usually means the site changed and we need to update the parser.

# Changelog

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

# Actor input Schema

## `max_pages` (type: `integer`):

Enter how many search result pages to scrape, newest listings first. Each page returns about <b>30 cars</b>, so 10 pages ≈ 300 listings. Start with 1 page for a test run.

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

Optional. When enabled, every search page is requested through a new Apify Proxy URL. Without it the scraper connects directly. If you ever see HTTP 403, try the <b>RESIDENTIAL</b> group with country <b>NL</b> (residential traffic is billed by Apify per GB).

## Actor input object example

```json
{
  "max_pages": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All scraped listings in the default dataset.

# 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 = {
    "max_pages": 1,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/marktplaats-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 = {
    "max_pages": 1,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/marktplaats-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 '{
  "max_pages": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rastriq/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rastriq/marktplaats-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/6fRkHgU4JOOCJwM6m/builds/cAdFj61nTpfB6GbX4/openapi.json
