# Marktplaats Scraper (`snappytools/marktplaats-scraper`) Actor

Type in a search term, the same as you would on marktplaats.nl, and get back one row per listing. Each row has the title, priceEur, priceType, categoryId, city, sellerType, postedAt and a clean url that opens the ad. You can narrow the search to a Dutch postcode and a radius.

- **URL**: https://apify.com/snappytools/marktplaats-scraper.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.90 / 1,000 results

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 – Dutch classified listings with prices

Type in a search term, the same as you would on marktplaats.nl, and get back one row per listing. Each row has the `title`, `priceEur`, `priceType`, `categoryId`, `city`, `sellerType`, `postedAt` and a clean `url` that opens the ad.

You can narrow the search to a Dutch postcode and a radius, and sort by newest or cheapest. Run it on a schedule with **Newest first** and you get a fresh feed of what was just listed.

### Why this one

- **Fields you can filter on.** Price in euros, price type, category, city and seller type come back as separate columns, not a blob of text.
- **Stable IDs.** Every row carries the Marktplaats ad ID in `id`, so you can de-duplicate across runs.
- **Business or private.** The `sellerType` column tells you if the ad is from a shop or a private person.
- **Bounded runs.** You set **Max listings**, capped at 1,000, so a run never costs more than you planned.
- **Cheap.** $1.90 per 1,000 results, and runs with no results cost nothing.

### Quick start

```json
{
  "query": "fiets",
  "maxItems": 5,
  "sort": "newest",
  "distanceKm": 25
}
```

This returns the 5 newest listings for "fiets". In a test run on 7 Nov 2026 it returned 5 rows.

### What you can use it for

| Who | What for |
|---|---|
| Resellers | Spot underpriced items in a category as soon as they are listed |
| Market researchers | Track asking prices for a product over weeks |
| Second-hand shops | Check what competitors in your city are asking |
| Price comparison sites | Feed Dutch used-goods prices into a comparison table |

### How to use it

1. Click **Try for free**.
2. Fill in **Search term**, for example `iphone 13`.
3. Set **Max listings**, for example `100` (1 to 1,000).
4. Pick a **Sort order**: relevance, newest or priceAsc (cheapest first).
5. Optional: enter a **Postcode** such as `1012AB` and a **Distance (km)** such as `10`. Leave the postcode empty to search the whole of the Netherlands.
6. Click **Start**.

Tip: schedule the run daily with newest first to keep a feed of fresh ads.

### Input example

```json
{
  "query": "bakfiets",
  "maxItems": 100,
  "sort": "priceAsc",
  "postcode": "3511AB",
  "distanceKm": 15
}
```

### What data you get

Each dataset row is one listing with these fields.

| Field | What it is | Example |
|---|---|---|
| `id` | Marktplaats ad ID | `m2410878711` |
| `url` | Link to the ad | `https://www.marktplaats.nl/v/diensten-en-vakmensen/lassers-en-metaalbewerking/m2410878711-iets-voor-lassen-ook-op-locatie-apk-probleem-ik-help-je` |
| `title` | Ad title | `Pianolessen` |
| `description` | Short description shown in search | `Pianolessen in amsterdam oost? Beter en leuker ga je het niet vinden...` |
| `priceEur` | Asking price in euros, empty if none | `25` |
| `priceType` | Price kind as Marktplaats reports it | `FIXED` |
| `categoryId` | Marktplaats category number | `2607` |
| `city` | City of the listing | `Oss` |
| `country` | Country | `Nederland` |
| `sellerType` | Seller kind | `private` |
| `imageUrl` | First photo | `https://images.marktplaats.com/api/v1/hz-mp-pro-listing/images/3a9d7200-4c57-435a-af8e-0b2d5302e825?rule=ecg_mp_eps$_85.jpg` |
| `postedAt` | When the ad was posted, if given (can be empty) | `null` |
| `scrapedAt` | When this row was saved | `2026-11-07T22:30:35.770Z` |
| `query` | Search term that found it | `fiets` |

### Pricing

| Event | Price |
|---|---|
| Result (each row saved to the dataset) | $0.0019 |

There is no start fee. Runs with no results cost nothing.

| Run | Cost |
|---|---|
| 100 results | $0.19 |
| 1,000 results | $1.90 |
| 10,000 results | $19.00 |

### Good to know

- **Limits:** up to 1,000 listings per run.
- **Where the data comes from:** the public Marktplaats search pages. No login is needed.
- **Search matches:** results are whatever Marktplaats returns for your term, so some ads only mention the word in the text.
- **Empty fields:** `priceEur` is empty when the ad has no fixed price (for example `SEE_DESCRIPTION`), and `postedAt` can be empty.
- **Freshness:** data is as it was at the moment of the run; ads can be removed or changed later.
- **Not affiliated:** this tool isn't affiliated with or endorsed by Marktplaats.

### FAQ

**Can I search a whole category?** Use a broad search term that fits the category, then filter by `categoryId` afterwards.

**Why is `priceEur` empty?** The ad has no fixed price. Check `priceType` to see why.

**Do I need a Marktplaats account?** No.

### Getting the data out

Download results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is available through the Apify API, and you can run it on a timer from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

# Actor input Schema

## `query` (type: `string`):

What you would type into the Marktplaats search box, for example fiets or iphone 13.

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

Upper limit on how many listings are saved in this run (1 to 1000).

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

How Marktplaats orders results: relevance, newest first, or cheapest first.

## `postcode` (type: `string`):

Optional Dutch postcode to search around, for example 1012AB. Leave empty for all of the Netherlands.

## `distanceKm` (type: `integer`):

Radius around the postcode in kilometres. Only used when a postcode is set.

## Actor input object example

```json
{
  "query": "fiets",
  "maxItems": 20,
  "sort": "newest",
  "distanceKm": 25
}
```

# 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 = {
    "query": "fiets",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/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 = {
    "query": "fiets",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("snappytools/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 '{
  "query": "fiets",
  "maxItems": 20
}' |
apify call snappytools/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

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