LocateOne DocsBrowse docs →

Reverse Geocode

Performs reverse geocoding to retrieve address and location information based on coordinates.

GEThttps://api.getos1.com/locateone/v1/reverse-geocode
Headers
x-api-keystringrequired
This key is used for authentication and billing.
Content-typestringrequired

application/json

Query parameters
typestringrequired
The reverse geocode type
latnumberrequired
Latitude value
lngnumberrequired
Longitude value
error_radiusintegerrequired
Error radius in meters
Request example
curl --request GET \
     --url 'https://api.getos1.com/locateone/v1/reverse-geocode?type=string&lat=number&lng=number&error_radius=integer' \
     --header 'accept: application/json' \
     --header 'x-api-key: string'
Responses
200
200Success
statusintegeroptional
Example: 0
request_idstringoptional
messagestringoptional
dataarrayoptional
Response samples
// Success
{
  "status": 0,
  "request_id": "",
  "message": "",
  "data": [
    {}
  ]
}