A clean REST API for address autocomplete, geocoding and distance. Authenticate with your secret key, then call any endpoint.
Pass your API key in the x-api-key header on every request. Each call draws from your wallet balance.
curl "https://api.uselokate.com/v1/autocomplete?query=Lekki&country=NG" \ -H "x-api-key: mak_live_xxxxxxxx"
/v1/autocompleteAddress suggestions as the user types.
Params: query (required), country
/v1/place/:placeIdFull structured address + lat/lng for a selected suggestion.
Params: placeId (path)
/v1/reverse-geocodeCoordinates → human-readable address.
Params: lat (required), lng (required)
/v1/distanceRoad distance + ETA between two points.
Params: origin {lat,lng}, destination {lat,lng}
Paste an API key from your dashboard and make a real request.
Enter an API key from your dashboard to try it live.
// response will appear here