GET
GET /lookup?lat={lat}&lon={lon}
, where {lat}
and {lon}
are replaced by latitude and longitude of location you are interested in.
POST
POST /lookup
having json body with the following scheme:
[
{
"lat": 0.0,
"lon": 0.0,
},
...
]
Response
API results are always json with the following scheme:
[
{
"lat": 0.0,
"lon": 0.0,
"elev": 0,
},
...
]
Errors are sent as plaintext with error code 500