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

Geonames Hotel Webservices

The beta period of this service has ended and it turned out to be below expectations. Usage and conversions have not been sufficient to justify further efforts.

Geonames offers two web services 'Find Nearby Hotel' which takes lat/lng as input parameters and 'Hotels in BoundingBox' which takes the four parameter south,north,east,west. All bookings generated by users following links included in these webservices will result in a commission for you. You have to add the parameter 'username' with your geonames-username to the webservice calls for us to know where the booking was generated from.

Find Nearby Hotel

This service returns the hotels near a given lat/lng ordered by distance.

Url : ws.geonames.org/findNearbyHotel?
Parameters : lat,lng;
Result : returns the nearest hotels for the given latitude/longitude.
Example http://ws.geonames.org/findNearbyHotels?lat=37.451&lng=-122.18

This service is also available in JSON format :
http://ws.geonames.org/findNearbyHotelsJSON?lat=37.451&lng=-122.18



Hotels in BoundingBox

Url : ws.geonames.org/hotelsBBox?
Parameters : lat,lng;
Result : returns hotels within the given bounding box .
Example http://ws.geonames.org/hotelsBBox?north=44.1&south=-9.9&east=-22.4&west=55.2

This service is also available in JSON format :
http://ws.geonames.org/hotelsBBoxJSON?north=44.1&south=-9.9&east=-22.4&west=55.2



Geonames Hotel Data

Global Hotel Location coverage

GoogleEarth network link : GE hotels

 number of hotels | countrycode
------------------+-------------
            28670 | US
             5509 | IT
             5373 | ES
             4825 | FR
             2985 | DE
             2839 | CN
             2123 | CA
             2008 | GB
             1279 | AU
             1125 | MX
              928 | PT
              848 | GR
              802 | CH
              642 | TR
              597 | NL
              548 | IE
              503 | TH
              502 | AT
              475 | SE
              427 | CZ


total : over 70.000 hotels in over 180 countries.