# Marktplaats Scraper — NL Classifieds & Prices | $0.90/1K (`bovi/marktplaats-listings-scraper`) Actor

Scrape Marktplaats.nl (Netherlands #1 classifieds) by keyword, category, location, price & seller type. Clean structured fields: price (EUR) + type (fixed/bid/free), condition, seller, GPS, images, date, URL. First-party JSON API — stable, no HTML parsing. Pay per result.

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

## Pricing

$0.90 / 1,000 listings

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/platform/actors/running/actors-in-store#pay-per-event

## 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 — NL Classifieds, Prices, Sellers

Scrape **Marktplaats.nl** (Netherlands #1 classifieds, ~10M monthly users) by keyword, category, location, price range, and seller type. Returns structured data including price type (fixed/bidding/free), condition, seller info, location, images, and all listing attributes.

### What you get

Each record contains:

| Field | Description |
|---|---|
| `listing_id` | Unique Marktplaats item ID (e.g. `m2407274983`) |
| `title` | Listing title |
| `description` | Full description text |
| `url` | Direct URL to the listing |
| `price` | Price in EUR (float) |
| `price_cents` | Price in cents (integer) |
| `price_type` | `FIXED`, `MIN_BID`, `FREE`, `FAST_BID`, or `SEE_DESCRIPTION` |
| `condition` | Item condition (e.g. `Zo goed als nieuw`, `Gebruikt`) |
| `location_city` | Seller city |
| `location_country` | Country abbreviation (`NL`) |
| `location_lat` / `location_lng` | GPS coordinates |
| `seller_id` | Seller ID |
| `seller_name` | Seller display name |
| `seller_type` | `private`, `business`, or `null` |
| `is_verified` | Whether seller is Marktplaats-verified |
| `posted_date` | Posting date (raw: `Vandaag`, `Gisteren`, or date string) |
| `image_urls` | List of full-size image URLs |
| `thumbnail` | First image URL |
| `image_count` | Number of images |
| `attributes_map` | All listing attributes as `{key: value}` flat dict |
| `is_reserved` | Whether listing is reserved |
| `priority_product` | Promoted placement type (e.g. `DAGTOPPER`) |
| `traits` | Feature flags list |
| `category_id` | Marktplaats category ID |

### Pricing

**Pay per result** — charged per listing item returned. **$0.90 per 1 000 listings** — the lowest credible price in the niche.

### Inputs

| Input | Description |
|---|---|
| `query` | Search keyword(s) — e.g. `fiets`, `iphone 14`, `volkswagen golf` |
| `l1CategoryId` | L1 category numeric ID (optional) |
| `l2CategoryId` | L2 sub-category numeric ID (optional) |
| `postcode` | Dutch postcode for proximity filter (e.g. `1012AB`) |
| `distanceMeters` | Radius around postcode in meters (e.g. `25000`) |
| `priceMin` | Minimum price in EUR |
| `priceMax` | Maximum price in EUR |
| `sellerType` | `all` (default), `private`, or `business` |
| `sortBy` | `OPTIMIZED` (default), `SORT_INDEX` (by date), `PRICE` |
| `sortOrder` | `DECREASING` (default) or `INCREASING` |
| `maxItems` | Maximum listings to return (default: 100) |
| `proxyConfiguration` | Apify RESIDENTIAL (NL) proxy — recommended |

### Access

Marktplaats uses a first-party JSON API with no CAPTCHA or JS challenge. Residential NL proxy is recommended for geo-targeting and reliability but is not strictly required for basic use.

### Use cases

- **Price monitoring** — track price history across NL classifieds
- **Inventory sourcing** — find items by category + location + condition
- **Competitive intelligence** — monitor seller pricing in a niche
- **Lead generation** — identify sellers or buyers in specific segments
- **Market research** — aggregate NL second-hand market data at scale

# Actor input Schema

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

Keyword(s) to search on Marktplaats (e.g. 'fiets', 'iphone 14', 'volkswagen golf'). Maps to the 'query' parameter on marktplaats.nl. Required unless you rely on category browsing alone.
## `l1CategoryId` (type: `integer`):

Top-level Marktplaats category numeric ID. Find it in the URL when browsing a category on marktplaats.nl (e.g. l1CategoryId=31 for Computers & Software). Leave blank for all categories.
## `l2CategoryId` (type: `integer`):

Sub-category numeric ID under the L1 category. Find it in the Marktplaats URL after navigating to a sub-category. Requires l1CategoryId to be set.
## `postcode` (type: `string`):

Dutch postcode to use as the search location centre, e.g. '1012AB' for Amsterdam. Combine with distanceMeters to filter by proximity.
## `distanceMeters` (type: `integer`):

Radius around the postcode in meters. Common values: 5000 (5 km), 10000 (10 km), 25000 (25 km), 50000 (50 km), 75000 (75 km). Only used when postcode is set.
## `priceMin` (type: `integer`):

Only return listings priced at or above this amount in euros. Leave blank for no lower bound.
## `priceMax` (type: `integer`):

Only return listings priced at or below this amount in euros. Leave blank for no upper bound.
## `sellerType` (type: `string`):

Restrict to private sellers ('private'), commercial/business sellers ('business'), or all ('all').
## `sortBy` (type: `string`):

How to sort results. SORT_INDEX = newest/date; PRICE = by price; OPTIMIZED = Marktplaats relevance (default).
## `sortOrder` (type: `string`):

DECREASING = newest first / highest price first; INCREASING = oldest first / lowest price first.
## `maxItems` (type: `integer`):

Maximum number of listings to return across all pages. Set to 0 for all available results (can be thousands — you are charged per listing returned). Default 100.
## `proxyConfiguration` (type: `object`):

Marktplaats JSON API is accessible with standard residential proxy. Apify RESIDENTIAL (NL) is recommended for best reliability and to appear as a Dutch visitor.

## Actor input object example

```json
{
  "query": "fiets",
  "sellerType": "all",
  "sortBy": "OPTIMIZED",
  "sortOrder": "DECREASING",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}
````

# Actor output Schema

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

Dataset containing Marktplaats Listings Scraper records (title, price, price\_type, condition, location\_city, seller\_name, seller\_type, posted\_date, url, image\_count, parse\_confidence).

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

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

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Marktplaats Scraper — NL Classifieds & Prices | $0.90/1K",
        "description": "Scrape Marktplaats.nl (Netherlands #1 classifieds) by keyword, category, location, price & seller type. Clean structured fields: price (EUR) + type (fixed/bid/free), condition, seller, GPS, images, date, URL. First-party JSON API — stable, no HTML parsing. Pay per result.",
        "version": "0.1",
        "x-build-id": "qJiBUUY4F8NaPaLce"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~marktplaats-listings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-marktplaats-listings-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/bovi~marktplaats-listings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-marktplaats-listings-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/bovi~marktplaats-listings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-marktplaats-listings-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": "Keyword(s) to search on Marktplaats (e.g. 'fiets', 'iphone 14', 'volkswagen golf'). Maps to the 'query' parameter on marktplaats.nl. Required unless you rely on category browsing alone."
                    },
                    "l1CategoryId": {
                        "title": "L1 Category ID (optional)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Top-level Marktplaats category numeric ID. Find it in the URL when browsing a category on marktplaats.nl (e.g. l1CategoryId=31 for Computers & Software). Leave blank for all categories."
                    },
                    "l2CategoryId": {
                        "title": "L2 Category ID (optional)",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Sub-category numeric ID under the L1 category. Find it in the Marktplaats URL after navigating to a sub-category. Requires l1CategoryId to be set."
                    },
                    "postcode": {
                        "title": "Postcode (optional)",
                        "type": "string",
                        "description": "Dutch postcode to use as the search location centre, e.g. '1012AB' for Amsterdam. Combine with distanceMeters to filter by proximity."
                    },
                    "distanceMeters": {
                        "title": "Distance (meters, optional)",
                        "minimum": 1000,
                        "type": "integer",
                        "description": "Radius around the postcode in meters. Common values: 5000 (5 km), 10000 (10 km), 25000 (25 km), 50000 (50 km), 75000 (75 km). Only used when postcode is set."
                    },
                    "priceMin": {
                        "title": "Minimum price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return listings priced at or above this amount in euros. Leave blank for no lower bound."
                    },
                    "priceMax": {
                        "title": "Maximum price (EUR)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return listings priced at or below this amount in euros. Leave blank for no upper bound."
                    },
                    "sellerType": {
                        "title": "Seller type",
                        "enum": [
                            "all",
                            "private",
                            "business"
                        ],
                        "type": "string",
                        "description": "Restrict to private sellers ('private'), commercial/business sellers ('business'), or all ('all').",
                        "default": "all"
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "OPTIMIZED",
                            "SORT_INDEX",
                            "PRICE"
                        ],
                        "type": "string",
                        "description": "How to sort results. SORT_INDEX = newest/date; PRICE = by price; OPTIMIZED = Marktplaats relevance (default).",
                        "default": "OPTIMIZED"
                    },
                    "sortOrder": {
                        "title": "Sort order",
                        "enum": [
                            "DECREASING",
                            "INCREASING"
                        ],
                        "type": "string",
                        "description": "DECREASING = newest first / highest price first; INCREASING = oldest first / lowest price first.",
                        "default": "DECREASING"
                    },
                    "maxItems": {
                        "title": "Max listings to scrape",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of listings to return across all pages. Set to 0 for all available results (can be thousands — you are charged per listing returned). Default 100.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Marktplaats JSON API is accessible with standard residential proxy. Apify RESIDENTIAL (NL) is recommended for best reliability and to appear as a Dutch visitor.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "NL"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
