Parse a postal address into parts and check the postcode
address_parseSplits a free-text postal address into house number, street, unit, postcode, city, district, region and country, with a normalised one-line form. The postcode is checked against the rule of the country (for 18 countries); a mismatch is left out and says so. Workers AI does the split, so check the parts. geocode=1 adds coordinates from OpenStreetMap Nominatim. Related tools on this server, for a different need: crypto_address_risk when you need to check crypto addresses against OFAC digital-currency sanctions. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "address_parse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The address as free text, up to 500 characters | |
| country | No | ISO2 code of the country when you know it, e.g. DE (optional, improves the postcode check) | |
| geocode | No | 1 to add coordinates from OpenStreetMap, default 0 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| parts | No | ||
| source | No | ||
| geocode | No | ||
| checkedAt | No | ||
| normalised | No | ||
| postcodeNote | No | ||
| postcodeRuleChecked | No |