Skip to main content
POST
/
api
/
address
/
validate
Validate an address
curl --request POST \
  --url https://app.demandiq.com/api/address/validate \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "123 Main St",
  "city": "Denver",
  "country": "US",
  "state": "CO",
  "zip": "80202"
}
'
{
  "valid": true,
  "formattedAddress": "<string>",
  "lat": 123,
  "lng": 123
}

Body

application/json
address
string
required
Example:

"123 Main St"

city
string
required
Example:

"Denver"

country
string
required

ISO 3166-1 alpha-2 country code

Example:

"US"

state
string
Example:

"CO"

zip
string
Example:

"80202"

Response

Validation result

valid
boolean
formattedAddress
string
lat
number
lng
number