Skip to main content
POST
Validate an address

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Body

application/json
address
string
required
Example:

"123 Main St"

city
string
required
Example:

"Phoenix"

country
string
required

ISO 3166-1 alpha-2 country code

Required string length: 2
Example:

"US"

state
string
Example:

"AZ"

zip
string
Example:

"85001"

Response

Validation result

valid
boolean
formattedAddress
string
coordinates
object
normalized
object
error
string