Welcome to country-state-city microservice

Reverse Geocoding: Endpoint Get Address

GET https://api.geocodxyz.rebuscando.info/api/public/getAddress

Parameters:

apikey (mandatory)
lat (mandatory)
lon (optional)

Example:

REQUEST:

GET https://api.geocodxyz.rebuscando.info/api/public/getAddress?apikey=21177f8b-f2e8-4b76-bdfe-71356d794ae8&lat=-33.7774886&lon=151.0786394

RESPONSE:

{
“lat”: -33.7774886,
“lon”: 151.0786394,
“postaladdress”: “Victoria Street”,
“zipcode”: “2122”,
“city”: “Sydney”,
“state”: “New South Wales”,
“country”: “AU”
}

 

If GeoCod can’t geocode your request you will get an empty response (status 200).