Summary
Marktplaats API v2 for sellers on Marktplaats.nl and 2dehands / 2ememain.be (one API, site as a choice): own advertisements with photos and attributes, statistics, bids and messages to bidders, categories, paid features and orders. OAuth2 for registered API partners.
Guided setup
Connect Marktplaats and 2dehands to ChatGPT in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Marktplaats and 2dehands in the guided setup, then add your MCP URL to ChatGPT. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
AnythingMCP's plugin in ChatGPT's directory answers questions from your company databases on AnythingMCP Cloud (PostgreSQL, MySQL, SQL Server, Oracle, SAP HANA, SQLite, MongoDB, read-only): open the listing (opens in a new tab) and click Install plugin. Every other connector is added to ChatGPT as a custom MCP server with your AnythingMCP MCP URL.
Try asking
Example prompts for Marktplaats and 2dehands
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Marktplaats and 2dehands, choose the site, paste the client ID and secret from Marktplaats, click Authorize with Provider and sign in with your seller account, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Marktplaats and 2dehands + ChatGPT
Marktplaats API v2 for sellers on Marktplaats.nl and 2dehands / 2ememain.be (one API, site as a choice): own advertisements with photos and attributes, statistics, bids and messages to bidders, categories, paid features and orders. OAuth2 for registered API partners.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
MARKTPLAATS_SITE, MARKTPLAATS_CLIENT_ID, MARKTPLAATS_CLIENT_SECRET
Step 1 — Get credentials
Access: the API is for registered API partners. Ask Marktplaats for API access (business sellers and their software partners); Marktplaats registers an app for your redirect URI and sends a client ID and client secret. Each platform has its own clients and accounts: an app for Marktplaats cannot place ads on 2dehands and the other way round.
- When asking for access, give Marktplaats this connector's redirect URI:
<your AnythingMCP URL>/api/mcp-oauth/callback(on AnythingMCP Cloudhttps://cloud.anythingmcp.com/api/mcp-oauth/callback). - Choose the site in
MARKTPLAATS_SITE: marktplaats.nl, 2dehands.be or 2ememain.be (2dehands and 2ememain are one platform, with default language nl-BE or fr-BE). - Paste the client ID and secret into
MARKTPLAATS_CLIENT_IDandMARKTPLAATS_CLIENT_SECRET, install, then click Authorize with Provider and sign in with the seller account. Every refresh returns a new refresh token, which the connector stores.
Where to start: marktplaats_get_me gives the seller's userId; marktplaats_list_my_advertisements lists their ads; marktplaats_get_advertisement_statistics shows views, messages and bids per ad.
Placing an ad: 1) marktplaats_list_categories and marktplaats_get_category for a level-2 category, 2) marktplaats_list_category_attributes for the writable attributes and allowed values (some are mandatory, e.g. manufacturer fields for traders under the GPSR), 3) marktplaats_create_advertisement, 4) marktplaats_add_advertisement_images. Check a postcode with marktplaats_lookup_postcode.
Changing ads: marktplaats_update_advertisement takes JSON Patch operations; give all locales when replacing /translations. marktplaats_get_advertisement and marktplaats_list_advertisement_images read the current state. marktplaats_delete_advertisement is installed switched off.
Bids: marktplaats_list_bids, marktplaats_get_bid, and marktplaats_message_bidder to answer a bidder by e-mail. marktplaats_delete_bid is installed switched off.
Paid products: marktplaats_list_advertisement_features shows prices. marktplaats_buy_advertisement_feature and marktplaats_renew_advertisement charge the seller's invoice and are installed switched off. marktplaats_get_order reads an order of paid products; marktplaats_list_advertisement_transactions shows payments handled by a partner. marktplaats_get_user reads a user.
Formats: all money is in euro cents (1550 = EUR 15.50). Ad ids (itemId) look like m1234567890; user, bid, order and category ids are numbers. Times are ISO 8601 in UTC. Answers are HAL JSON: lists sit under _embedded, links under _links. Ad lists page with limit (up to 100) and an offset that is a multiple of the limit.
Errors: 400 validation-failure lists field errors (missing-required-field, input-invalid, unknown-field and others), 401 means the token expired or belongs to another user, 403 the ad or bid is not yours, 404 not found, 409 a patch could not be applied.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in ChatGPT
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
ChatGPT adds MCP servers as plugins on its Plugins page, on the web and on paid plans. Developer mode is no longer needed. In a Business workspace only admins and owners can add one; in Enterprise and Edu an admin can grant the Create plugins with MCPs permission.
- Go to chatgpt.com/plugins, click Add, then Add custom MCP server.
- Enter a name, e.g. Name:
Marktplaats and 2dehands. - Under Connection, enter the Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand keep Authentication on OAuth. - Select I understand and want to continue, then Create as a plugin. When ChatGPT asks, sign in to AnythingMCP and allow access.
- Install the new plugin from your personal plugins, then type @ in a chat and pick it.
Available tools
| Tool | What it does |
|---|---|
marktplaats_get_me | The signed-in seller (GET /v2/me answers with a redirect to the user): userId, name, email, phone number, postcode, status, dealerPackage… |
marktplaats_get_user | One user by id; email, phone and postcode only for the signed-in user |
marktplaats_list_my_advertisements | The signed-in seller's advertisements (embedded under mp:advertisements): itemId, categoryId, translations, priceModel, location, seller… |
marktplaats_get_advertisement | One of the seller's advertisements: categoryId, translations (title and description per locale), priceModel (prices in euro cents)… |
marktplaats_create_advertisement | Place a new advertisement in a level-2 category: translations (title and description), priceModel (euro cents), location (postcode), and… |
marktplaats_update_advertisement | Change an advertisement with JSON Patch operations (op replace, add or remove, path, value): /translations (all locales must be given)… |
marktplaats_delete_advertisement | Delete an advertisement. It cannot be undone; paid features on it are lost. Installed switched off |
marktplaats_add_advertisement_images | Attach photos to an advertisement from public URLs (JPG, PNG or BMP under 8 MB, no GIF), in the given order; replace_all swaps out the… |
marktplaats_list_advertisement_images | Photos of an advertisement: imageId, mediaId, status and links in small, medium, large and xlarge sizes |
marktplaats_get_advertisement_statistics | Statistics of an advertisement: numberOfViews, numberOfAsqs (buyer messages), numberOfBids, numberOfUrlClicks, numberOfPhoneClicks… |
marktplaats_list_bids | Bids on an advertisement, highest first: bid id, amount in euro cents, bidder id and nickname, placeDate |
marktplaats_get_bid | One bid on an advertisement: amount in euro cents, bidder and placeDate |
marktplaats_message_bidder | Send an e-mail message to the bidder of a bid on your own advertisement (ask bidder question), with your phone number |
marktplaats_delete_bid | Delete a bid on your advertisement. It cannot be undone. Installed switched off |
marktplaats_list_advertisement_features | Paid features available for an advertisement (omhoogplaatsen, dagtopper, dagtopper7, homepaginaAdvertentie and others) with price in euro… |
marktplaats_buy_advertisement_feature | Buy a paid feature for an advertisement and pay it by invoice (pay true, API partners only). Costs money. Installed switched off |
marktplaats_renew_advertisement | Renew an advertisement that is about to expire (renewPossible true, usually in its last 7 days); paid by invoice. Costs money. Installed… |
marktplaats_list_advertisement_transactions | Transactions on an advertisement handled by a payment partner: transactionId, buyerId, amount and shippingCosts in euro cents, status |
marktplaats_get_order | One order of paid products (features, renewals): orderId, status (new, payment required, paid, refused, closed), total price in euro cents… |
marktplaats_list_categories | All categories of the site: level-1 categories with their level-2 children (categoryId, name). Ads go into level-2 categories |
marktplaats_get_category | One level-1 or level-2 category by id (categoryId, name) with its embedded children |
marktplaats_list_category_attributes | Attributes of a level-2 category: key, labels, type, options (allowed values), mandatory, writable, updateable, min and max. Use the keys… |
marktplaats_lookup_postcode | Location details for a postcode (street, city, province, provinceShortCode), to check a postcode before placing an ad |
Example prompts
- "How many views and favourites did my Marktplaats ads get this week?"
- "Which bids are open on my ad for the oak dining table?"
- "Send the highest bidder a message that the table can be picked up on Saturday."
- "Place a new ad for a road bike at 450 EUR in the right category."
- "Which of my ads expire in the next 7 days?"
FAQ
Who can use it? Registered API partners. Ask Marktplaats for API access with this connector's redirect URI; it sends a client ID and secret for one platform. Marktplaats.nl and 2dehands / 2ememain.be have separate clients and accounts.
What does it cover? Your own advertisements with photos and attributes, statistics, bids and messages to bidders, categories, paid features and orders. It does not search other sellers' ads.
Which tools install switched off? marktplaats_delete_advertisement, marktplaats_delete_bid, marktplaats_buy_advertisement_feature and marktplaats_renew_advertisement, because buying features and renewals cost money. Switch them on on the connector page only if the AI should use them.
Does the free ChatGPT plan work with custom MCP servers? OpenAI documents custom MCP servers for paid plans only; the Free plan is not on its list.
Next steps
Was this guide helpful?