POST
$0.02 default
/clean/addressDescription
Parse common EU address strings into street, number, postcode and city, with postcode syntax validation per country.
Pricing
$0.02 default
Request schema
{
"properties": {
"address": {
"type": "string"
},
"country": {
"default": "NL",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}Response schema
{
"properties": {
"number": {
"type": [
"string",
"null"
]
},
"postcode_valid": {
"type": [
"boolean",
"null"
]
},
"street": {
"type": [
"string",
"null"
]
},
"valid": {
"type": "boolean"
}
},
"type": "object"
}Example request
{
"address": "Keizersgracht 123, 1015 CJ Amsterdam",
"country": "NL"
}Example response
{
"city": "Amsterdam",
"number": "123",
"ok": true,
"postcode": "1015 CJ",
"street": "Keizersgracht",
"valid": true
}