# Marktplaats & 2dehands Scraper - Listings, Prices, Photos (`scrapewise/marktplaats-scraper`) Actor

Scrape Marktplaats.nl and 2dehands.be listings by keyword, price range, category and postcode: title, price, description, city, coordinates, photos, attributes, posted date and link. Goes past the 5,000-result limit per search. Error rows are free.

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

## Pricing

from $1.03 / 1,000 listing delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & 2dehands Scraper: listings, prices, photos and locations

Marktplaats & 2dehands Scraper collects **second-hand listings from Marktplaats.nl (Netherlands) and 2dehands.be
(Belgium)**, the two biggest classifieds marketplaces of the Benelux. You search by keyword, price range, category and
postcode, and each listing comes back as one clean row: title, description, price in euros, price type (fixed, bidding,
free, see description), city, country, coordinates, posted date, photos, attributes such as condition and brand, the
category, whether it is reserved, and the direct link to the listing.

It also **goes past the 5,000-result limit per search**: turn on `splitLargeSearches` and a search with hundreds of
thousands of matches is delivered in full (up to the cap you set), without duplicates.

No account, cookies or browser needed. It is used to:

- track prices of used bikes, phones, cars, furniture or any product across the Netherlands and Belgium;
- find resale deals (listings priced under market value) and watch new listings with a schedule;
- build price databases, valuation models and market reports for a category or a region;
- monitor supply and demand by city, postcode or category, with coordinates for maps.

### At a glance

| What | Price |
|---|---|
| Listing delivered | **US$ 1.35 per 1,000 listings** (US$ 0.00135 each) |
| Run start | US$ 0.005 per run |

- 1,000 listings = **about US$ 1.36** on the Free plan.
- Error rows and duplicates are never charged. `maxItems` is a hard cap, and a spending limit set on the run stops it
  cleanly with everything delivered so far.

### Quick start

```json
{
  "searchQueries": ["fiets"],
  "site": "marktplaats.nl",
  "maxItems": 100
}
```

Used e-bikes between 500 and 1,500 euros within 25 km of an Amsterdam postcode, newest first:

```json
{
  "searchQueries": ["elektrische fiets"],
  "minPrice": 500,
  "maxPrice": 1500,
  "postcode": "1012AB",
  "distanceKm": 25,
  "sortBy": "newest",
  "maxItems": 500
}
```

Belgian marketplace, every bike listing, past the 5,000-per-search limit:

```json
{
  "searchQueries": ["fiets"],
  "site": "2dehands.be",
  "splitLargeSearches": true,
  "maxItems": 20000
}
```

Or paste a search link copied from the address bar of the site:

```json
{
  "startUrls": ["https://www.marktplaats.nl/q/racefiets/"],
  "maxItems": 200
}
```

### Input

| Field | What it does |
|---|---|
| `searchQueries` | Keywords, one per line. Each keyword is one search. Dutch works best (fiets, bank, laptop, telefoon). |
| `startUrls` | Search links from marktplaats.nl or 2dehands.be. The keyword, price range, postcode and category in the link are used. |
| `site` | `marktplaats.nl` (default) or `2dehands.be`. Links in `startUrls` pick their own site. |
| `minPrice`, `maxPrice` | Price range in euros. Listings without a price are left out when a price filter is set. |
| `categoryId` | Category number, for example 445 for Fietsen en Brommers on Marktplaats. |
| `postcode`, `distanceKm` | Search around a postcode, with a radius in kilometers. |
| `sortBy` | `relevance` (default), `newest`, `oldest`, `priceAsc`, `priceDesc`. |
| `splitLargeSearches` | Off by default. On: a search with more than 5,000 results is split into price ranges and every match is delivered, up to `maxItems`. |
| `maxItems` | Cap for the whole run, across all searches (default 50; 0 = no cap). |
| `proxyConfiguration` | Apify Proxy by default. |

`searchQuery`, `query`, `keyword`, `maxResults`, `limit`, `urls`, `priceFrom` and `priceTo` are accepted too, so inputs
written for other tools keep working.

### Output

One row per listing:

| Field | What it is |
|---|---|
| `itemId`, `url` | Listing id and absolute link |
| `title`, `description` | Title and the description text as shown in search results (long texts are shortened by the site) |
| `price`, `currency`, `priceType` | Price in euros (null when the seller wrote "see description" or "on request"), `EUR`, and the type: `FIXED`, `MIN_BID`, `FAST_BID`, `FREE`, `SEE_DESCRIPTION` |
| `city`, `country`, `latitude`, `longitude` | Where the item is |
| `postedLabel`, `postedDate` | The date label as the site shows it ("Vandaag", "23 okt 26") and the same date as `YYYY-MM-DD` |
| `images`, `imageCount` | Photo links (large size) and how many |
| `attributes` | Everything the listing declares, as an object: condition, brand, size, delivery, build year, mileage... depending on the category |
| `condition`, `brand` | The two most common attributes, pulled out |
| `categoryId`, `categoryPath` | Category number and path, for example `fietsen-en-brommers/fietsen-dames-damesfietsen` |
| `reserved`, `isPromoted`, `hasVideo` | Reserved by a buyer, paid promotion, has a video |
| `site`, `searchQuery` | Marktplaats or 2dehands, and the keyword or link that found it |

One real row (text shortened):

