Reference
Address lookup
GET/api/v1/addresses/lookup/
Geocode one address to a point. A miss is a 404. An outage is a 5xx.
Parameters
| Name | Type | Description |
|---|---|---|
| address* | string | Street address, city, or ZIP to geocode. |
| bias_lat | number | Optional latitude. Prefers the match closest to this point. From -90 to 90. |
| bias_lng | number | Optional longitude. Sent with bias_lat. From -180 to 180. |
* Required.
Response
-
matched_address string
The address the geocoder settled on.
-
lat number
-
lng number
-
zip string
-
city string
-
state string
-
approximate boolean
True when the point is a ZIP, city, or county centroid.
Status
- 200 The matched address and coordinates.
- 400 Missing address, or bias_lat and bias_lng were not both numbers.
- 401 Missing or invalid credentials.
- 403 This plan has no call allowance configured.
- 404 No address matched.
- 429 Monthly call limit reached.