Download OpenAPI specification:
Postcode and Locality Lookup services for address validation
Checks if postcode is in correct format.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| pcode required | string Example: pcode=3006 Post code |
| ukey required | string |
| callerID | string Application identification key |
{- "FormatStatus": "Undefined",
- "PcodeFormat": [
- {
- "pcodeFormat": "string",
- "charsEncoded": "string"
}
]
}Returns postcode format for a country.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| ukey required | string |
| callerID | string Application identification key |
[- {
- "pcodeFormat": "string",
- "charsEncoded": "string"
}
]Returns a list of localities and postal regions that begin with the string Loc in the input.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| Loc required | string Example: Loc=BERN Locality name |
| ukey required | string |
| callerID | string Application identification key |
{- "loc_prime": "string",
- "loc_name": "string",
- "loc_Id": "string",
- "postal_region": "string",
- "loc_with_context": "string"
}Returns official name for a given locality.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| Loc required | string Example: Loc=BERN Locality name |
| ukey required | string |
| callerID | string Application identification key |
{- "localityOfficial": "string",
- "localityGiven": "string",
- "localityId": "string"
}Returns list of postcodes for a locality.
| Country required | string [ 2 .. 3 ] characters Example: Country=FR Country ISO2 or ISO3 code |
| Loc required | string Example: Loc=BERN Locality name |
| Limit required | number [ 1 .. 1000 ] Example: Limit=25 Maximum number of results returned |
| ukey required | string |
| callerID | string Application identification key |
[- {
- "localityOfficial": "string",
- "localityGiven": "string",
- "localityId": "string",
- "postcode": "string"
}
]Returns list of postcodes for given locality ID. It is intended to take as an input ID of locality selected by end user from the list of localities returned by function LocalityLike.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| Locid required | string Example: Locid=2613933317911 Locality ID |
| Limit required | number [ 1 .. 1000 ] Example: Limit=25 Maximum number of results returned |
| ukey required | string |
| callerID | string Application identification key |
{- "pcode": "string"
}Returns list of localities for a postcode.
| Country required | string [ 2 .. 3 ] characters Example: Country=CHE Country ISO2 or ISO3 code |
| Pcode required | string Example: Pcode=3063 Postalcode |
| Limit required | number [ 1 .. 1000 ] Example: Limit=25 Maximum number of results returned |
| ukey required | string |
| callerID | string Application identification key |
[- {
- "localityId": "string",
- "locality": "string",
- "postcode": "string",
- "adm1": "string",
- "adm2": "string",
- "adm3": "string",
- "adm4": "string"
}
]Checks if a postcode is valid for a locality.
| Country required | string [ 2 .. 3 ] characters Example: Country=CH Country ISO2 or ISO3 code |
| Pcode required | string Example: Pcode=3006 Postalcode |
| Loc required | string Example: Loc=BERN Locality name |
| ukey required | string |
| callerID | string Application identification key |
[- {
- "localityId": "string",
- "locality": "string",
- "postcode": "string",
- "adm1": "string",
- "adm2": "string",
- "adm3": "string",
- "adm4": "string"
}
]