Skip to main content
GET
Look up an address from coordinates
For easy integration with web and Android projects, this service is also available through our JavaScript and Java libraries.

Authorizations

key
string
query
required

Your Baato access token. See Authentication.

Query Parameters

lat
number<double>
required

Latitude of the location for which the address is computed.

lon
number<double>
required

Longitude of the location for which the address is computed.

radius
number<double>

A proxy for inaccuracy: how close around the coordinates the algorithm should look for potential address nodes.

limit
integer
default:1

The number of results to return.

adminInfo
boolean
default:false

Include admin level info (province, district, municipality) in the response.

Response

The address at or near the given coordinates.

timestamp
string

Server time when the response was generated.

Example:

"Thu May 14 07:35:16 NPT 2020"

status
integer

HTTP-style status code echoed in the response body.

Example:

200

message
string
Example:

"Success"

data
object[]