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

Free Geocoding Webservice

Postal code

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


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://ws.geonames.org/postalCodeCountryInfo?



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