Get Autocomplete Previews
GET/v1/addver/completions
Returns address completion previews for a partial street address, suitable for populating an autocomplete dropdown without consuming a lookup per keystroke.
Each result contains a partial address preview (street, city, and — for non-US addresses — only the first 3 digits of the postal code, to avoid revealing the full code before a lookup is charged).
- Does not consume a lookup.
- Use
POST /completionsto resolve a full address once the user selects a result.
Query Parameters
Get Autocomplete Previews
curl https://api.postgrid.com/v1/addver/completions \
-H "X-API-Key: $POSTGRID_ADDRESS_VERIFICATION_API_KEY"{
"data": [
{
"preview": {
"address": "address",
"city": "city",
"pc": "pc",
"prov": "prov"
}
}
],
"message": "message",
"status": "success"
}Returns Examples
{
"data": [
{
"preview": {
"address": "address",
"city": "city",
"pc": "pc",
"prov": "prov"
}
}
],
"message": "message",
"status": "success"
}