GeoNames Home | Postal Codes | Download / Webservice | About |
search

Free Geocoding Webservice

Postal code

Webservice Type : REST
Url : api.geonames.org/postalCodeSearch?
Parameters : postalcode ,placename,maxRows,country
Result : returns a list of places for the placename/postalcode query as xml document
Example http://api.geonames.org/postalCodeSearch?postalcode=9011&maxRows=10&username=demo


Note : Don't forget to url encode string parameters containing special characters or spaces. (Faq entry on url encoding)

This webservice is also available in JSON format for a javascript postal code autocomplete.
Supported Countries


The webservice postalCodeCountryInfo returns information on the available postal codes : http://api.geonames.org/postalCodeCountryInfo?username=demo



Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 License.