PostNL Nearest Shop

Fetches the PostNL nearest shop locations. Returns a list of PostNL Shop Location representations. The only parameter is the postal code, where the shop locations should be close to.

Parameters

name required default constraints
postCode yes

postCode

The postal code where the shop locations should be close to.

Errors

http error code description
500 internal-server-error Oops! Sorry, something went wrong on our side.
400 invalid-postcode The post code informed doesn’t exists or parameter is missing.

Reference

GET /v1/postnl/nearest-shop

Examples

Get PostNL catalog

Request :

GET /v1/postnl/nearest-shop?postcode=1082GN HTTP/1.1
Host: api.marktplaats.nl

Response :

HTTP/1.1 200 OK
Content-Type: application/json

{
  "_links": {
    "self": {
      "href": "/v1/nearest-shop"
    }
  },
  "location": {
    "name": "Albert Heijn",
    "address": "Gelderlandplein 47",
    "street": "Gelderlandplein",
    "houseNumber": 47,
    "houseNumberSuffix": "",
    "city": "Amsterdam"
    }
}