One-line address geocoding
GET/locations/onelineaddress
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/onelineaddress",
"method": "GET",
"query": {
"address": "",
"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 a full single-line address to latitude/longitude and a matched, standardized address (returntype locations, searchtype onelineaddress).
Query parameters
addressrequiredstringA single line containing the full address to be searched.benchmarkrequiredstringNumerical ID or name of the locator version, e.g. 4 or Public_AR_Current (see Benchmark list).formatrequiredstringOutput format.callbackstringJSONP callback function name; 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
- 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 geocodingGET/locations/address$0.002 per callFixed
- Address parts with geographiesGET/geographies/address$0.002 per callFixed