HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
booked_room
Details of the type of room booked, including room information, occupancy and price breakdowns
Fields
room_infoThe details about a room including the id, the name, and allowed occupancy
Show fields
room_idThe Id for a room in a lodging.
123456nameRoom name
Standard King roommax_adultsThe number adults that are able to stay in this room.
2max_childrenThe number children that are able to stay in this room.
2mediaList of media assets with their associated room media types
Show fields
Media asset with its associated room media type
type:image (media_image) media_image
typeType of media content
imagevideo · Example imageurlURL to the original media content resource, this is not resized
https://example.com/images/hotel-lobby.jpglinksLinks to the media content at different sizes.
Show fields
1440pxA link to a media image at a specific size
Show fields
urlURL to the media content at this size
https://i.travelapi.com/hotels/1000000/20000/15300/15237/bef1b976_t.jpgcategoryCategory of lodging media content
primarylobbyguest_roompoolfitnessspasports_facilityamenitydiningbarinteriorexteriorviewpoint_of_interestliving_areakitchenbedroombathroomuncategorized · Example primarycaptionOptional caption for the image
Spacious hotel lobby with modern decoris_primaryIndicates if this is the primary image for the lodging
truevideo (media_video) media_video
typeType of media content
imagevideo · Example imageurlURL to the original media content resource
https://example.com/videos/hotel-tour.mp4thumbnail_urlURL to the thumbnail image for the video
https://example.com/videos/hotel-tour-thumbnail.jpgdescriptionRoom description
Comfortable room with king-size bed, city view, and modern amenitiessize_sq_ftRoom size in square feet
350bed_configurationsList of bed configurations in the room
Show fields
quantityNumber of beds of this type
2bed_typeType of bed available in a room
doublefutonkingmurphyqueensofatatamitwinsinglefullrun_of_the_housedormwaterbunkcribrollawaytrundleunspecified · Example kingroom_amenitiesList of amenities available in the room
Show fields
amenity_typeType of amenity available in a specific room
accessibilityair_conditioningbarchildcarecoffee_makercoffee_teafitness_centerfree_wifihair_dryerheatinghot_tubkitchen_essentialslaundryoutdoor_spacepoolroom_wifiworkspacebreakfast_includedprivate_open_air_bathsmokingwestern_stylejapanese_stylerollaway_or_extra_beds_available · Example free_wifinameDisplay name of the room amenity
Free WiFiviewsList of views available from the room (e.g. ocean, city, garden). Omitted or empty when the room's views are unknown.
smoking_policySmoking policy of a room. Omitted when unknown; absence does not mean non-smoking.
smokingnon_smokingsmoking_and_non_smoking · Example non_smokingaccessibility_featuresAccessibility features available in the room. Omitted when unknown; absence does not mean the room is inaccessible.
payment_schedulePricing breakdown of a rate. Includes the amounts owed at book time and the amounts owed at check-in.
Show fields
owed_nowAmounts due at time of booking
Show fields
baseThe base price of the lodging (product price excluding taxes and fees)
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45taxesList of taxes
Show fields
categoryReason for the tax. This is a non-exhaustive list of enum values, which will be extended in the future.
tax_recovery_chargessales_taxcity_tax · Example city_taxcurrencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45nameFree form name of the tax in the property manager specified language
descriptionFree form detailed description of the tax in the property manager specified language
feesList of fees
Show fields
categoryFee category. This is a non-exhaustive list of enum values, which will be extended in the future.
property_feehotel_feeresort_feetraveler_service_feecleaning_feepet_fee · Example hotel_feecurrencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45nameFree form name of the fee in the property manager specified language
descriptionFree form detailed description of the fee in the property manager specified language
totalTotal price including base, taxes, and fees
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45owed_at_check_inAmounts due at check-in (e.g. resort fees, remaining balance, local taxes).
These charges are collected at the property and may be denominated in the property's local
currency, which can differ from the currency of owed_now (for example, a rate sold in USD with
a city tax collected at the hotel in EUR). Read the currency on each amount/tax/fee rather than
assuming it matches owed_now.
For pay-later rates (only returned by shop to partners enabled for them), the stay itself is paid at the
property: owed_at_check_in.base holds the room price, owed_at_check_in.total includes every tax and
fee, and owed_now is zero. Taxes and fees without an API category are counted in the total but not
itemized in the taxes or fees lists. /quote does not return this split yet, and booking pay-later
rates is not supported yet: /book returns rate_unavailable (409).
Show fields
baseThe base price of the lodging (product price excluding taxes and fees)
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45taxesList of taxes
Show fields
categoryReason for the tax. This is a non-exhaustive list of enum values, which will be extended in the future.
tax_recovery_chargessales_taxcity_tax · Example city_taxcurrencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45nameFree form name of the tax in the property manager specified language
descriptionFree form detailed description of the tax in the property manager specified language
feesList of fees
Show fields
categoryFee category. This is a non-exhaustive list of enum values, which will be extended in the future.
property_feehotel_feeresort_feetraveler_service_feecleaning_feepet_fee · Example hotel_feecurrencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45nameFree form name of the fee in the property manager specified language
descriptionFree form detailed description of the fee in the property manager specified language
totalTotal price including base, taxes, and fees
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45occupancyNumber of guests that want to stay in the lodging
Show fields
adultsNumber of adult guests
2childrenList of children guest ages
petsNumber of pets accompanying the guests
1{
"room_info": {
"room_id": "123456",
"name": "Standard King room",
"max_adults": 2,
"max_children": 0,
"size_sq_ft": 350,
"bed_configurations": [
{
"quantity": 1,
"bed_type": "king"
}
],
"room_amenities": [
{
"amenity_type": "free_wifi",
"name": "Free WiFi"
},
{
"amenity_type": "hair_dryer",
"name": "Hair dryer"
}
],
"views": [
"city",
"partial_ocean"
],
"smoking_policy": "non_smoking",
"accessibility_features": [
"wheelchair_accessible",
"roll_in_shower"
],
"media": [
{
"type": "image",
"url": "https://example.com/images/standard-king-room.jpg",
"links": {
"1440px": {
"url": "https://i.travelapi.com/hotels/1000000/20000/15300/15237/bef1b976_t.jpg"
}
},
"category": "guest_room",
"caption": "Spacious king room with city view",
"is_primary": true,
"media_type": "exact_room"
},
{
"type": "video",
"url": "https://example.com/videos/standard-king-room-tour.mp4",
"thumbnail_url": "https://example.com/videos/standard-king-room-tour-thumbnail.jpg",
"media_type": "exact_room"
}
]
},
"occupancy": {
"adults": 2,
"children": [
3,
5,
9
],
"pets": 1
},
"payment_schedule": {
"owed_now": {
"base": {
"currency": "USD",
"amount": "100.00"
},
"taxes": [
{
"category": "tax_recovery_charges",
"currency": "USD",
"amount": "10.00"
},
{
"category": "sales_tax",
"currency": "USD",
"amount": "5.00"
}
],
"fees": [],
"total": {
"currency": "USD",
"amount": "115.00"
}
},
"owed_at_check_in": {
"base": {
"currency": "EUR",
"amount": "0.00"
},
"taxes": [
{
"category": "city_tax",
"currency": "EUR",
"amount": "18.00"
}
],
"fees": [],
"total": {
"currency": "EUR",
"amount": "18.00"
}
}
}
}