# Marktplaats Products Scraper (`nifty.codes/marktplaats-products-scraper`) Actor

Extract product listings with prices, locations, and seller names from Marktplaats search results. Powered by Marktplaats Scraper.

- **URL**: https://apify.com/nifty.codes/marktplaats-products-scraper.md
- **Developed by:** [Nifty](https://apify.com/nifty.codes) (community)
- **Categories:** E-commerce, Marketing
- **Stats:** 9 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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

This actor extracts Products from Marktplaats. It runs on search result pages to collect listing data including pricing, seller information, and item attributes. The scraper captures data directly from the search grid or list view.

***

#### Want more from Marktplaats?

This actor covers Products only. The full **Marktplaats Scraper** browser extension also includes **Products, Sellers** with unlimited personal use, real-time scraping with your logged-in sessions, CSV/Excel/JSON export, field customization, and scheduled monitoring.

**[Get the Marktplaats Scraper extension](https://nifty.codes/e/marktplaats-scraper?utm_source=apify\&utm_medium=actor_readme\&utm_content=marktplaats-products-scraper)**

***

#### Data Fields

| Field Name | Description | Example |
| --- | --- | --- |
| Title | Name of the product | "iPhone 15 Pro 128GB" |
| Description | Short snippet of the listing text | "In perfecte staat, inclusief doos." |
| Price | Numeric price value | 850.00 |
| Price Cents | Cents portion of the price | 0 |
| Price Type | Pricing model used | "Vaste prijs" |
| Date | Date the listing was posted | "2023-10-25" |
| City | Location of the item | "Amsterdam" |
| Distance Meters | Distance from search center | 5000 |
| Latitude | Geographic latitude | 52.3676 |
| Longitude | Geographic longitude | 4.9041 |
| Seller Name | Name of the listing owner | "Jan Jansen" |
| Seller ID | Unique identifier for the seller | "9876543" |
| Seller Website URL | External link if provided | "https://www.jansen-electronics.nl" |
| Seller Verified | Verification status | true |
| Category ID | Marktplaats category identifier | "c201" |
| Priority Product | If the listing is promoted | false |
| Page Location | Position on the search page | 1 |
| Reserved | If the item is currently reserved | false |
| Video on Listing | If the listing contains video | false |
| Urgency Feature Active | If urgency markers are shown | true |
| NAP Available | If National Car Pass is present | false |
| Attributes | Technical product specifications | {"Color": "Black"} |
| Traits | Specific item characteristics | \["Used"] |
| Verticals | Internal category classification | \["Telecommunication"] |
| Image URLs | List of product image links | \["https://images.marktplaats.com/1.jpg"] |
| Listing URL | Direct link to the product page | "https://www.marktplaats.nl/v/telecommunicatie/123" |

#### Input

- `urls`: Array of Marktplaats search result URL strings.
- `maxItems`: Maximum number of products to extract per URL. Default is 100.

#### Example Input

```json
{
  "urls": ["https://www.marktplaats.nl/q/iphone+15/"],
  "maxItems": 50
}
```

#### Example Output

```json
[
  {
    "Title": "MacBook Air M2",
    "Description": "Zgan MacBook Air M2 8GB 256GB",
    "Price": 950.00,
    "Price Cents": 0,
    "Price Type": "Bieden",
    "Date": "2023-11-01",
    "City": "Utrecht",
    "Distance Meters": 0,
    "Latitude": 52.0907,
    "Longitude": 5.1214,
    "Seller Name": "Tech Store",
    "Seller ID": "112233",
    "Seller Website URL": null,
    "Seller Verified": true,
    "Category ID": "c123",
    "Priority Product": false,
    "Page Location": 1,
    "Reserved": false,
    "Video on Listing": false,
    "Urgency Feature Active": false,
    "NAP Available": false,
    "Attributes": {"Memory": "8GB"},
    "Traits": ["Used"],
    "Verticals": ["Computers"],
    "Image URLs": ["https://images.marktplaats.com/a.jpg"],
    "Listing URL": "https://www.marktplaats.nl/v/computers/a123"
  },
  {
    "Title": "Fietsendrager Thule",
    "Description": "Thule fietsendrager voor 2 fietsen",
    "Price": 150.00,
    "Price Cents": 50,
    "Price Type": "Vaste prijs",
    "Date": "2023-11-02",
    "City": "Rotterdam",
    "Distance Meters": 1200,
    "Latitude": 51.9225,
    "Longitude": 4.4792,
    "Seller Name": "Peter",
    "Seller ID": "445566",
    "Seller Website URL": null,
    "Seller Verified": false,
    "Category ID": "c456",
    "Priority Product": true,
    "Page Location": 2,
    "Reserved": true,
    "Video on Listing": false,
    "Urgency Feature Active": true,
    "NAP Available": false,
    "Attributes": {"Brand": "Thule"},
    "Traits": ["Good condition"],
    "Verticals": ["Auto-onderdelen"],
    "Image URLs": ["https://images.marktplaats.com/b.jpg"],
    "Listing URL": "https://www.marktplaats.nl/v/auto-onderdelen/b456"
  }
]
```

#### Disclaimer

This tool extracts publicly available data. Users are responsible for compliance with applicable terms of service.

# Actor input Schema

## `urls` (type: `array`):

URLs to scrape. Must match: marktplaats.nl

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

Maximum number of items to extract per URL

## `enablePagination` (type: `boolean`):

Load more results beyond the first page.

## `maxPages` (type: `integer`):

Maximum number of pagination actions (pages, scrolls, or loads)

## `includeRaw` (type: `boolean`):

Add the unformatted extraction beside every row.

## Actor input object example

```json
{
  "urls": [
    "https://www.marktplaats.nl/q/game/",
    "https://www.marktplaats.nl/q/car/"
  ],
  "maxItems": 100,
  "enablePagination": true,
  "maxPages": 1,
  "includeRaw": false
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("nifty.codes/marktplaats-products-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("nifty.codes/marktplaats-products-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 '{}' |
apify call nifty.codes/marktplaats-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nifty.codes/marktplaats-products-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/bA9Ft4e2M0p8tnsqE/builds/V81d9uU7sfz8s8imF/openapi.json
