# 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
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# 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 uses approximately **0.01 compute units per 100 results**. It calls a lightweight JSON API with no browser overhead.

### 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

# 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"
}
```

# 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"
};

// 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" }

# 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
}' |
apify call studio-amba/marktplaats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=studio-amba/marktplaats-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Marktplaats Scraper — Dutch Classifieds & Marketplace Data",
        "description": "Scrape classified listings from Marktplaats.nl and 2dehands.be. Search by keyword, category, location, and price. No login or cookies required.",
        "version": "0.1",
        "x-build-id": "Dc4IIHrexrg9LdBec"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/studio-amba~marktplaats-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-studio-amba-marktplaats-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/studio-amba~marktplaats-scraper/runs": {
            "post": {
                "operationId": "runs-sync-studio-amba-marktplaats-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/studio-amba~marktplaats-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-studio-amba-marktplaats-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search term (e.g. 'laptop', 'fiets', 'iPhone 15'). Leave empty to browse a category."
                    },
                    "category": {
                        "title": "Category",
                        "enum": [
                            "antiek-en-kunst",
                            "audio-tv-en-foto",
                            "auto-s",
                            "auto-onderdelen",
                            "auto-diversen",
                            "boeken",
                            "caravans-en-kamperen",
                            "cd-s-en-dvd-s",
                            "computers-en-software",
                            "contacten-en-berichten",
                            "diensten-en-vakmensen",
                            "dieren-en-toebehoren",
                            "doe-het-zelf-en-verbouw",
                            "fietsen-en-brommers",
                            "hobby-en-vrije-tijd",
                            "huis-en-inrichting",
                            "huizen-en-kamers",
                            "kinderen-en-baby-s",
                            "kleding-dames",
                            "kleding-heren",
                            "motoren",
                            "muziek-en-instrumenten",
                            "postzegels-en-munten",
                            "sieraden-tassen-en-uiterlijk",
                            "spelcomputers-en-games",
                            "sport-en-fitness",
                            "telecommunicatie",
                            "tickets-en-kaartjes",
                            "tuin-en-terras",
                            "vacatures",
                            "vakantie",
                            "verzamelen",
                            "watersport-en-boten",
                            "witgoed-en-apparatuur",
                            "zakelijke-goederen",
                            "diversen"
                        ],
                        "type": "string",
                        "description": "Top-level Marktplaats category to filter results."
                    },
                    "location": {
                        "title": "Location (Postcode)",
                        "type": "string",
                        "description": "Dutch or Belgian postcode to search around (e.g. '1012' for Amsterdam, '2000' for Antwerp)."
                    },
                    "distanceKm": {
                        "title": "Distance (km)",
                        "minimum": 0,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Search radius in kilometers from the postcode. Only works when location is set.",
                        "default": 0
                    },
                    "minPrice": {
                        "title": "Minimum Price (EUR)",
                        "minimum": 0,
                        "type": "number",
                        "description": "Minimum price filter in euros."
                    },
                    "maxPrice": {
                        "title": "Maximum Price (EUR)",
                        "minimum": 0,
                        "type": "number",
                        "description": "Maximum price filter in euros."
                    },
                    "condition": {
                        "title": "Condition",
                        "enum": [
                            "Nieuw",
                            "Zo goed als nieuw",
                            "Gebruikt"
                        ],
                        "type": "string",
                        "description": "Filter by item condition."
                    },
                    "sortBy": {
                        "title": "Sort By",
                        "enum": [
                            "relevance",
                            "newest",
                            "cheapest",
                            "most-expensive"
                        ],
                        "type": "string",
                        "description": "How to sort results.",
                        "default": "relevance"
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of listings to scrape. The API allows up to 5,000 per query.",
                        "default": 100
                    },
                    "platform": {
                        "title": "Platform",
                        "enum": [
                            "marktplaats",
                            "2dehands"
                        ],
                        "type": "string",
                        "description": "Which platform to scrape. Marktplaats.nl (Netherlands) and 2dehands.be (Belgium) use the same backend.",
                        "default": "marktplaats"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. The Marktplaats API works without proxies, but you can configure them for extra reliability."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
