# Marktplaats.nl Listings Scraper (`nice_dev/marktplaats-listings-scraper`) Actor

Scrape Marktplaats.nl classified ads by keyword, category, seller, ad id, postcode radius, price, condition, Direct Kopen and car filters (year, mileage, fuel, gearbox), or paste search URLs. Get price, GPS, seller, photos and car data, plus optional bids, views and favourites.

- **URL**: https://apify.com/nice_dev/marktplaats-listings-scraper.md
- **Developed by:** [Nice Dev](https://apify.com/nice_dev) (community)
- **Categories:** E-commerce, Lead generation, MCP servers
- **Features:** Limited permissions
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.29 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### 🛒 What is Marktplaats.nl Listings Scraper?

**Marktplaats.nl Listings Scraper** extracts **classified listings from [Marktplaats.nl](https://www.marktplaats.nl)**, the largest second-hand marketplace of the Netherlands: **title, price and price type, category, city with GPS coordinates, condition, delivery, photos, car data (year, mileage, fuel, gearbox, body, NAP check) and seller type**, plus optional **bids, full description, licence plate, seller seniority and business phone, views and favourites**.

Type one or **several keywords** (`fiets`, `iphone 13`, `racefiets`), a **category** (`fietsen-en-brommers`, `auto-s`, `Auto's`), **seller ids**, **listing ids**, or paste any search, category, seller or listing URL, click **Start**, and download the listings in JSON, CSV or Excel. No login needed, and the proxy is included in the price. It is **fast (a list-only run returns hundreds of listings in a few seconds) and cheap**.

### 📋 What data can you extract from Marktplaats.nl?

One item per listing, 94 fields:

| Category | What you get |
| --- | --- |
| 🏷️ **Listing** | title, link, the site's id, category and parent category — `Rover P5 MK1 3.0 Litre Automatic 1961` |
| 💰 **Price and bids** | price in euros, price type (fixed, bidding, see description, free), reserved; *(optional)* Direct Kopen, number of bids, highest bid — `27500 EUR, bidding` |
| 📝 **Text and photos** | video or not, plus *(optional)* full description (plain text and the seller's own layout) and every photo in full size |
| 📍 **Location** | city, country, GPS coordinates, distance from your postcode — `Amsterdam, 52.39, 4.92` |
| 🕒 **Dates** | posting date (to the second with **Extract details**), the site's own wording — `Vandaag` |
| 🚗 **Cars** | brand, model, year, mileage, fuel, gearbox, body, licence plate *(optional)*, NAP mileage check — `1961`, `100000` km, `Benzine`, `Automaat` |
| 📦 **Condition and delivery** | condition, pick-up or shipping; *(optional)* carriers and shipping prices, every attribute shown on the listing |
| 👤 **Seller** | nickname, private or business, years on the site *(optional)*, profile link, phone and real website of businesses *(optional)* |
| ⭐ **Seller profile** (option) | rating, number of reviews, share of messages answered, usual reply delay, verified badges, logo |
| 📊 **Popularity** | views and favourites *(optional)*, paid "top" placement, urgent — `616 views, 3 favourites` |

Every field, with an example, is listed in the **Output** section below.

Fields marked **detail** in the Output tab (full `description` and `descriptionHtml`, exact `postedAt`, `viewCount`, `favoritedCount`, `sellerType`, `sellerActiveYears`, `sellerPhone`, the seller's real website, `shippingOptions`, `detailAttributes`, all photos, bids, `licensePlate`, `isBuyItNow`) are filled when **Extract details** is on (off by default, charged as an option). Without it a scrape is several times faster. The ten `seller…` fields of the seller's profile need **Seller profile** (off by default, charged as an option).

### ✅ Why use Marktplaats.nl Listings Scraper?

- 🚀 **Fast**: a list-only run reads 100 listings per request; with details, about one request per listing.
- 🎯 **Every filter of the site**: category by name, slug or id, postcode radius, price range, one or several conditions (new, refurbished, as good as new, used, not working), pick-up or shipping, **Direct Kopen**, freshness (`TODAY`, `YESTERDAY`, `WEEK`), sort order, keyword in descriptions. Or paste a site URL: the filters set on the site are read from it.
- 🚗 **Car filters**: fuel, gearbox and body type in category Auto's; construction year and mileage in any category (motorbikes too), applied on the site's side — you only download (and pay for) the vehicles you asked for. Plus any other filter of any category by its id or range (`engineHorsepower:150:`, `#f:473,534`).
- 🗂️ **Several searches in one run**: a list of keywords and / or sellers, with a cap per search so that one big search cannot eat the whole budget.
- 🔔 **Monitoring built in**: tick **Only new ads**, schedule the Actor, and each run returns (and charges) only what it has never delivered before — from the second run on, it asks the site only for the listings published since the previous run.
- 📅 **Date and seller filters**: `postedAfter: "7 days"`, excluded words, private sellers only or professional sellers only (shops and dealers, with their phone and website) — filtered-out listings are not saved; each listing these filters check is charged a filter fee, kept or not.
- 🏪 **A seller's whole shop**: give seller ids or paste a seller page, get every listing of that seller — and every filter of the run applies to it, so "this dealer's cars under €5,000, posted this week" is one input.
- ⭐ **The seller behind the listing** (**Seller profile**): rating, number of reviews, share of messages answered and usual reply delay, verified-business / bank / identity badges. Read once per seller, whatever the number of listings.
- 🔎 **Exact listings by id**: put listing ids (or listing URLs) into **Ad ids** to refresh a watch list — price, bids, reserved status and view count of the listings you already track.
- 📊 **Signals the site does not export**: views, favourites, exact posting time, bids, seller type and seniority, promoted / top listings, licence plate, NAP check.
- 🧮 **Past the site's own limit**: the site serves about 2,000 listings of a search; ask for more and the Actor splits the search by category and price band on its own.
- 🧩 **Nothing missed, nothing twice**: several start URLs are merged and de-duplicated by listing id; sponsored "top" listings repeated on every page are skipped.
- 🔌 API, scheduling, monitoring, integrations (Make, Zapier, n8n, Google Sheets…), proxy rotation and JSON/CSV/Excel export via the Apify platform.

### 🚀 How to scrape Marktplaats.nl

1. Create a free Apify account.
2. Open **Marktplaats.nl Listings Scraper** and type a **Keyword** (`query`, more of them in `searchQueries`) and/or a **Category** (`category`: slug from the site URL such as `fietsen-en-brommers/fietsen-dames-damesfietsen`, a name such as `Auto's`, or numeric ids such as `445/447`).
3. Or paste your own URLs into **Start URLs**: any search or category page (the filters set on the site, in the path or after the `#` sign, and the page are kept; pagination is automatic), a seller's page (with the search the site offers inside it), or single listing pages (their full link: a short link made of the id alone does not open on the site — put that id into **Ad ids**). **Seller ids** lists every listing of the sellers you name; **Ad ids** takes ids such as `m2447014277`.
4. Narrow with the **Site filters**, **Car filters** and **Actor filters** sections, set **Max items** (100 by default, 0 = no limit) and click **Start**.
5. Download the dataset in JSON, CSV, Excel or via API.

### 💰 How much does it cost to scrape Marktplaats.nl?

This Actor uses **pay per event** pricing: you pay for what it delivers, platform usage (compute, proxy) included. The prices of each event are on the **Pricing** tab:

- each listing saved (event `apify-default-dataset-item`), and a small fee per run start;
- **Extract details** (event `listing-details`): each listing saved **with** the data of its listing page — a listing whose page could not be read is saved with its search data and not charged the option. A listing URL pasted in **Start URLs** is read from its listing page and charged as such, whatever this option says; to get the search data only, put its id into **Ad ids**;
- **Seller profile** (event `seller-profile`): each listing saved **with** its seller's profile;
- the date, excluded words and seller filters are applied by the Actor on every listing it reads (the site has none of them): each listing they check is charged, kept or not — event `filter-check` on the search result, `detail-filter-check` for each listing page read by **Seller type** = professional sellers only with **Extract details** (only the listing page tells the exact seller type).

### ⚙️ Input

```json
{
    "query": "racefiets",
    "category": "fietsen-en-brommers",
    "postcode": "3511AA",
    "distanceKm": 25,
    "priceMin": 200,
    "priceMax": 1500,
    "conditions": ["NEW", "LIKE_NEW"],
    "delivery": "SHIPPING",
    "offeredSince": "WEEK",
    "sortBy": "DATE_DESC",
    "maxItems": 500,
    "extractDetails": true
}
```

Cars: petrol or hybrid, automatic, from 2018, under 80,000 km, near Utrecht:

```json
{
    "category": "auto-s",
    "yearMin": 2018,
    "mileageMax": 80000,
    "fuelTypes": ["PETROL", "HYBRID_PETROL"],
    "transmission": "AUTOMATIC",
    "postcode": "3511AA",
    "distanceKm": 50,
    "maxItems": 300
}
```

Several searches in one run, new listings only, private sellers, last 7 days:

```json
{
    "query": "bakfiets",
    "searchQueries": ["cargo bike", "longtail"],
    "maxItemsPerQuery": 100,
    "maxItems": 0,
    "postedAfter": "7 days",
    "excludeKeywords": ["gezocht", "defect"],
    "privateSellersOnly": true,
    "onlyNew": true,
    "stateKey": "bakfiets-weekly"
}
```

Every listing of two sellers:

```json
{
    "sellerIds": ["27265579", "https://www.marktplaats.nl/u/bosline-cars/58263245/"],
    "maxItemsPerQuery": 200,
    "maxItems": 0
}
```

Or with your own URLs:

```json
{
    "startUrls": [
        {
            "url": "https://www.marktplaats.nl/l/fietsen-en-brommers/fietsen-dames-damesfietsen/#q:gazelle|f:31|PriceCentsTo:50000|postcode:3511AA|distanceMeters:10000"
        },
        { "url": "https://www.marktplaats.nl/l/auto-s/q/golf/" },
        { "url": "https://www.marktplaats.nl/u/snarf/43182797/" },
        {
            "url": "https://www.marktplaats.nl/v/auto-s/rover/m2445704131-rover-p5-mk1-3-0-litre-automatic-1961-gerestaureerd"
        }
    ],
    "maxItems": 300
}
```

| Field                                                                       | Notes                                                                                                                                                                                                                      |
| --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `query`, `searchQueries`                                                    | Keyword, as typed in the site's search box, and more keywords: one search per keyword (up to 100), same category and filters. Ignored when `startUrls` is set.                                                             |
| `sellerIds`                                                                 | Seller ids (or seller page URLs; an id given as a JSON number works too): every listing of each seller, 100 per request, with every filter of the run, keywords too (one search per seller × keyword): clear **Search keyword** to get every listing of the seller.                                                                                                              |
| `category`                                                                  | `<category>` or `<category>/<sub-category>`: slug from the site URL, name, or numeric ids (`91` = Auto's). Ignored when `startUrls` is set.                                                                                |
| `postcode` + `distanceKm`                                                   | Dutch postcode (`1012AB`, `1012 AB` or `1012`) and radius in km (the site offers 3, 5, 10, 15, 25, 50, 75; any value up to 500 is accepted). Fills `distanceMeters`.                                                                 |
| `locations` | More Dutch postcodes (`1012AB`, `1012 AB` or `1012`): one search per postcode, with the radius of `distanceKm`, added to `postcode`. An ad found in two places is saved once. |
| `priceMin` / `priceMax`                                                     | Euros.                                                                                                                                                                                                                     |
| `conditions`                                                                | One or several of `NEW` / `REFURBISHED` / `LIKE_NEW` / `USED` / `NOT_WORKING` (empty = any). Auto's offers `NEW` and `USED` only. In a category without a condition filter (Motoren, for one) the site ignores it and returns every listing: the run log warns.                                                                                                                               |
| `delivery`                                                                  | `PICKUP` or `SHIPPING` (empty = any).                                                                                                                                                                                      |
| `offeredSince`                                                              | `TODAY` / `YESTERDAY` / `WEEK` (empty = any).                                                                                                                                                                              |
| `buyItNowOnly`                                                              | Direct Kopen listings only (bought and paid at once through the site).                                                                                                                                                    |
| `sortBy`                                                                    | `RELEVANCE` / `DATE_DESC` / `DATE_ASC` / `PRICE_ASC` / `PRICE_DESC`.                                                                                                                                                       |
| `searchInTitleAndDescription`                                               | Match the keyword in descriptions too.                                                                                                                                                                                     |
| `yearMin` / `yearMax`, `mileageMin` / `mileageMax`                          | Construction year and mileage (km). Applied by the site in any category: cars, motorbikes, or a keyword search — only the listings that give a value in the range are kept.                                                                                     |
| `fuelTypes`                                                                 | Cars: `PETROL`, `DIESEL`, `ELECTRIC`, `HYBRID_PETROL`, `HYBRID_DIESEL`, `LPG`, `CNG`, `HYDROGEN` or `OTHER` (one or several). Category Auto's only (its brands too): with another category, or none, the input is refused — the site would ignore the filter and return every listing.                                                                                         |
| `transmission`                                                              | Cars: `AUTOMATIC` or `MANUAL`. Category Auto's only, like the fuel.                                                                                                                                                                                            |
| `bodyTypes`                                                                 | Cars: `HATCHBACK`, `SEDAN`, `STATION_WAGON`, `SUV`, `MPV`, `COUPE`, `CONVERTIBLE` or `OTHER` (one or several). Category Auto's only, like the fuel.                                                                                                          |
| `attributeIds`                                                              | Any other filter of any category, by the value ids of a search URL: `#f:473,534` or `473`.                                                                                                                              |
| `attributeRanges`                                                           | Any other range filter, as key:from:to: `engineHorsepower:150:`, `roadTax::100`.                                                                                                                                         |
| `postedAfter`, `postedBefore`                                               | A date (`2026-09-01`) or a period before now (`7 days`, `2 weeks`; API: `24 hours`, ISO date-times). See the tip below.                                                                                                    |
| `excludeKeywords`, `privateSellersOnly`                                     | Drop listings whose title contains one of these WHOLE words (case and accents ignored; `fiets` does not drop "damesfiets", `kinderfiets` drops "Kinderfiets 16 inch"; several words in one entry must appear together); drop professional sellers.                                                                                                                 |
| `sellerType`                                                                | `ANY`, `PRIVATE` (same as `privateSellersOnly`) or `BUSINESS` (shops and dealers only).                                                                                                                                    |
| `onlyNew`, `stateKey`, `resetState`                                         | Only listings never delivered before under this memory key; tick `resetState` once to start over.                                                                                                                          |
| `listingIds`                                                                | Scrape exactly these listings: the id at the end of a listing URL (`m2447014277`), the bare number (text or JSON number), or the URL. One request each, in the order given: with `maxItems` below the number of ids, only the first ones are looked up. Admarkt ids (`a…`) are not searchable by id: paste their URL instead.                     |
| `extractDetails`, `includeRaw`                                              | Open each listing page for the full description, exact posting time, views, favourites, bids, seller details, car details, shipping options, all attributes and photos (option, off by default); add the site's raw objects under `raw`. |
| `sellerProfile`                                                             | Add the seller's public profile (rating, reviews, answered messages, badges, logo) to every listing (option). Two extra requests per DISTINCT seller, not per listing.                                                     |
| `maxItems`, `maxItemsPerQuery`                                              | Stop after this many listings, all searches together (0 = unlimited); cap for EACH search (keyword, seller or search URL).                                                                                                 |
| Advanced                                                                    | `proxyConfiguration` (Apify Proxy by default, included in the price), `maxConcurrency` (4), `maxRequestsPerMinute` (120), `maxRequestRetries` (5), `debugLog`.                                                             |

### 📦 Output

```json
{
    "id": "m2445704131",
    "url": "https://www.marktplaats.nl/v/auto-s/rover/m2445704131-rover-p5-mk1-3-0-litre-automatic-1961-gerestaureerd",
    "title": "Rover P5 MK1 3.0 Litre Automatic 1961 – gerestaureerd",
    "description": "Te koop aangeboden: mijn Rover P5 MK1 3.0 Litre Automatic uit 1961. …",
    "descriptionHtml": "Te koop aangeboden: mijn Rover P5 MK1 3.0 Litre Automatic uit 1961.<br><br>…",
    "isFullDescription": true,
    "price": 27500,
    "priceCents": 2750000,
    "priceType": "MIN_BID",
    "currency": "EUR",
    "isReserved": false,
    "isFree": false,
    "categoryId": 147,
    "category": "Rover",
    "categoryPath": "auto-s/rover",
    "parentCategoryId": 91,
    "parentCategory": "Auto's",
    "city": "Amsterdam",
    "country": "Nederland",
    "countryCode": "NL",
    "latitude": 52.392659548335,
    "longitude": 4.9245147897102,
    "distanceMeters": null,
    "isAbroad": false,
    "isCountryLevelLocation": false,
    "postedAt": "2026-09-23T09:26:57.000Z",
    "isPostedAtExact": true,
    "postedAtText": "Vandaag",
    "condition": null,
    "delivery": "Ophalen",
    "shippingOptions": [
        { "carrierName": "PostNL", "deliveryMethod": "DELIVERY", "price": "€ 6,29", "label": "Thuisbezorgd via PostNL vanaf" }
    ],
    "brand": "Rover",
    "model": "Overige modellen",
    "constructionYear": 1961,
    "mileageKm": 100000,
    "fuel": "Benzine",
    "transmission": "Automaat",
    "bodyType": "Sedan",
    "licensePlate": null,
    "hasNapCheck": false,
    "attributes": { "constructionYear": "1961", "mileage": "100000 km", "fuel": "Benzine", "transmission": "Automaat", "body": "Sedan" },
    "detailAttributes": { "Merk & Model": "Rover Overige modellen", "Bouwjaar": "1961", "Kilometerstand": "100.000 km" },
    "mainImage": "https://images.marktplaats.com/api/v1/hz-mp-pro-listing/images/e55a6d25-571a-4cb4-9d00-3f20a49331b4?rule=ecg_mp_eps$_85.jpg",
    "images": ["…"],
    "imageCount": 15,
    "hasVideo": false,
    "sellerId": 43182797,
    "sellerName": "Snarf",
    "sellerType": "private",
    "sellerVerified": false,
    "sellerProfileUrl": "https://www.marktplaats.nl/u/snarf/43182797/",
    "sellerWebsite": null,
    "sellerWebsiteDisplayUrl": null,
    "sellerWebsiteDomain": null,
    "sellerPhone": null,
    "sellerActiveYears": 5,
    "sellerRating": null,
    "sellerReviewCount": null,
    "sellerResponseRate": null,
    "sellerResponseTimeMinutes": null,
    "sellerResponseText": null,
    "sellerIsSmbVerified": null,
    "sellerHasBankAccount": null,
    "sellerHasIdentification": null,
    "sellerPaymentMethod": null,
    "sellerLogoUrl": null,
    "viewCount": 616,
    "favoritedCount": 3,
    "isBiddingEnabled": true,
    "isBuyItNow": false,
    "minimumBid": null,
    "bidCount": 0,
    "highestBid": null,
    "adType": "RegularPaid",
    "isShippable": true,
    "isUrgent": false,
    "isPromoted": true,
    "priorityProduct": "DAGTOPPER",
    "traits": ["DAG_TOPPER_7DAYS"],
    "verticals": ["cars"],
    "isThinContent": false,
    "isCarAd": true,
    "isAutomotiveAd": true,
    "isAnimalAd": false,
    "isCaravansAndCampingAd": false,
    "carPassUrl": null,
    "searchType": "TokenMatch",
    "source": "www.marktplaats.nl",
    "searchUrl": "https://www.marktplaats.nl/l/auto-s/",
    "raw": null,
    "scrapedAt": "2026-09-26T20:00:00.000Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV or Excel.

#### All 94 fields

| Fields                                                                                                            | What you get                                                                                                                                  |
| ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`, `url`, `title`                                                                                              | `m2445704131`, `https://www.marktplaats.nl/v/auto-s/rover/m2445704131-...`, `Rover P5 MK1 3.0 Litre Automatic 1961 – gerestaureerd`         |
| `description`, `descriptionHtml`, `isFullDescription`                                                             | full text (plain + the site's HTML, copied as is — not sanitized) with **Extract details** (cut at about 250 characters without)          |
| `price`, `priceCents`, `priceType`, `currency`                                                                    | `27500`, `2750000`, `FIXED` / `MIN_BID` / `FAST_BID` / `SEE_DESCRIPTION` / `FREE`, `EUR`                                                    |
| `isReserved`, `isFree`, `isBiddingEnabled`, `minimumBid`, `bidCount`, `highestBid`, `isBuyItNow`                  | `false`, `false`, `true`, `150`, `5`, `20` (euros), `false` (Direct Kopen)                                                                 |
| `categoryId`, `category`, `categoryPath`, `parentCategoryId`, `parentCategory`                                    | `147`, `Rover`, `auto-s/rover`, `91`, `Auto's`                                                                                             |
| `city`, `country`, `countryCode`, `latitude`, `longitude`, `distanceMeters`, `isAbroad`, `isCountryLevelLocation` | `Amsterdam`, `Nederland`, `NL`, `52.3927`, `4.9245` (`null` when the site gives no position: shops placed at the country level, sellers abroad), `12400` (from your postcode), `false`, `false`                                        |
| `postedAt`, `isPostedAtExact`, `postedAtText`                                                                     | ISO 8601 (empty for a paid listing without details), `true` = exact time from the listing page (`false` = day only), `Vandaag`                                                        |
| `condition`, `delivery`, `attributes`, `detailAttributes`                                                         | `Zo goed als nieuw`, `Ophalen`, every attribute of the search result (`mileage`, `fuel`, `frameHeight`…), every attribute of the page |
| `shippingOptions`                                                                                                 | `[{ "carrierName": "PostNL", "deliveryMethod": "DELIVERY", "price": "€ 6,29", "label": "Thuisbezorgd via PostNL vanaf" }]`                  |
| `brand`, `model`, `constructionYear`, `mileageKm`, `fuel`, `transmission`, `bodyType`                             | `Rover`, `Overige modellen`, `1961`, `100000`, `Benzine`, `Automaat`, `Sedan` (cars; `brand` also for bikes, phones…)                        |
| `licensePlate`, `hasNapCheck`, `carPassUrl`                                                                       | `60-SKN-6` (when the seller gives it), `true` (NAP mileage check), mileage certificate link                                                 |
| `mainImage`, `images`, `imageCount`, `hasVideo`                                                                   | full-size photo URLs                                                                                                                       |
| `sellerId`, `sellerName`, `sellerType`, `sellerVerified`, `sellerProfileUrl`                                      | `43182797`, `Snarf`, `private` / `business`, `false`, `https://www.marktplaats.nl/u/snarf/43182797/`                                       |
| `sellerWebsite`, `sellerWebsiteDisplayUrl`, `sellerWebsiteDomain`, `sellerPhone`, `sellerActiveYears`             | business sellers: the site's tracked link, the **real website**, its domain, phone (`0626457292`)                                          |
| `sellerRating`, `sellerReviewCount`, `sellerResponseRate`, `sellerResponseTimeMinutes`, `sellerResponseText`      | with **Seller profile**: `5`, `11`, `80` (% of messages answered), `116` (usual delay in minutes), the site's own wording                    |
| `sellerIsSmbVerified`, `sellerHasBankAccount`, `sellerHasIdentification`, `sellerPaymentMethod`, `sellerLogoUrl`  | with **Seller profile**: the badges shown on the seller's page                                                                             |
| `viewCount`, `favoritedCount`                                                                                     | `616`, `3`                                                                                                                                 |
| `adType`, `isShippable`, `isPromoted`, `isUrgent`, `priorityProduct`, `traits`, `verticals`                       | `RegularPaid`, `true`, `true`, `false`, `DAGTOPPER`, `["DAG_TOPPER_7DAYS"]`, `["cars"]`                                                     |
| `isThinContent`, `isCarAd`, `isAutomotiveAd`, `isAnimalAd`, `isCaravansAndCampingAd`                              | site flags                                                                                                                                 |
| `searchType`, `source`, `searchUrl`, `scrapedAt`                                                                  | `TokenMatch`, `www.marktplaats.nl`, the search (or seller page, or piece of a split search) it was found in, ISO timestamp                                            |
| `searchRank`, `searchPage`, `totalResults` | `1` (first result of its search; within the piece for a search the Actor split), `1` (results page of 100 ads), `68351` (ads the site counts for the search; `null` for an ad asked for by id or URL) |
| `raw`                                                                                                             | with **Include raw site data**: the site's own card and listing-page objects                                                               |

### 💡 Tips

#### How to get more results

Marktplaats itself stops serving a big search after about 2,000 listings (sorted by price, after 5,000). When you want more than that from one search, the Actor **splits it for you**: by main category, then by sub-category (small ones grouped), then by price band — each piece is a search the site serves in full, and every listing is saved and charged once. The run log says how a search was split. Each piece is the site's own search in that category, which matches the keyword a little more loosely than the search as a whole (measured: 78 % of `bakfiets` listings found in the pieces name the word in their title or first lines, 92 % without the split), so a split search can return more listings than the total the site shows for it: add `excludeKeywords` or a `category` to keep it tight, and cap the run with `maxItems`. Listings without a price (bids, "see description") belong to no price band: in a sub-category of more than 2,000 listings, only those among its first 2,000 are reached (the run log warns). A seller's shop is never split.

#### Several searches in one run

Fill `searchQueries` and / or `sellerIds`: the Actor runs one search per keyword (same category and filters); with sellers, each keyword is searched inside each seller's listings (one search per seller × keyword, never on the whole site), up to 500 searches per run. The single `query` field still works and is added to the list. A listing found by several searches is saved — and charged — once. Set `maxItemsPerQuery` to give every search its own cap: without it the first searches can use up the whole `maxItems` budget. You can also paste several search or seller URLs into `startUrls`: each one is a search of its own, with the same cap. Several keywords in one category cost a single category lookup.

#### Monitoring: only the new listings

Tick **Only new ads** (`onlyNew`) and schedule the Actor. The first run returns everything; each later run skips the listings already delivered: they are not saved, not charged, and their page is not even opened. The memory lives in a named key-value store of your account (`marktplaats-listings-scraper-seen`, up to 150,000 listings per key) and is only updated with listings that really reached the dataset, so a failed run never hides anything. Give each schedule its own `stateKey` (two schedules sharing a key would hide each other's listings), and tick `resetState` once to start over.

From the second run on, the Actor asks the site only for the listings **published** since the day your previous run ended (Dutch time, taken an hour earlier so that a run around midnight misses nothing), with the site's own **Offered since** filter: `Vandaag` the same day, `Gisteren` the day after, `Een week` up to 6 days after; after that, no filter. Your own **Offered since** is kept when it is narrower. We measured why: newest first, a big search opens with paid placements (about the first 1,000 listings of `fiets`; on all of Auto's, the first 2,000, after which the site serves nothing at all), and the listings of the hour only start around position 2,100 of `fiets`. With the filter, the paid placements and the older listings put back on top fall out of the search, and the new listings are within reach.

Searches in the site's default order (relevance — a pasted URL too, unless you picked another sort on the site) are then sorted by newest. Only the day the site prints goes down that order, not the publication time: a listing from a seller with no other listing online prints `Vandaag` for about 3 days. A listing you already have is skipped, free of charge, and never ends the search while it prints the day of your previous run or a later one. A search ends on listings printed before that day: 100 already delivered in a row, or with a cap (`maxItems`, `maxItemsPerQuery`) the first whole page of them. With a cap, the run also skips, free of charge, the listings published before the newest one you already have: the cap left them out, they are not new, so a capped run never charges older listings when nothing is new, even when a listing it delivered was sold since. With a sort of your own (another sort in the form or on a pasted URL), a search stops after 20 results pages in a row where every listing was already delivered (one new listing on a page starts the count again): a new listing placed further down is not found. A listing your filters drop is checked (and charged the filter check) once: the next runs with the same filters skip it for free; change a filter, or tick `resetState`, to check them again.

#### Filter by publication date

`postedAfter` and `postedBefore` take a date (`2026-09-01`, the whole day is included, Dutch time) or a period before now (`7 days`, `2 weeks`, `1 month`; via the API also `24 hours` or a full ISO date-time). The filter reads `postedAt`. With **Extract details** that date is exact to the second; the search results only print the day (`Vandaag`, `3 sep 26`), so a list-only run keeps every listing of a day that overlaps your period (`isPostedAtExact` tells which precision you got). That day follows the site's sort, not the publication: a listing from a seller with no other listing online prints `Vandaag` for up to 3 days after it was published, and a listing put back on top prints the day it came back. A list-only run keeps such a listing; with **Extract details** its exact date is read on its page (and the filter check charged) before it is dropped. On the very biggest searches such listings can come 300 in a row: the search then ends with a warning and the listings below it are not read, so narrow that search (category, price, **Offered since**) or leave **Extract details** off. A paid listing (Dagtopper, Topadvertentie, Admarkt shop ad) shows the day of its paid placement instead — often `Vandaag` on a listing posted weeks before — so without **Extract details** its `postedAt` is empty and the date filters leave it out; with it, its listing page gives the real date. A listing without a date is dropped as soon as a date bound is set. Filtered-out listings are not saved and do not count in `maxItems`, and each listing checked costs a filter fee, kept or not; the run summary tells how many were filtered. With `postedAfter`, searches in the site's default order (pasted URLs included) are sorted by newest and stop at the first page that is entirely too old.

#### Cars

Choose the category `auto-s` (or a brand, `auto-s/volkswagen`) and set the **Car filters**: construction year, mileage, fuel, gearbox, body type — they are applied by the site, so you only read (and pay for) matching cars. Every other filter of the car pages (APK, warranty, colour, horsepower, road tax…) can be set on the site and pasted as a URL, or given by id / range in **More site filters**. Each car comes with `mileageKm`, `fuel`, `transmission`, `bodyType` and `hasNapCheck` from the search result, and with **Extract details** its `licensePlate` (when the seller gives it) and every attribute of the listing page.

#### A seller's whole shop

Put seller ids (the number in `https://www.marktplaats.nl/u/<name>/<id>/`, also the `sellerId` output field) or seller page URLs into `sellerIds`, or paste seller pages into `startUrls`. Each seller is a search of its own, 100 listings per request, and **every filter of the run applies to it**: a keyword, a category, a price range, a condition, a sort order, `onlyNew`, the date filters (the form pre-fills a keyword: clear **Search keyword** to get every listing of the seller; the run log warns). Pasting `https://www.marktplaats.nl/u/<name>/<id>/q/<word>/` or `/l/<category>/` into `startUrls` works too (in `sellerIds` such a URL is refused, so that its search is never dropped) — that is the search the site itself offers inside a seller's page.

#### Exactly the listings you name

Put listing ids into `listingIds` (`m2447014277`, the bare number, or the listing URL). Each id is looked up on the site and saved with the same fields as any other listing — handy to refresh a watch list every morning. Ids are read in the order given, as the run has room: with `maxItems` below the number of ids, only the first ones are looked up (the same goes for listing URLs pasted in `startUrls`). A listing that has been removed is reported in the `FAILED_REQUESTS` record instead of failing the run: it is counted apart ("1 no longer on marktplaats — 0 failed requests"), never as a failure. Listings whose id starts with `a` (Admarkt, the site's paid placements) cannot be found by id: paste their URL into `startUrls`.

#### The seller behind the listing

Tick **Seller profile** (`sellerProfile`) to add the seller's rating, number of reviews, share of messages answered, usual reply delay and profile badges to every listing. The seller's page is read **once per seller**, so a run over 500 listings of 20 sellers costs 40 extra requests, not 1,000. Sellers with no review get `null`, not a zero.

#### How to reduce costs

The price is per listing, so the levers are `maxItems`, `maxItemsPerQuery`, the filters of the site itself (price, condition, delivery, car filters…: a listing they drop is never read; the Actor's own filters cost a fee per listing checked), `onlyNew` (a listing already delivered is free), and the two options: leave **Extract details** and **Seller profile** off when the search data is enough. A listing URL pasted in `startUrls` is always read from its listing page and charged as such: put its id into `listingIds` to get the search data only.

### 🔌 Integrations and API

Call the Actor via the Apify API, the JavaScript or Python clients, or connect it with integrations and webhooks (Make, Zapier, n8n, Google Sheets, Slack, Airtable…). The dataset can be fetched as JSON or CSV from any tool.

### 🤖 Use with AI agents (MCP)

AI agents (Claude, ChatGPT, Cursor…) can find and run this Actor through the [Apify MCP server](https://mcp.apify.com), billed to their Apify account like any run. It returns one item per Marktplaats.nl classified listing. Actor id: `nice_dev/marktplaats-listings-scraper`; MCP server with this Actor only: `https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/marktplaats-listings-scraper`.

Smallest input, for a cheap first call:

```json
{
    "query": "fiets",
    "maxItems": 10
}
```

Key output fields: `url`, `title`, `price`, `currency`, `city`, `postedAt`, `condition`, `sellerName`.

Cost: per listing saved plus a small fee per run start, options and the Actor's own filters on top — see the pricing section above and the **Pricing** tab. Cap each call with `maxItems` and, through the API, with the run option `maxTotalChargeUsd`.

### ❓ FAQ

#### Is it legal to scrape Marktplaats.nl?

The Actor only reads what the site shows publicly to any anonymous visitor: listings, seller nicknames, the ratings and reply statistics printed on a seller's page, and the contact details businesses publish themselves. It logs in to nothing. Phone numbers are returned for **business sellers only**, as on the site; private sellers appear with their public nickname. Results can contain personal data, which is protected by GDPR: do not store it without a legitimate reason, and do not use seller data for unsolicited contact. You are responsible for using the data in compliance with the site's Terms of Use and applicable law. This Actor is not affiliated with Marktplaats or Adevinta.

#### Does it need a login or a proxy?

No login. The proxy is included in the price: leave the default setting (the residential proxy is not available). A request the site turns away is retried at once on a new proxy session; without a proxy, after a pause of 5 seconds, doubled at each retry up to 60 seconds.

#### Is the data safe to open in Excel or to show on a web page?

Titles and descriptions are the sellers' own words, copied as they are. A text can begin with `-`, `+`, `=` or `@` (a phone number, a title such as `-20% vandaag`): Excel and Google Sheets may read such a cell of a CSV file as a formula or as a number. The Actor leaves the text as it is, so that the JSON and the API give the real value: when you open a CSV, import these columns as text. On a web page, escape every field like any text written by a stranger — `descriptionHtml` in particular holds the seller's own HTML, which the Actor does not sanitize.

#### Known limitations

- A search the site will not serve in full (more than about 2,000 listings, 5,000 sorted by price) is split automatically when you want more than that (see Tips): the listings then come piece by piece, not in one overall order, and listings without a price are reached only among the first 2,000 of each big sub-category. With `onlyNew`, a newest-first search is split only when the run asks for all of it (`maxItems` and `maxItemsPerQuery` at 0, or above the total the site shows for the search): capped, its first run keeps the newest listings the site serves (about 2,000; the log says so), so that the next run stops right at them instead of returning older listings the cap left out. A later run asks only for the listings published since the previous run (see Tips) and splits that smaller search the same way, when it asks for all of it and the site would not serve it in full. More than 6 days after the previous run there is no such filter and the search is not split: it reads what the site serves of it (on all of Auto's, only paid placements), so run a big search at least weekly, or narrow it by category or price.
- The exact posting time, views, favourites, bids, seller type, business phone, licence plate, all attributes and all photos come from the listing page: they are `null` (or day-precise for the date) when `extractDetails` is off.
- `condition` is empty for cars in list-only mode (the site puts it in the car data of the listing page).
- Fuel, gearbox and body type exist only in category Auto's: with another category, or none, the input is refused instead of returning every listing, which is what the site would do. Construction year and mileage work in every category.
- The site has no seller-type filter outside cars: `privateSellersOnly` / `sellerType` is applied by the Actor. Without `extractDetails` it relies on what the search result shows (paid shop listing, website link, dealer features such as call tracking or trade-in, the `Bedrijf` mark of car listings), so a professional with a plain listing can slip through private sellers only, and is missed by professional sellers only. With `extractDetails`, professional sellers only opens every listing page of the search (each one is charged as a filter check, kept or not); a run that finds 300 private listings in a row stops and says so.
- An unknown seller id is not an error for the site: the run saves nothing for it and says so in the log, instead of failing.
- `onlyNew` remembers listing ids, not their content: a listing whose price changed is not returned again. Two runs sharing the same `stateKey` at the same time may both return the same new listing.
- **Newest first** is the site's own order, not the publication time: paid listings first (about 1,000 on `fiets`, 2,000 on all of Auto's), then the listings of sellers with no other listing online (up to 3 days old), then the listings of the hour. A small `maxItems` on a big search therefore returns none of the listings of the hour: set **Offered since** to `TODAY` to get them; an **Only new ads** run does it on its own from its second run.
- `onlyNew`: listings published before the day of your previous run are never read (the publication filter leaves them out), older listings an earlier capped run left out included; that is what "new" means. Under a cap, a listing that comes back up the results without ever having been delivered is not returned, and neither is a paid (promoted) listing that was never delivered and is older than the last one delivered; without a cap they are, when they were published since your previous run.
- **Seller profile** costs two extra requests per seller and can be empty: a seller with no review has `null`, not a zero, and a profile page that does not answer leaves the ten fields empty rather than losing the listing (and the option is then not charged). Those requests are read beside the crawl, outside `maxRequestsPerMinute`: with **Extract details** a search where almost every listing has a different seller runs at up to three times the request rate; list-only, a page of 100 listings can ask up to 200 seller pages (5 sellers at a time). When the seller pages answer slowly, the listings of a results page past half a minute, or that waited for a free place until their page was read, are saved without their profile (not charged) and the run log says so.
- The sponsored block the site repeats above every results page is skipped (paid listings inside the results are delivered, with `isPromoted: true`); a listing that disappears between the search and the detail fetch is listed in the `FAILED_REQUESTS` record of the key-value store, not in the dataset — and counted as "no longer on marktplaats", not as a failed request (no warning, the run stays green).

**A run that reaches its timeout** stops itself about 45 seconds before it: no new page is asked, what it read is saved and, with `onlyNew`, remembered, and the run ends *Succeeded* with "Stopped before the run's timeout". Resurrect it to go on from there, or give the next run a longer timeout (Run options).

**A run the platform stops without warning** (out of memory)

- Resurrect it: it goes on from where it stood at most a minute before the stop. What it had read since is read again, and the ads already saved are skipped: none is delivered or charged twice, and `maxItems` still counts them.
- With `onlyNew`, the memory is saved after each write (at most once every 2 seconds): resurrect the stopped run and the ads it had saved meanwhile join the memory; leave it stopped for good, and the next run may return the ads of its last 2 seconds once more.

#### Something doesn't work?

The last line of the log counts the listings saved, filtered out, already delivered (`onlyNew`) and no longer on marktplaats (removed while the run was reading them), and the requests that failed after every retry. Those requests and the removed listings are listed, with the reason, in the `FAILED_REQUESTS` record of the run's key-value store. A run that saved nothing and had failed requests fails, and its last message gives the cause (a category slug the site does not know says so, instead of "run it again"). A run that saved some listings fails too when at least as many requests failed for good as were read (page 1 read, the next pages or the listing pages blocked): a green run with a short dataset would hide the outage. One failed request among many is only a warning.

If the site changes its pages, you are told instead of paying for blank rows. A results page that counts listings but gives none the Actor can read is an error (listed in `FAILED_REQUESTS`), never a quiet "No ads found"; so is a full first results page that no longer says how many listings the search holds (the search would otherwise stop at its first 100), a listing card without the link to its page (with `extractDetails`), and a piece of a split search that the site answers empty although it counted listings in that category. If the first 20 listings read all lack their title, publication date (with `extractDetails`, the exact time of the listing page), description, price type, price amount, city, category or seller — or, with `extractDetails`, the data of their listing page — the run saves nothing more, stops and fails, and its last message names the missing field: at most those first listings are charged. A listing that `postedAfter` / `postedBefore` drops because it has no date at all counts among those 20. A run of fewer listings (a scheduled `onlyNew` run that finds a few new ones, a small **Max items**) is checked at its end, from 5 listings: its listings are already saved, and the run fails with the missing field instead of ending green. Listings that say nothing about a field are left out of its count: no amount for "see description", no city for a listing placed at the country level.

### 🛟 Support

Open an issue in the **Issues** tab with a link to your run: the run log and the `FAILED_REQUESTS` record of the key-value store show exactly which URLs failed and why.

# Actor input Schema

## `startUrls` (type: `array`):

Marktplaats.nl URLs: keyword search (`/q/fiets/`), category (`/l/fietsen-en-brommers/fietsen-dames-damesfietsen/`), category + keyword (`/l/auto-s/q/golf/`), a seller's page (`/u/<name>/<id>/`) or a single ad (`/v/...`, its full link; read from its ad page and charged as an ad page whatever Extract details says). Filters set on the site (price, postcode, distance, sort, condition, delivery, Direct Kopen, car filters) are read from the URL — in its path and in the part after the # sign, copy it too — and applied. When this list is not empty, the search fields below are ignored (ad ids in `listingIds` are still scraped). Max 1 000 URLs.

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

Keyword searched in ad titles (whole site or inside the chosen category). Dutch words work best: `fiets`, `racefiets`, `iphone 13`. Marktplaats matches compound words (`fiets` also finds `bakfiets`).

## `searchQueries` (type: `array`):

Several keywords in one run (max 100): one search per keyword, all with the same category and filters. Added to **Search keyword**; an ad found by several searches is saved once.

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

Category slug or name as shown in the site URL, optionally with a sub-category: `fietsen-en-brommers`, `fietsen-en-brommers/fietsen-dames-damesfietsen`, `auto-s`, `Auto's`. Numeric ids also work: `445` or `445/447` (`91` = Auto's). Leave empty to search all categories (a keyword is then required).

## `sellerIds` (type: `array`):

Every ad of these sellers: the number at the end of a seller's page URL (`https://www.marktplaats.nl/u/<name>/<id>/`, also in the `sellerId` output field), or that URL. One search per seller, and the filters below apply to it like to any keyword search — a seller plus a keyword or a category is the search the site itself offers inside a seller's page. Search keyword is pre-filled: clear "Search keyword" to get every ad of the seller.

## `listingIds` (type: `array`):

Scrape these ads and nothing else (keywords, category and sellers are then ignored): the id at the end of an ad URL (`https://www.marktplaats.nl/v/.../m2447014277-title` → `m2447014277`), the bare number (text or JSON number), or the URL itself, read in the order given: with Max items below the number of ids, only the first ones are looked up. The site finds an ad from its id alone, whatever its category. Admarkt ads (ids starting with `a`) cannot be looked up this way: paste their URL in Start URLs instead.

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

Stop after this many ads (all searches and start URLs together). 0 = no limit. Marktplaats serves about 2 000 ads of one search (5 000 sorted by price): ask for more and the Actor splits the search by category and price band on its own — the run log says how.

## `maxItemsPerQuery` (type: `integer`):

Cap for EACH search (keyword, seller, or search URL), so that the first search cannot use up the whole **Max items** budget. 0 = no per-search cap.

## `postcode` (type: `string`):

Dutch postcode used as the centre of the distance filter: `1012AB`, `1012 AB` or the 4 digits alone (`1012` Amsterdam, `3511` Utrecht, `3011` Rotterdam). Unknown postcodes are ignored by the site.

## `locations` (type: `array`):

Several places in one run: Dutch postcodes (`1012AB`, `1012 AB` or the 4 digits). Each one is a search of its own with the radius below, added to the postcode above; an ad found in two places is saved once. Empty = only the postcode above. The site filters on postcodes only, not city names.

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

Radius around each postcode in kilometres (the site offers 3, 5, 10, 15, 25, 50, 75). 0 = whole country. Ignored without a postcode.

## `priceMin` (type: `integer`):

Lowest price in euros (inclusive).

## `priceMax` (type: `integer`):

Highest price in euros (inclusive).

## `conditions` (type: `array`):

Item condition, one or several (Nieuw / Refurbished / Zo goed als nieuw / Gebruikt / Niet werkend). Empty = any. Auto's offers New and Used only. A category without this filter (Motoren, for one) ignores it and returns every ad: the run log warns.

## `delivery` (type: `string`):

Keep only ads the seller lets you pick up (Ophalen) or is ready to ship (Verzenden).

## `offeredSince` (type: `string`):

The site's own freshness filter: ads posted today / since yesterday / in the last week (the day of publication). For an exact period use **Posted after**; for monitoring use **Only new ads**, which sets this filter on its own from its second run (yours is kept when it is narrower).

## `buyItNowOnly` (type: `boolean`):

Keep only the ads you can buy at once on the site (Direct Kopen, paid and shipped through Marktplaats). Applied by the site.

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

Order of the results (matters when maxItems cuts the list). `RELEVANCE` = the site's default ranking; with **Posted after** or **Only new ads** it becomes `Newest first`, which lets the run stop early.

## `searchInTitleAndDescription` (type: `boolean`):

Match the keyword in the description too, not only in the title (broader results).

## `yearMin` (type: `integer`):

Oldest construction year. Applied by the site in any category (cars, motorbikes, a keyword search): only the ads that give a year in the range are kept.

## `yearMax` (type: `integer`):

Newest construction year (any category, like the oldest).

## `mileageMin` (type: `integer`):

Lowest mileage in kilometres. Applied by the site in any category (cars, motorbikes…): only the ads that give a mileage in the range are kept.

## `mileageMax` (type: `integer`):

Highest mileage in kilometres (any category, like the lowest).

## `fuelTypes` (type: `array`):

Cars only: needs the cars category ("auto-s"); with another category, or none, the run refuses it (the site would ignore it and return every ad). One or several fuels. Empty = any.

## `transmission` (type: `string`):

Cars only: needs the cars category ("auto-s"); with another category, or none, the run refuses it (the site would ignore it and return every ad). Automatic or manual gearbox.

## `bodyTypes` (type: `array`):

Cars only: needs the cars category ("auto-s"); with another category, or none, the run refuses it (the site would ignore it and return every ad). One or several body types. Empty = any.

## `attributeIds` (type: `array`):

Any other filter the site offers in a category, by its value id — the numbers after f: in a search URL (`#f:473,534` = petrol + automatic, or `473` alone). Several ids of one filter = either; of different filters = both. Easier: set the filters on the site and paste the URL in Start URLs.

## `attributeRanges` (type: `array`):

Any other range filter of a category as key:from:to (one bound may be empty): `engineHorsepower:150:`, `livingArea:60:120`, `roadTax::100`. The keys are the ones in a search URL (engineHorsepowerFrom:150 after the # sign).

## `postedAfter` (type: `string`):

Only ads posted on or after this date: `2026-09-01`, or a period before now such as `7 days`, `2 weeks`, `1 month` (API: `24 hours` and full ISO date-times work too). The date read is `postedAt`: exact to the second with **Extract details**, to the day without it — and none for a paid ad (Dagtopper, Topadvertentie, Admarkt: the list shows the day of its paid placement), which a list-only run leaves out.

## `postedBefore` (type: `string`):

Only ads posted on or before this date (the whole day is included), or older than a period such as `30 days`. The date read is `postedAt`: the exact posting time with **Extract details** (an ad republished since is read on its page, not dropped on its new date), the day the results show without it — for a republished ad, the day it was republished.

## `excludeKeywords` (type: `array`):

Drop the ads whose title contains one of these WHOLE words (case and accents ignored), e.g. `gezocht`, `defect`, `kinderfiets`: `kinderfiets` drops "Kinderfiets 16 inch" but `fiets` does not drop "damesfiets". Several words in one entry (`hand made`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the title (no spaces there).

## `privateSellersOnly` (type: `boolean`):

Drop the ads of professional sellers (shops, dealers). Exact with **Extract details** (the ad page tells the seller type); without it, professional = paid shop ad, ad with a website link or dealer features, car ad marked as a company. Same as **Seller type** = private sellers only.

## `sellerType` (type: `string`):

Keep only private sellers, or only professional sellers (shops, dealers). The site has no such filter: the Actor applies it, and each ad it checks is charged a filter fee, kept or not. Professional sellers only + **Extract details** opens every ad page to read the exact seller type (a dealer often looks private in the search result); without **Extract details** it keeps the ads that look professional in the search result (paid shop ad, website link, dealer features, car ad marked as a company).

## `onlyNew` (type: `boolean`):

Skip the ads that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. First run = everything is new. From the second run on, the site is asked only for the ads published since the day the previous run ended (its own **Offered since** filter).

## `stateKey` (type: `string`):

Name of the memory used by **Only new ads**. Give each schedule / task its own key (e.g. `fiets-gent`) so that they do not share their memory. Letters, digits, `-` and `_`.

## `resetState` (type: `boolean`):

Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every ad again. Untick it afterwards.

## `extractDetails` (type: `boolean`):

Open every ad page (one extra request per ad) to add the full description (text + HTML), exact posting date, view and favourite counts, seller type / seniority / phone and real website (professional sellers), licence plate and NAP mileage check (cars), shipping options, all attributes and every photo. Charged as an option per ad delivered WITH its page data (an ad whose page could not be read is delivered with list data and not charged the option). Off = list data only (description cut at about 250 characters, posting date to the day). An ad URL pasted in Start URLs is read from its ad page and charged as an ad page, whatever this box says; to get the list data only, put the ad id in Ad ids.

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

Add the site's own objects (search card + ad page data) to every item under `raw`, for fields this Actor does not map. Roughly doubles the size of an item.

## `sellerProfile` (type: `boolean`):

Read each seller's public profile once and add it to every ad of that seller: rating and number of reviews, share of messages answered and usual reply delay, verified-business / bank / identity badges, payment method and logo. Two extra requests per DISTINCT seller (not per ad). Charged as an option per ad delivered WITH its seller's profile. These requests are read beside the crawl, 5 sellers at a time, outside `maxRequestsPerMinute` (list-only, a page of 100 listings can ask up to 200 of them): if the log says profiles are missing, lower `maxRequestsPerMinute` — fewer pages a minute, fewer sellers to read.

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

Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.

## `maxConcurrency` (type: `integer`):

Maximum number of requests processed in parallel, 4 by default. Raise it step by step if the log shows no failed requests.

## `maxRequestsPerMinute` (type: `integer`):

Global request rate, 120 by default. Lower it if the log shows failed requests.

## `maxRequestRetries` (type: `integer`):

Retries per request on network errors, 5xx or blocks before it is given up and listed in the FAILED_REQUESTS record.

## `debugLog` (type: `boolean`):

Verbose log (every page and ad).

## Actor input object example

```json
{
  "query": "fiets",
  "searchQueries": [],
  "sellerIds": [],
  "listingIds": [],
  "maxItems": 100,
  "maxItemsPerQuery": 0,
  "locations": [],
  "distanceKm": 0,
  "conditions": [],
  "delivery": "ANY",
  "offeredSince": "ANY",
  "buyItNowOnly": false,
  "sortBy": "RELEVANCE",
  "searchInTitleAndDescription": false,
  "fuelTypes": [],
  "transmission": "ANY",
  "bodyTypes": [],
  "attributeIds": [],
  "attributeRanges": [],
  "excludeKeywords": [],
  "privateSellersOnly": false,
  "sellerType": "ANY",
  "onlyNew": false,
  "stateKey": "default",
  "resetState": false,
  "extractDetails": false,
  "includeRaw": false,
  "sellerProfile": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 4,
  "maxRequestsPerMinute": 120,
  "maxRequestRetries": 5,
  "debugLog": false
}
```

# 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": "fiets",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nice_dev/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",
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nice_dev/marktplaats-listings-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/ShlIpgmJFvanZiEwQ/builds/KExbkddFTfXaHRO1x/openapi.json