```json
{
  "type": "listing",
  "itemId": "m2356074335",
  "url": "https://www.marktplaats.nl/v/fietsen-en-brommers/fietsen-dames-damesfietsen/m2356074335-cortina-u4-heren-fiets-56cm",
  "title": "Cortina u4 heren fiets 56cm",
  "price": 295.0,
  "currency": "EUR",
  "priceType": "FIXED",
  "city": "Amsterdam",
  "country": "Nederland",
  "latitude": 52.3745,
  "longitude": 4.8580,
  "postedLabel": "23 okt 26",
  "postedDate": "2026-10-23",
  "imageCount": 3,
  "attributes": { "delivery": "Ophalen", "condition": "Zo goed als nieuw", "brand": "Overige merken" },
  "categoryPath": "fietsen-en-brommers/fietsen-dames-damesfietsen",
  "reserved": false,
  "site": "marktplaats.nl",
  "searchQuery": "fiets"
}
```

Seller names and profiles are not part of the output.

### Going past 5,000 results

A single search shows at most 5,000 listings, even when it matches hundreds of thousands (the word "fiets" matches
over 200,000 on Marktplaats). With `splitLargeSearches` on, the Actor cuts the search into price ranges until each
range fits, delivers each one, and removes duplicates across ranges. Set `maxItems` to what you need. Expect about
1 second per 100 listings plus a few requests per range, so raise the run timeout for tens of thousands of listings.

Listings that have no price in a price range (for example "see description" or "on request") are collected on a final
pass that reaches the most recent ones; when you need all of them, narrow the search with keywords, a category or a
postcode.

### Errors you may see

Every error is a row with `errorCode` and is never charged:

| errorCode | Meaning |
|---|---|
| `INVALID_INPUT` | A number field has a wrong value |
| `INVALID_URL` | Not a Marktplaats or 2dehands search link, or a link without keyword or category |
| `INVALID_FILTER` | The site did not accept the postcode, category number or price range |
| `NO_RESULTS` | No listing matches the keyword and filters |
| `BLOCKED` | The site refused every attempt for this search; run it again in a few minutes |

### Integrations, scheduling and AI agents

- **Schedule** the same searches daily in [Apify schedules](https://docs.apify.com/platform/schedules) with
  `sortBy: newest` to catch new listings and price drops.
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier or Google Sheets through
  [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)
  in Claude, ChatGPT, Cursor or any MCP client, for example "find used road bikes under 800 euros near Utrecht and
  list the five cheapest".

### FAQ

**Do I need an account on Marktplaats or 2dehands?** No. Everything comes from public search results, without login
or cookies.

**Are Marktplaats and 2dehands the same data?** They run on the same platform with separate listings: Marktplaats is
the Dutch market and 2dehands the Belgian one. Choose with `site`, or paste links from either site.

**Which language should I search in?** The listings are written in Dutch (and some French in Belgium), so Dutch
keywords find the most.

**Is the full description included?** The description is the text shown in the search results, which the site
shortens for long listings. Title, price, photos, attributes and location are complete.

**Is it legal?** The Actor reads public listings only and returns no seller names, emails or phone numbers. You are
responsible for how you use the data under the laws that apply to you.

**Something broke or a field is missing?** Open an issue on the Actor page; issues are answered within a day.

### Limitations

- Descriptions are the shortened text of the search results.
- The posted date is the day shown by the site (no time of day).
- Seller information is not collected.
- With `splitLargeSearches`, listings without a price are reached only partly on very large searches.

### Changelog

- **26 Oct 2026:** first version: Marktplaats.nl and 2dehands.be search by keyword, price, category and postcode,
  `splitLargeSearches` for more than 5,000 results, photos, attributes and coordinates.

# Actor input Schema

## `searchQueries` (type: `array`):

What to look for, one per line, for example fiets, iphone 13 or bank. Each keyword is one search. Leave empty when you paste search links below.

## `site` (type: `string`):

Which marketplace to search. Marktplaats.nl is the Dutch site and 2dehands.be the Belgian one.

## `minPrice` (type: `number`):

Keep only listings priced at this amount or more, in euros. Listings without a price are left out when a price filter is set.

## `maxPrice` (type: `number`):

Keep only listings priced at this amount or less, in euros.

## `categoryId` (type: `integer`):

Optional category number, for example 445 for Fietsen en Brommers on Marktplaats. Use the number from the category links on the site, or paste a category link below.

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

Optional postcode to search around, for example 1012AB (Netherlands) or 9000 (Belgium). Use it together with the distance.

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

Radius around the postcode, in kilometers, for example 10.

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

Order of the results, same options as the site.

## `splitLargeSearches` (type: `boolean`):

A single search shows at most 5,000 listings. On: a search with more results is cut into price ranges and returns every match without duplicates, up to Max listings. Large searches take about 1 second per 100 listings plus a few extra requests per range, so raise the run timeout for tens of thousands.

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

Optional: search links copied from the address bar of marktplaats.nl or 2dehands.be after you set the filters on the site, for example https://www.marktplaats.nl/q/fiets/. The keyword, price range, postcode and category in the link are used. Invalid links return a free error row.

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

Hard cap for the whole run, across all searches. 0 = no cap.

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

Apify Proxy by default. Change it only if you know you need to.

## Actor input object example

```json
{
  "searchQueries": [
    "fiets"
  ],
  "site": "marktplaats.nl",
  "sortBy": "relevance",
  "splitLargeSearches": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `resultsCsv` (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 = {
    "searchQueries": [
        "fiets"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/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 = {
    "searchQueries": ["fiets"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/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 '{
  "searchQueries": [
    "fiets"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

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