CrossMotion API
Postcode check
Base URL: //api.crossmotion.nl/postcode/
Paths mentioned below can also be used in combination with POST variables.
Only use the first part of the path (leave out the codes in the URL) and make sure the field names match with the {code}!
| Path | Description | Returns |
|---|---|---|
/get/{token}/{postcode}/{houseNumber} |
Grab the data associated with the provided postcode and house number. | On success:{"status":"success",
"data":[
{"postcode":"1111AA",
"street":"Straatweg",
"houseNumber":"1",
"houseNumberAddition":"",
"province":"Utrecht",
"city":"Utrecht"}
]}
Invalid combination:
{"status":"error",
"data":"Ongeldige postcode\/huisnummer combinatie"}
Missing housenumber:
{"status":"error",
"data":"Huisnummer is niet ingevuld"}
Invalid postcode length:
{"status":"error",
"data":"Postcode is te kort"}
|