Marktplaats
Marktplaats Seller Listings API
One seller's live ads on marktplaats.nl, 2dehands.be or 2ememain.be, by seller id or link, 30 a page, in the search card shape: asking price, price type, condition, attributes, city, posted label and paid-placement flag. Page 1 costs 1 credit; page 2 and later cost 2 credits when the seller page is read twice, else 1.
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/jsonseller_idstring | integerA seller id (items[].seller.id of a search, e.g. 19190757). seller_id or url is required.
Example: 19190757
urlstringA seller link from one of the three sites (/u/<name>/<id>/), instead of seller_id.
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
pageintegerdefault:1Page, 1 to 167, 30 a page; max_page says how deep the list goes.
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. Page 2 and later need the seller's current link name: when the request sends seller_id, or a seller link without that name, the seller page is read twice and the call costs 2 credits; a seller link carrying the current name costs 1. credits_used says what was charged. A private seller's name is never returned; a business seller's business name is (seller.business_name).
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)
d = client.marktplaats.seller_listings(seller_id="19190757")["data"]
print(d["seller"]["business_name"], d["total"], "live ads,", d["max_page"], "pages")
for ad in d["items"]:
print(ad["id"], ad["price"], ad["price_type"], ad["condition"], ad["title"])Response