# Marktplaats.nl Scraper - Dutch Classifieds & Marketplace (`santamaria-automations/marktplaats-nl-scraper`) Actor

Scrape classified listings from Marktplaats.nl. Paste any search URL with filters. Extract title, price, location, seller info, images, and attributes. Pay per result.

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

## Pricing

from $3.00 / 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/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.nl Scraper

Scrape classified listings from [Marktplaats.nl](https://www.marktplaats.nl), a Dutch classifieds marketplace.

### How it works

1. Go to [marktplaats.nl](https://www.marktplaats.nl) and set up your search with all desired filters (category, price range, location, seller type, etc.)
2. Copy the URL from your browser
3. Paste it into the **Search URLs** input
4. Run the actor

That's it. The actor extracts all listings matching your search, with automatic pagination.

### Use with AI Agents (MCP)

Connect this actor to any MCP-compatible AI client: Claude Desktop, Claude.ai, Cursor, VS Code, LangChain, LlamaIndex, or custom agents.

**Apify MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/marktplaats-nl-scraper
```

**Example prompt once connected:**

> "Use `marktplaats-nl-scraper` to scrape company data from marktplaats nl. Return results as a table."

Clients that support dynamic tool discovery (Claude.ai, VS Code) will receive the full input schema automatically via `add-actor`.

### Features

- **Any filter combination** -- Whatever you can filter on marktplaats.nl, the actor can scrape
- **Multiple searches** -- Paste multiple URLs to run several searches in one run
- **GPS coordinates** -- Full location data including latitude/longitude
- **Low cost** -- 128 MB memory, pay per result

### Output

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Marktplaats item ID (e.g., `m2380372505`) |
| `title` | string | Listing title |
| `description` | string | Full description text |
| `price` | number | Price in EUR (converted from cents) |
| `currency` | string | Always `EUR` |
| `price_type` | string | `FIXED`, `MIN_BID`, `SEE_DESCRIPTION`, etc. |
| `city` | string | City name |
| `location` | string | City + country |
| `latitude` | number | GPS latitude, null when the listing has no location |
| `longitude` | number | GPS longitude, null when the listing has no location |
| `category` | string | Category as reported by the site (name or numeric id) |
| `category_name` | string | Category display name, e.g. `Mobiele telefoons \| Apple iPhone`; null when the site does not name it |
| `parent_category_name` | string | Name of the parent (top-level) category, e.g. `Telecommunicatie` |
| `attributes` | object | Listing attributes shown on the result card, e.g. `{"condition": "Nieuw", "storage": "256 GB", "color": "Zwart"}`; the keys depend on the category, null when there are none |
| `seller_name` | string | Seller display name |
| `seller_id` | number | Seller numeric ID |
| `image_url` | string | Primary image URL |
| `image_urls` | string\[] | All image URLs |
| `posted_at` | string | Posting date, YYYY-MM-DD (Europe/Amsterdam), null if unreadable |
| `posted_at_text` | string | Posting date as shown by the site (e.g. `Vandaag`) |
| `source_url` | string | Full listing URL |
| `scraped_at` | string | ISO timestamp |

### Pricing

| Event | Cost |
|-------|------|
| Start | $0.00005 per run |
| Listing | $0.003 per listing |

**100 listings = $0.30005** | **1,000 listings = $3.00005**

### Examples

#### Opel Astra petrol, max 10000 EUR

```json
{
  "searchUrls": ["https://www.marktplaats.nl/l/auto-s/opel/f/astra+benzine/1064+473/#PriceCentsTo:1000000"],
  "maxResults": 100
}
```

#### iPhones under 500 EUR

```json
{
  "searchUrls": ["https://www.marktplaats.nl/q/iphone/#PriceCentsTo:50000"],
  "maxResults": 200
}
```

#### Multiple searches in one run

```json
{
  "searchUrls": [
    "https://www.marktplaats.nl/q/fiets/",
    "https://www.marktplaats.nl/l/computers-en-software/"
  ],
  "maxResults": 500,
  "maxResultsPerQuery": 250
}
```

### Related Actors

**European Classifieds**

- [Kleinanzeigen.de Scraper (Germany)](https://apify.com/santamaria-automations/kleinanzeigen-de-scraper)
- [Willhaben.at Scraper (Austria)](https://apify.com/santamaria-automations/willhaben-at-scraper)
- [Tutti.ch Scraper (Switzerland)](https://apify.com/santamaria-automations/tutti-ch-scraper)
- [Finn.no Scraper (Norway)](https://apify.com/santamaria-automations/finn-no-scraper)
- [Blocket.se Scraper (Sweden)](https://apify.com/santamaria-automations/blocket-se-scraper)

**Real Estate**

- [Homegate.ch Scraper (Swiss real estate)](https://apify.com/santamaria-automations/homegate-scraper)
- [Immowelt.de Scraper (German real estate)](https://apify.com/santamaria-automations/immowelt-de-scraper)

**Enrich your data**

- [Website Email & Phone Scraper](https://apify.com/santamaria-automations/website-email-scraper)
- [Google Maps Scraper](https://apify.com/santamaria-automations/google-maps-scraper)
- [Website Contact Extractor](https://apify.com/santamaria-automations/website-contact-extractor)

### Data protection

This actor returns only data that is publicly visible on the source pages. Results can include personal data, such as names, phone numbers, email addresses and addresses of private persons, sole traders or contact persons. Where the source labels an entry type, it is included so you can filter the results yourself.

You are responsible for using the data lawfully, including the GDPR/DSGVO, national data-protection laws and unfair-competition rules (e.g. UWG) for marketing and outreach.

### Issues & Feedback

Missing something or not working as expected? [Open an issue](https://console.apify.com/actors/aY6hpdhn6aZ7WuTYc/issues) and we'll fix it.

# Actor input Schema

## `searchUrls` (type: `array`):

Paste one or more marktplaats.nl search URLs. Go to marktplaats.nl, set up your search with all desired filters (category, price range, location, seller type, etc.), then copy the URL and paste it here.

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

Maximum total number of listings to return across all searches.

## `maxResultsPerQuery` (type: `integer`):

Maximum listings per search URL. Useful when scraping multiple URLs to balance results.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.marktplaats.nl/l/auto-s/opel/f/astra+benzine/1064+473/#PriceCentsTo:1000000"
  ],
  "maxResults": 100,
  "maxResultsPerQuery": 100
}
```

# Actor output Schema

## `classifiedListings` (type: `string`):

Dataset containing scraped classified listings

# 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 = {
    "searchUrls": [
        "https://www.marktplaats.nl/l/auto-s/opel/f/astra+benzine/1064+473/#PriceCentsTo:1000000"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/marktplaats-nl-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 = {
    "searchUrls": ["https://www.marktplaats.nl/l/auto-s/opel/f/astra+benzine/1064+473/#PriceCentsTo:1000000"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/marktplaats-nl-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 '{
  "searchUrls": [
    "https://www.marktplaats.nl/l/auto-s/opel/f/astra+benzine/1064+473/#PriceCentsTo:1000000"
  ],
  "maxResults": 100
}' |
apify call santamaria-automations/marktplaats-nl-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/marktplaats-nl-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/aY6hpdhn6aZ7WuTYc/builds/hIna6avso1wAAvdET/openapi.json
