Marktplaats
Marktplaats Suggestions API
What the marktplaats.nl, 2dehands.be or 2ememain.be search box suggests for typed text: up to 10 suggestions, each with the category the site pairs it with (category id and name, parent id and name). 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/jsonprefixstringrequiredWhat a visitor has typed in the search box, 1 to 100 characters.
Example: fatb
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. category_id is the input of search when it is a top-level id, of categories otherwise. The site does not narrow suggestions by category. Suggestions and category names are in the site's language.
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.suggestions(prefix="fatb")["data"]
for s in d["suggestions"]:
print(s["position"], s["text"], s["category_name"], s["parent_name"])Response