POST /address/v1/validate
Check one typed address against the supported source. Not proof that mail can be delivered there.
- Authentication: a short-lived signed token,
Authorization: Bearer <token>. The audience isaddress-searchand the scope isaddress. - Safe to repeat: yes. The client retries it after a retryable failure.
- Agent tool:
address.validate
POST
/address/v1/validateRequest body
requiredapplication/jsonaddressstringrequiredResponses
200
Success
outcomestringrequiredmatch: one supported address equals the input; ambiguous: candidates exist but none equals it; no-match: nothing found.
Allowed:
matchambiguousno-matchaddressobjectShow propertiesHide properties
idstringrequiredmin length 1 · max length 128
displayAddressstringrequiredmin length 1
buildingNamestringmin length 1
lotobjectShow propertiesHide properties
prefixstringmin length 1
numberstringrequiredmin length 1
suffixstringmin length 1
flatobjectShow propertiesHide properties
typestringmin length 1
numberstringrequiredmin length 1
levelobjectShow propertiesHide properties
typestringmin length 1
numberstringrequiredmin length 1
numberobjectShow propertiesHide properties
firstobjectrequiredShow propertiesHide properties
prefixstringmin length 1
valueintegerrequiredmin 0
suffixstringmin length 1
lastobjectShow propertiesHide properties
prefixstringmin length 1
valueintegerrequiredmin 0
suffixstringmin length 1
streetobjectShow propertiesHide properties
namestringrequiredmin length 1
typestringmin length 1
suffixstringmin length 1
localitystringrequiredmin length 1
statestringrequiredAllowed:
ACTNSWNTQLDSATASVICWApostcodestringrequiredcountryCodestringrequiredAllowed:
AUcandidatesobject[]requiredUp to three candidates, for an ambiguous result.
max items 3
Show propertiesHide properties
Array of
objectidstringrequiredmin length 1 · max length 128
labelstringrequiredmin length 1
secondaryLabelstringmin length 1
unitLabelstringmin length 1
matchedRangesany[][]required400
The request body is not valid for this operation.
codestringrequiredAllowed:
INVALID_INPUTmessagestringrequiredretryablebooleanrequiredrequestIdstringrequiredThe request's id, for support.
401
The request carries no identified caller (ADR-0018).
codestringrequiredAllowed:
UNAUTHORIZEDmessagestringrequiredretryablebooleanrequiredrequestIdstringrequiredThe request's id, for support.
410
This major version is retired (ADR-0050).
codestringrequiredAllowed:
VERSION_RETIREDmessagestringrequiredretryablebooleanrequiredrequestIdstringrequiredThe request's id, for support.
429
The fair-use ceiling is reached; retry after Retry-After.
codestringrequiredAllowed:
FAIR_USE_CEILINGmessagestringrequiredretryablebooleanrequiredrequestIdstringrequiredThe request's id, for support.
503
The source is unavailable or the index is not ready.
codestringrequiredAllowed:
UNAVAILABLEmessagestringrequiredretryablebooleanrequiredrequestIdstringrequiredThe request's id, for support.