# Marktplaats Scraper — Ads, Prices & Monitor (`muira_datamasters/marktplaats-scraper`) Actor

Export classified ads from Marktplaats.nl (Netherlands) with price, location, condition and photos, or monitor a search and get only new ads, price drops and removed ads on each run. No login needed.

- **URL**: https://apify.com/muira_datamasters/marktplaats-scraper.md
- **Developed by:** [Muira Datamasters](https://apify.com/muira_datamasters) (community)
- **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 ads

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 Scraper — Ads, Prices & Monitor

**What you get**

- Classified ads from [Marktplaats.nl](https://www.marktplaats.nl) (Netherlands) as clean rows: price, city, coordinates, condition, photos and link.
- Monitor mode: schedule a search and get only new ads, price drops and removed ads on each run.
- No login, no cookies. Runs on Apify's datacenter proxy.

### Sample output

Search `{"query": "gravel fiets", "category": "bikes", "location": "1012", "radiusKm": 25}`:

| title | price | priceType | city | postedAt | condition | promoted |
|---|---|---|---|---|---|---|
| GRAVEL BIKE | 750 | bidding | Nieuwe Niedorp | 2026-11-14T23:00:00.000Z | like_new | false |
| Gravel bike 52 sieze in very good condition, no scratches! | 700 | fixed | Nijkerk | 2026-11-08T23:00:00.000Z | like_new | false |
| Time ADHX 45 Carbon Gravelbike - SRAM Red/Force AXS XPLR | 4850 | bidding | Putten | null | new | true |

The third ad is a paid Dagtopper: `postedAt` is null and `attributes.bumpedAt` holds the bump date. Marktplaats shows dates by day, so `postedAt` is midnight Amsterdam time in UTC (`attributes.postedAtPrecision: "day"`).

Every row has the same fields on all four site Actors: `site, country, adId, url, title, description, price, currency, priceEur, priceType, postedAt, city, region, postalCode, lat, lng, condition, sellerType, sellerName, shipping, categoryPath, suiteCategory, attributes, images, status, promoted, scrapedAt, searchLabel, changeType, previousPrice, firstSeenAt, lastSeenAt`. Unknown values are `null`. Category-specific details (frame size, brand, mileage…) are in `attributes`.

`priceType` is `fixed`, `bidding` ("Bieden"), `negotiable` or `free`. "Zie omschrijving" ads have no price.

Measured on the Apify platform (prefill search, 50 ads, 10.3 s, datacenter proxy, no blocks): price 90%, city 100%, date 98%, photos 100%, condition 96%, coordinates 100%. The missing prices are bidding and "see description" ads.

### How to use

**Reseller: new cheap ads only.** Run every hour with a price cap:

```json
{
  "searches": [{ "query": "racefiets", "category": "bikes", "location": "3511", "radiusKm": 20 }],
  "priceMax": 400,
  "maxItems": 500,
  "monitor": { "stateKey": "utrecht-racefiets-400" }
}
```

**Analyst: export across categories.** One run, several searches, each tagged with a label:

```json
{
  "searches": [
    { "category": "phones", "query": "iphone 15", "label": "iphone" },
    { "category": "electronics", "query": "playstation 5", "label": "ps5" },
    { "category": "furniture", "query": "bank", "location": "Rotterdam", "radiusKm": 15, "label": "bank-rdam" }
  ],
  "maxItems": 3000,
  "sort": "price_asc"
}
```

**Researcher: deep export with splitting.** Marktplaats lets you page through at most 5,000 results per search. Leave `splitDeepSearches` on and large searches are split into price bands:

```json
{
  "searches": [{ "category": "bikes", "query": "gravel" }],
  "maxItems": 20000,
  "splitDeepSearches": true
}
```

**Automation builder: alerts in Slack or Telegram.** Run a Monitor on a schedule and add an Apify webhook (or use the Apify app in n8n or Make) that reads the run's dataset and posts each row. Only changes are in the dataset, so every row is an alert:

```json
{
  "searches": [{ "query": "thermomix tm6", "location": "1012", "radiusKm": 30 }],
  "monitor": { "stateKey": "amsterdam-thermomix", "emit": ["new", "priceDrop"] }
}
```

You can also paste search URLs from your browser into `startUrls`.

### Monitor mode

Add a `monitor` object to switch from export to Monitor mode.

- **stateKey** names the watch list, e.g. `utrecht-racefiets`. Use the same key on every scheduled run. Different keys are independent.
- **The first run is a silent baseline.** It records the current ads and outputs nothing. It pays the run start and the monitor scan (see Pricing), but no ads.
- **Later runs output only changes**, with `changeType` set:
  - `new`: an ad not seen before
  - `priceDrop`: the price went down (`previousPrice` holds the old one)
  - `priceIncrease`: the price went up. Off by default; add it to `emit` to get it.
  - `removed`: the ad was missing from 2 runs in a row
- **Removals are tracked only when the search is fully covered**: the whole search was read to the end within `maxItems` and the 5,000 limit. If a search has more results, `removed` is not reported for it (new ads and price changes still are), and the log says so.
- **Old ads moving up are not reported as new.** When a watched search has more results than the Actor scans, an older ad moves into the scanned part each time a newer one is sold. From the second run on, an unseen ad that was posted well before the previous run is stored without a `new` event. Ads without a posting date are still reported.
- In Monitor mode, `maxItems` limits how many ads are checked per run (200 if you leave it empty), and the sort is always newest first. On Marktplaats that order starts with paid bumps (see Limits), so leave `maxItems` well above the number of Dagtopper ads in your search, or keep the search narrow.

### Pricing

Pay per event. Exports pay per row delivered. Monitor runs pay per 100 ads checked plus per change delivered.

| Event | Price |
|---|---|
| Actor start | $0.005 |
| Ad (one output row) | $1.50 per 1,000 |
| Monitor scan (Monitor mode only) | $0.005 per 100 ads checked |

Include ad details has no effect on Marktplaats and costs nothing: the search results already contain everything the Actor outputs.

| Example | Cost |
|---|---|
| Export of 1,000 ads | $1.505 |
| Hourly Monitor of 200 ads, 5 changes per run | $0.005 + 2 × $0.005 + 5 × $0.0015 = $0.0225 per run, about $16 per month |
| Monitor baseline run of 200 ads | $0.005 + 2 × $0.005 = $0.015 |

In Monitor mode every run, the baseline included, pays one monitor scan event per started 100 ads checked (201 ads = 3 events), because every check fetches the ads. Unchanged ads are not output and not charged per ad; each change row is charged like any other row. If you set a maximum cost per run, the scan cost is reserved first: the Actor checks fewer ads if the limit requires it, and change rows use what is left.

Free plan: at most 100 ads per run. You can set a maximum cost per run in the run options; the Actor stops cleanly when it is reached.

### Limits

- **5,000 results per search.** With splitting on, a larger search is split into price bands (there is no region split). Ads without a price can only be reached in the unsplit search, so some may be missed.
- Splitting only happens when you ask for more ads than one search can reach. A request that fits is read in the site's own order, so `maxItems: 100` with `sort: newest` returns the 100 newest ads, and `price_asc` the 100 cheapest.
- **Location needs a Dutch postcode or place.** Marktplaats searches by postcode and distance. A 4-digit postcode (`1012`) works best; Dutch place names are converted to a postcode first. Places outside the Netherlands are rejected. Default radius: 10 km.
- **Newest first is ordered by paid bumps.** Marktplaats' "Datum (nieuw-oud)" sorts by the last bump, so Dagtopper ads (paid daily bumps) come first. In busy categories the first pages can be almost all Dagtoppers. They have `promoted: true`, so you can filter them out. For bumped ads `postedAt` is null and `attributes.bumpedAt` holds the bump date. For other ads `postedAt` is the date Marktplaats shows, which resets when the seller renews the ad.
- **Descriptions are snippets** of about 250 characters, as in the search results.
- **Sub-category URLs are not supported.** Marktplaats' search ignores sub-categories and filter facets, so pasted URLs with them are rejected rather than silently broadened. Use a main category plus keywords.
- Condition and seller type are filtered after download. Ads whose seller type is unknown are kept; Marktplaats marks business sellers only in some categories and for Admarkt ads.

### Data and privacy

- No phone numbers or email addresses are collected.
- Private sellers' names are never output. `sellerName` is filled only for business sellers, and only when you turn on **Include business seller names**.
- Images are output as URLs. No files are downloaded.
- You are the controller of the data you collect. Ads can contain personal data under GDPR: you need a lawful basis for your use, keep data only as long as you need it, and respect Marktplaats' terms.

### Other countries

Same input and output schema in DE, NL, ES, IT. A dataset from one Actor can be merged with the others without mapping.

- [Kleinanzeigen Scraper](https://apify.com/muira_datamasters/kleinanzeigen-scraper) (Germany)
- [Marktplaats Scraper](https://apify.com/muira_datamasters/marktplaats-scraper) (Netherlands)
- [Wallapop Scraper](https://apify.com/muira_datamasters/wallapop-scraper) (Spain)
- [Subito Scraper](https://apify.com/muira_datamasters/subito-scraper) (Italy)
- [European Classifieds Price Compare](https://apify.com/muira_datamasters/european-classifieds-price-compare): median price for one search in all four countries, keeping only ads whose title matches the query

### FAQ

**Why did my first Monitor run return nothing?**
The first run with a new `stateKey` is the baseline. It stores the current ads and outputs nothing. From the second run on you get changes.

**Why fewer ads than the site shows?**
Marktplaats lets you page through at most 5,000 results per search. Turn on splitting, or narrow the search. Also check `maxItems`, price filters and the free-plan limit of 100 ads per run.

**Why are the newest results all old ads, with `postedAt` null?**
They are Dagtoppers: paid bumps that put older ads back on top. The bump date is in `attributes.bumpedAt`. Filter on `promoted: false`, or narrow the search.

**My city is not found.**
Use a 4-digit Dutch postcode, e.g. `1012` for central Amsterdam.

**Can I get the seller's phone number?**
No. Phone numbers and emails are never collected.

### In het Nederlands

Deze Actor haalt advertenties op van marktplaats.nl: titel, prijs, plaats, coördinaten, staat, foto's en link. Inloggen is niet nodig. Je zoekt op trefwoord, categorie, postcode en afstand, of je plakt zoek-URL's uit je browser. Grote zoekopdrachten worden op prijs opgesplitst, zodat je meer krijgt dan de 5.000 resultaten die Marktplaats per zoekopdracht toont.

In de monitormodus draait een zoekopdracht op vaste tijden en krijg je alleen wat er veranderd is: nieuwe advertenties, prijsdalingen en verwijderde advertenties. De eerste run legt alleen de huidige stand vast; je betaalt dan alleen de start en de monitorscan, niets per advertentie.

Let op: "nieuwste eerst" op Marktplaats begint met Dagtoppers (betaalde bumps). Die hebben `promoted: true`, dus je kunt ze eruit filteren.

Prijs: $1,50 per 1.000 advertenties plus $0,005 per start. In de monitormodus betaal je per run ook $0,005 per begonnen 100 gecontroleerde advertenties (monitorscan), en $0,0015 per gemelde wijziging.

Privacy: telefoonnummers en e-mailadressen worden nooit verzameld, namen van particuliere verkopers nooit uitgevoerd. Jij bent verantwoordelijk voor het gebruik van de gegevens en hebt een rechtsgrond onder de AVG nodig.

# Actor input Schema

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

One entry per search on marktplaats.nl. Each search can have:<br><b>query</b>: keywords as you would type them on Marktplaats<br><b>category</b>: one of <code>bikes, electronics, phones, cars, furniture, fashion</code> (mapped to the matching Marktplaats category)<br><b>siteCategory</b>: Marktplaats category id, for a category not in the list above. Overrides <i>category</i><br><b>location</b>: <b>A 4-digit Dutch postcode works best</b> (e.g. <code>1012</code> for central Amsterdam), because Marktplaats searches by postcode and distance. City names are converted to a postcode first. Leave it out to search all of the Netherlands.<br><b>radiusKm</b>: Kilometres around the postcode.<br><b>label</b>: your own name for the search, copied to each result's <i>searchLabel</i><br>Each search needs at least a query, category, siteCategory or location. Example: <code>{"query":"gravel fiets","category":"bikes","location":"1012","radiusKm":25}</code>

## `startUrls` (type: `array`):

Optional. Paste search result links copied from your browser on marktplaats.nl, with any filters you set there. Each link is crawled like one search.

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

Stop after this many ads in total across all searches (default 1,000). In Monitor mode it limits how many ads are checked per run (only changes are output); if left empty, Monitor checks 200 ads per run. Monitor checks are charged as a <i>monitor-scan</i> event per 100 ads.

## `priceMin` (type: `integer`):

In euros. Ads without a price are left out when a price limit is set.

## `priceMax` (type: `integer`):

In euros. Ads without a price are left out when a price limit is set.

## `condition` (type: `array`):

Keep only ads in these conditions. Empty = all. <i>new</i>, <i>like_new</i> and <i>used</i> are filtered by Marktplaats itself (Nieuw, Zo goed als nieuw, Gebruikt); other values are checked after loading, and ads without a condition are then kept.

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

Private sellers, businesses or both.

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

Order in which Marktplaats lists ads. Monitor mode always uses newest first.

## `monitor` (type: `object`):

Fill this in to switch from a full export to <b>Monitor mode</b>: each run outputs only what changed since the previous run with the same <b>stateKey</b>. Each run checks up to <i>Max results</i> ads (200 if left empty) and is charged a <i>monitor-scan</i> event per 100 ads checked, plus one event per change output. The first run only records the current ads and outputs nothing: it pays the monitor-scan events but no per-ad events. <b>stateKey</b> (required): any name for this watch list, e.g. <code>berlin-gravel</code>; reuse it on every scheduled run. <b>emit</b>: which changes to output, any of <code>new</code>, <code>priceDrop</code>, <code>priceIncrease</code>, <code>removed</code> (default: new, priceDrop, removed). Removed ads are reported only for searches that fit within <i>Max results</i>. Example: <code>{"stateKey": "berlin-gravel", "emit": \["new", "priceDrop", "removed"]}</code>. Leave empty for a normal export.

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

<b>No effect on Marktplaats</b>: the search results already carry price, condition, location, coordinates and photos, so no ad pages are opened and nothing extra is charged.

## `includeSellerNames` (type: `boolean`):

Adds the shop or company name for business sellers. Private sellers' names are never collected, and neither are phone numbers or emails.

## `splitDeepSearches` (type: `boolean`):

Marktplaats only lets you page through a limited number of results per search. When a search has more, it is split into price bands so you can get all of them. Turn off to stop at the site limit.

## `proxy` (type: `object`):

Apify Proxy (datacenter) works for Marktplaats in most cases; if the site starts blocking, the run switches to residential proxies in the Netherlands on its own. You can also choose your own proxies.

## `healthCheck` (type: `object`):

Optional. Marks the run as <b>failed</b> when the site returned too few ads or the main fields are no longer filled, so a scheduled run can alert you when Marktplaats changes its site. Results are still saved and charged. Example: <code>{"minAds": 20, "minFillRate": 0.9, "minPriceFillRate": 0.75}</code>. <i>minFillRate</i> covers title, link and city.

## Actor input object example

```json
{
  "searches": [
    {
      "query": "gravel fiets",
      "category": "bikes",
      "location": "1012",
      "radiusKm": 25
    }
  ],
  "maxItems": 50,
  "sellerType": "any",
  "sort": "newest",
  "includeDetails": false,
  "includeSellerNames": false,
  "splitDeepSearches": true,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per ad (Export) or per change (Monitor: new, priceDrop, priceIncrease, removed), in the shared European Classifieds schema.

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

Counts for this run: pages fetched, ads pushed and charged, filtered ads, splits, proxy used, field fill rates and the health-check result.

# 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": [
        {
            "query": "gravel fiets",
            "category": "bikes",
            "location": "1012",
            "radiusKm": 25
        }
    ],
    "maxItems": 50,
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("muira_datamasters/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 = {
    "searches": [{
            "query": "gravel fiets",
            "category": "bikes",
            "location": "1012",
            "radiusKm": 25,
        }],
    "maxItems": 50,
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("muira_datamasters/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 '{
  "searches": [
    {
      "query": "gravel fiets",
      "category": "bikes",
      "location": "1012",
      "radiusKm": 25
    }
  ],
  "maxItems": 50,
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call muira_datamasters/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

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