Address parts geocoding
GET/locations/address
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "us-census-geocoder",
"path": "/locations/address",
"method": "GET",
"query": {
"street": "",
"city": "",
"state": "",
"zip": "",
"benchmark": "",
"format": ""
}
}'
{
"success": true,
"data": {
"result": { … }
}
}
A real response, recorded when Orthogonal checked this endpoint.
$0.002per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Geocode an address given as separate street, city, state and ZIP parts (returntype locations, searchtype address). Needs street+zip or street+city+state.
Query parameters
streetrequiredstringStructure number and street name.citystringstatestringzipstringbenchmarkrequiredstringNumerical ID or name of the locator version, e.g. 4 or Public_AR_Current.formatrequiredstringcallbackstringJSONP callback; use with format=jsonp.More from US Census Geocoder
- One-line address with geographiesGET/geographies/onelineaddress$0.002 per callFixed
- Puerto Rico address with geographiesGET/geographies/addressPR$0.002 per callFixed
- Benchmark listGET/benchmarks$0.002 per callFixed
- One-line address geocodingGET/locations/onelineaddress$0.002 per callFixed
- Coordinate geography lookupGET/geographies/coordinates$0.002 per callFixed
- Vintage listGET/vintages$0.002 per callFixed
- Puerto Rico address geocodingGET/locations/addressPR$0.002 per callFixed
- Address parts with geographiesGET/geographies/address$0.002 per callFixed