Marktplaats
Marktplaats Listing API
One ad on marktplaats.nl, 2dehands.be or 2ememain.be by id or link: the description (phone numbers, emails and licence plates removed), asking price and price type, condition, ad type, bids as amounts and times only, views, favorites, posted date, reserved and buy-it-now flags, category, attributes, vehicle details for cars, shipping options with prices, city, images and the seller's public id, type and member years. Costs 1 credit per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonidstringA listing id (items[].id: m or a followed by digits). id or url is required.
Example: m2473524999
urlstringAn ad link from one of the three sites, instead of id (the link decides the site).
sitestringdefault:marktplaats.nlmarktplaats.nl (Netherlands, Dutch), 2dehands.be (Belgium, Dutch) or 2ememain.be (Belgium, French). All EUR.
marktplaats.nl— Marktplaats, Netherlands, Dutch2dehands.be— 2dehands, Belgium, Dutch2ememain.be— 2ememain, Belgium, French
Notes
Marktplaats. Marktplaats (marktplaats.nl) is the Netherlands' largest classifieds marketplace; 2dehands.be (Dutch) and 2ememain.be (French) are its Belgian sites. Scavio fetches the public page on request and returns what the page shows as JSON. site picks the site: marktplaats.nl (default), 2dehands.be or 2ememain.be; prices are euros on all three. Marktplaats has a partner API that needs registration and approval; this is a separate option on one Scavio key, with the same key and response envelope as every other Scavio platform. id is items[].id of a search, browse or seller-listings answer: m or a followed by digits. A link from any of the three sites decides the site. id_matches says whether the ad served is the one asked for. bidding lists the bids the ad page shows with amount and time only, never who bid; minimum_next_bid is the lowest bid the page accepts now. vehicle (cars) carries make, model, trim, year, mileage_km, fuel, transmission, body type, power and the APK expiry date, never the plate. A sold or removed ad is a charged 404.
Private sellers' names, bidder names, contact details (phone, email, address, chamber-of-commerce number), coordinates and licence plates are never returned. Ad descriptions come with phone numbers, email addresses and licence plates removed. seller.id is the site's public seller id; business_name is given for business sellers only.
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Live ads for keywords and / or a top-level category, 30 a page, with condition, facet values, an asking-price range, a postcode with a radius and five sorts; the paid block apart, facets and categories with counts | 1 |
browse | A subcategory's listing page by its keys, with one facet value and keywords, plus the page's stats (total, average asking price) | 1 |
listing | One ad by id or link: description, asking price, bids as amounts and times, views, favorites, attributes, vehicle details, shipping options, city and the seller's id and type | 1 |
seller | One seller by id or link: private or business, business name (business only), member since, rating, review count, city, verified, live listing count | 1 |
seller-listings | One seller's live ads, 30 a page, in the search card shape | 1; page 2+ 2 (see notes) |
categories | The top-level categories, or one top-level category's subcategories with live listing counts | 1 |
suggestions | The search box's suggestions for typed text, each with the category the site pairs it with | 1 |
price-guide | The asking-price bands (low, mid, high) of similar live ads on marktplaats.nl: lowest, highest and average asking price and the number of ads. Not sold prices | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
ad = client.marktplaats.listing(id="m2473524999")["data"]
print(ad["title"], ad["price"], ad["price_type"], ad["views"], ad["favorites"])
if ad["bidding"]["enabled"]:
print(ad["bidding"]["bid_count"], "bids:", [b["amount"] for b in ad["bidding"]["bids"]])
for o in ad["shipping"]["options"]:
print(o["method"], o["option"], o["price"])Response