| GeoNames Home | Postal Codes | Download / Webservice | About |
| click on the map to view reverse geocoded street names. |
| geocode address : |
Url : api.geonames.org/address?
Parameters : lat,lng; radius in m (default=100); maxRows (default=1)
Restriction : this webservice is only available for selected countries, see list below.
Result : returns the nearest address for the given latitude/longitude.
Example http://api.geonames.org/address?lat=52.358&lng=4.881&username=demo
This service is also available in JSON format :
http://api.geonames.org/addressJSON?lat=52.358&lng=4.881&username=demo
Url : api.geonames.org/geoCodeAddress?
Parameters : q (query term, url encoded)
Optional Parameters: country (iso countrycode), postalcode
Restriction : this webservice is only available for selected countries, see list below.
Result : returns the nearest address for the given latitude/longitude.
Example http://api.geonames.org/geoCodeAddress?q=Museumplein+6+amsterdam&username=demo
This service is also available in JSON format :
http://api.geonames.org/geoCodeAddressJSON?q=Museumplein+6+amsterdam&username=demo
Url : api.geonames.org/streetNameLookup?
Parameters : q (query term, url encoded)
Optional Parameters: country (iso countrycode), postalcode, adminCode1, adminCode2, adminCode3, isUniqueStreetName (duplicate street names are filtered, the placename will be empty when the same street name occurs at different places)
Restriction : this webservice is only available for selected countries, see list below.
Result : returns a list of street names starting with the query term.
Example http://api.geonames.org/streetNameLookup?q=Museum&username=demo
This service is also available in JSON format :
http://api.geonames.org/streetNameLookupJSON?q=Museum&username=demo