Documentation
Hotelsbase is a free API. It is provided as a simple XML service. A single database containing all hotels is also available.
A simple example is available
here.
Sample Hotel Search
http://api.hotelsbase.org/search.php?longitude=98.97422370000004&latitude=18.7521762
Response:
<?xml version="1.0" encoding="iso-8859-1" ?>
<HotelList><avgLat>98.97422370000004</avgLat><avgLong>18.7521762</avgLong><Hotel>
<name>#1 Value Inn Clovis</name>
<fulladdress>1720 Mabry , Chiang Mai,Thailand</fulladdress>
<phone></phone>
<city>Chiang Mai</city>
<description>#1 Value Inn Clovis is a Hotel in Chiang Mai,Thailand.</description>
<featured></featured>
<stars>2</stars>
<rating>0</rating>
<long>98.97</long>
<lat>18.788</lat>
<dist>5043.54</dist>
<price>0</price>
<url></url>
<hotelsbaseUrl>http://www.hotelbase.org/hotels/9/Chiang-MaiThailand/#1-Value-Inn-Clovis.html</hotelsbaseUrl>
</Hotel><resultsNumber></resultsNumber></HotelList>
Parameters
- longitude,latitude (Required)
- priceMin,priceMax
- starsMin,starsMax
- distanceMin,distanceMax
License
Each page that uses hotelsbase data must link to hotelsbase.org, in any many you choose.
Hotelsbase is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
API Example -
Download Example
Documentation -
Worldwide Hotel Statistics
Download Database (CSV) - Over 500,000 hotels. Please fill in form below.
Support Forum
Quick API & Database Access
Simply fill in this short form and we will e-mail instructions on how to access the database. If you require contact data, please
contact us.