# Marktplaats Scraper — Dutch Classifieds & Marketplace Data (`studio-amba/marktplaats-scraper`) Actor

Scrape classified listings from Marktplaats.nl and 2dehands.be. Search by keyword, category, location, and price. No login or cookies required.

- **URL**: https://apify.com/studio-amba/marktplaats-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 10 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result scrapeds

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

Scrape classified listings from Marktplaats.nl — the Netherlands' largest online marketplace with over 10 million active listings. Also supports 2dehands.be (Belgium) which runs on the same backend. Extract prices, seller info, images, locations, and more. No login or cookies required.

### Why use this actor?

Marktplaats dominates the Dutch classifieds market with millions of daily visitors. This actor calls the internal Marktplaats API directly, giving you fast, structured data for market research, price monitoring, competitor analysis, and inventory sourcing.

**Use cases:**

- **Price monitoring** — track secondhand market prices for any product category
- **Market research** — analyze listing volumes, pricing trends, and regional supply
- **Inventory sourcing** — find deals on electronics, furniture, vehicles, and more
- **Competitor analysis** — monitor what sellers are listing and at what prices
- **Cross-border analysis** — compare NL (Marktplaats) and BE (2dehands) markets with one actor

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | String | No | Search term (e.g. "laptop", "fiets", "iPhone 15") |
| `category` | String | No | Marktplaats category (e.g. "auto-s", "fietsen-en-brommers") |
| `location` | String | No | Postcode to search around (e.g. "1012" for Amsterdam) |
| `distanceKm` | Integer | No | Search radius in km from the postcode |
| `minPrice` | Number | No | Minimum price filter in EUR |
| `maxPrice` | Number | No | Maximum price filter in EUR |
| `condition` | String | No | Filter: "Nieuw", "Zo goed als nieuw", or "Gebruikt" |
| `sortBy` | String | No | Sort: "relevance", "newest", "cheapest", "most-expensive" |
| `maxResults` | Integer | No | Maximum listings to return (default: 100, max: 5,000) |
| `platform` | String | No | "marktplaats" (default) or "2dehands" for Belgium |
| `proxyConfiguration` | Object | No | Proxy settings for extra reliability |

### Output

Each result contains:

| Field | Type | Example |
|-------|------|---------|
| `itemId` | String | `"m2045678901"` |
| `title` | String | `"iPhone 15 Pro 256GB zwart"` |
| `description` | String | Full listing description |
| `price` | Number | `849.00` |
| `currency` | String | `"EUR"` |
| `priceType` | String | `"FIXED"`, `"BIDDING"`, `"SEE_DESCRIPTION"` |
| `condition` | String | `"Zo goed als nieuw"` |
| `deliveryMethod` | String | `"Ophalen of Verzenden"` |
| `city` | String | `"Amsterdam"` |
| `country` | String | `"Netherlands"` |
| `latitude` | Number | `52.3676` |
| `longitude` | Number | `4.9041` |
| `sellerName` | String | `"Piet"` |
| `sellerId` | Number | `12345678` |
| `sellerVerified` | Boolean | `true` |
| `category` | String | `"Telecommunicatie"` |
| `imageUrls` | Array | List of image URLs |
| `listingDate` | String | `"2026-04-01T10:30:00Z"` |
| `url` | String | Full listing URL |
| `platform` | String | `"marktplaats"` |
| `scrapedAt` | String | ISO timestamp |

### Example output

```json
{
    "itemId": "m2045678901",
    "title": "iPhone 15 Pro 256GB zwart - als nieuw",
    "description": "Te koop: iPhone 15 Pro 256GB in zwart, nauwelijks gebruikt...",
    "price": 849.00,
    "currency": "EUR",
    "priceType": "FIXED",
    "condition": "Zo goed als nieuw",
    "deliveryMethod": "Ophalen of Verzenden",
    "city": "Amsterdam",
    "country": "Netherlands",
    "latitude": 52.3676,
    "longitude": 4.9041,
    "sellerName": "Piet",
    "sellerId": 12345678,
    "sellerVerified": true,
    "category": "Telecommunicatie",
    "imageUrls": [
        "https://images.marktplaats.com/api/v1/listing-mp-prod/images/ab/ab123456.jpg"
    ],
    "listingDate": "2026-04-01T10:30:00Z",
    "url": "https://www.marktplaats.nl/v/telecommunicatie/mobiele-telefoons/m2045678901-iphone-15-pro-256gb",
    "platform": "marktplaats",
    "scrapedAt": "2026-04-08T12:00:00.000Z"
}
```

### How to use the API

Call the actor via the Apify API:

```bash
curl "https://api.apify.com/v2/acts/studio-amba~marktplaats-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -X POST \
  -d '{"query": "fiets", "maxResults": 50}' \
  -H "Content-Type: application/json"
```

### Cost estimate

This actor calls a lightweight JSON API with no browser overhead. It charges $0.02 per run (start fee, based on its 4 GB memory allocation) plus $0.002 per result scraped. 100 results costs about $0.22; 1,000 results about $2.02. A run's usage cost only settles after it reports SUCCEEDED.

### Tips

- Use `platform: "2dehands"` to scrape Belgian listings from 2dehands.be
- Combine `location` + `distanceKm` for local market analysis
- The 35 category options cover everything from cars to electronics to real estate
- Works without proxies but you can add them for extra reliability

### Limitations

- The API returns a maximum of 5,000 results per query
- Some fields (condition, delivery method) may be empty if the seller didn't fill them in
- Data is scraped from the internal API and may change without notice
- Respect the website's terms of service and use responsibly

### How to scrape Marktplaats data

1. Go to this actor's page on the [Apify Store](https://apify.com/store).
2. Click **Try for free** to open it in Apify Console.
3. Configure your search query or URL, set the maximum number of results, and adjust proxy settings if needed.
4. Click **Start** and wait for the run to finish.
5. Download your data in JSON, CSV, Excel, or connect it to your workflow via API.

You can also schedule regular runs, set up webhooks for real-time notifications, or integrate the results directly into your application using the [Apify API](https://docs.apify.com/api).

# Actor input Schema

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

Search term (e.g. 'laptop', 'fiets', 'iPhone 15'). Leave empty to browse a category.

## `category` (type: `string`):

Top-level Marktplaats category to filter results.

## `location` (type: `string`):

Dutch or Belgian postcode to search around (e.g. '1012' for Amsterdam, '2000' for Antwerp).

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

Search radius in kilometers from the postcode. Only works when location is set.

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

Minimum price filter in euros.

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

Maximum price filter in euros.

## `condition` (type: `string`):

Filter by item condition.

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

How to sort results.

## `maxResults` (type: `integer`):

Maximum number of listings to scrape. The API allows up to 5,000 per query.

## `platform` (type: `string`):

Which platform to scrape. Marktplaats.nl (Netherlands) and 2dehands.be (Belgium) use the same backend.

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

Proxy settings. The Marktplaats API works without proxies, but you can configure them for extra reliability.

## Actor input object example

```json
{
  "query": "laptop",
  "distanceKm": 0,
  "sortBy": "relevance",
  "maxResults": 100,
  "platform": "marktplaats",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}
```

# 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": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "NL"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/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": "laptop",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "NL",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/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": "laptop",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}' |
apify call studio-amba/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

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