Discovery
Find the nearest enabled destination to a coordinate.
HTTP only; this operation is not exposed through MCP. Returns the nearest enabled gateway with no distance limit. Check distanceKm before suggesting it. Preserve an explicit destination choice. The website limits nearby suggestions to 200 km; this API does not.
get/destinations/nearest
Request
- Base URL: https://ecoaloha.com/api/v1
- URL: https://ecoaloha.com/api/v1/destinations/nearest
- Auth: none required
Query parameters
latnumber required
Latitude in decimal degrees.
lngnumber required
Longitude in decimal degrees.
Response
Nearest destination.
Example response
{
"data": {
"id": "frankfurt",
"name": "Frankfurt",
"country": "Germany"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.