HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
rate
Lodging Rate
Fields
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.45merchandisingMerchandising information for promotional badging and marketing displays.
Show fields
promotional_tagsList of promotional tags that can be displayed to highlight special offers or rate characteristics. May be empty if no promotional tags apply.
Note: New promotional tags may be added at any time. API clients should handle unknown tag values gracefully to maintain forward compatibility.
Show fields
typeThe type of promotional tag:
GENERIC: General promotional offerSEASONAL_DEAL: Seasonal promotional offer or dealLIMITED_TIME_OFFER: Limited time promotional offerMOBILE_RATE: Mobile-exclusive rateCUG_RATE: Closed user group ratePACKAGE_RATE: Package rateCORPORATE_RATE: Corporate rateLAST_MINUTE: Last minute booking discount. Currently only applicable to Homes.EARLY_BIRD: Early booking discount. Currently only applicable to Homes.LENGTH_OF_STAY: Weekly, monthly, or long stay discount. Currently only applicable to Homes.
Note: New promotional tags may be added at any time. API clients should handle unknown tag values gracefully to maintain forward compatibility.
GENERICSEASONAL_DEALCUG_RATEPACKAGE_RATEMOBILE_RATELIMITED_TIME_OFFERCORPORATE_RATELAST_MINUTEEARLY_BIRDLENGTH_OF_STAY · Example SEASONAL_DEALproductDescribes a bookable rate. Differentiates between two rates for the same room.
Show fields
meal_planDescribes a meal plan. Also known as board. This is a non-exhaustive list of enum values, which will be extended in the future.
- room_only: No meals are included
- all_inclusive: Includes Breakfast, Lunch, Dinner, Snacks and Drinks
- full_board: Includes Breakfast, Lunch, Dinner. Snacks and Drinks are usually not included
- half_board: Includes 2 of the following: Breakfast, Lunch, Dinner. Usually Breakfast and another meal. Drinks are usually not included.
- breakfast: Includes Breakfast
- lunch: Includes Lunch
- dinner: Includes Dinner
- breakfast_for_one: Includes Breakfast for one guest
- breakfast_for_two: Includes Breakfast for two guests
room_onlyall_inclusivefull_boardhalf_boardbreakfastlunchdinnerbreakfast_for_onebreakfast_for_two · Example room_onlyrefundabilityWhether the rate is refundable or not. This is a non-exhaustive list of enum values, which will be extended in the future.
- fully_refundable: The rate is fully refundable from the time of the booking until the check-in time.
- non_refundable: The rate is not refundable.
- partially_refundable: The rate is either refundable for a period of time or partially refunds the amount or both.
fully_refundablenon_refundablepartially_refundable · Example fully_refundableexperienceA LocalizableString object contains the text value and its associated locale. The value field is a required string with the actual text. The locale field is an optional string representing the language and region of the value. The locale is omitted when Hopper can't guarantee the language of the value.
Show fields
valueThe actual text value, which can vary based on the locale.
Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.
localeLocale code representing the language and regional variation of text content. This follows the IETF RFC 5646 standard for language tags, which provides a standardized way to identify languages.
Common examples:
- "en-US" for U.S. English
- "fr-FR" for French in France
- "es-ES" for Spanish in Spain
- "zh-CN" for Chinese in China
- "ja-JP" for Japanese in Japan
^[a-z]{2,4}(-[A-Z][a-z]{3})?(-([A-Z]{2}|[0-9]{3}))?$ · Example en-USloyaltyWhether this rate may participate in the property's loyalty program, and which program.
Absent when we have nothing to say about loyalty for the rate. Where present with
eligibility of unknown, we are reporting that we have no claim either way — never that
the rate is ineligible.
Show fields
eligibilityWhether the supplier has indicated this rate plan may participate in the property's loyalty program.
eligible: the rate may participate in the property's loyalty program.unknown: no claim either way. Never present this to a guest as "no points on this rate" — a supplier that says nothing is not saying the rate is ineligible.
eligibleunknown · Example eligibleprogram_codeThe program the rate may earn points in. Present whenever eligibility is eligible; absent when we have no claim, since there is no program to name.
Show fields
cancellation_penaltyCancellation penalty for a lodging.
This object will contain an ordered sequence of gapless penalty ranges starting from the booking time and ending at the check-in time.
The penalty amount will be withheld if the cancellation time falls within the range of the start time (inclusive) and end time (exclusive).
A penalty range with 0 amount indicates that the rate if fully refundable on that range. On the other hand, if the penalty amount equals the booking amount, the rate is non-refundable on that range.
Show fields
penalty_rangesOrdered sequence of gapless penalty ranges from booking time to check-in
Show fields
start_timeStart time of the penalty range (Inclusive), in ISO 8601 format
2020-01-01T00:00:00Zend_timeEnd time of the penalty range (Exclusive), in ISO 8601 format
2020-01-02T00:00:00ZpenaltyMonetary amount withheld from the client if cancellation falls within this range
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45quote_tokenToken to pass in the quote request. Only returned in shop responses.
stringvalid_untilISO 8601 timestamp until which the quote token remains valid. Only returned in shop responses.
2025-01-13T13:45:15.523Zpayment_clausesList of payment clauses associated with the rate
Show fields
Provides information about payments restrictions, constraints, or requirements.
type:card_on_file (payment_clause_card_on_file) payment_clause_card_on_file
typeDiscriminator value for card-on-file payment clause
card_on_file · Example card_on_filecurrencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45card_on_file_descriptionDescribes the modalities of the card on file payment clause.
text (payment_clause_text) payment_clause_text
typeDiscriminator value for text payment clause
text · Example textdescriptionDescribes the modalities of the payment clause.
recommended_sellThe recommended tax inclusive sell price for this rate.
If the payment schedule include amounts to be paid both at booking and at check-in, this recommended sell price only includes the taxes and fees paid at booking.
Availability of this field depends on configuration and is not guaranteed.
Hopper provides this field to allow partners to display pricing in a variety of ways. Ultimately, however, each partner using Hopper’s API is responsible for ensuring that the way it displays Hopper travel information and pricing complies with the law.
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45commissionThe estimated commission amount included in the base price. If not specified, there is no commission on this rate.
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45initial_priceInitial sell price of a lodging before any price reductions were applied.
Show fields
baseA currency qualified monetary amount
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45totalA currency qualified monetary amount
Show fields
currencyCurrency code, in ISO 4217 format.
^[A-Z]{3}$ · Example USDamountMonetary amount value Serialized BigDecimal value
123.45{
"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"
}
}
},
"payment_clauses": [
{
"type": "card_on_file",
"currency": "USD",
"amount": "10.00",
"card_on_file_description": "By providing your card details, you agree to allow us to charge your card for any cancellation fees that may apply according to the property's cancellation policy."
}
],
"recommended_sell": {
"currency": "USD",
"amount": "123.45"
},
"commission": {
"currency": "USD",
"amount": "123.45"
},
"initial_price": {
"base": {
"currency": "USD",
"amount": "100.00"
},
"total": {
"currency": "USD",
"amount": "135.00"
}
},
"merchandising": {
"promotional_tags": [
{
"type": "SEASONAL_DEAL"
}
]
},
"product": {
"meal_plan": "room_only",
"refundability": "fully_refundable",
"experience": {
"value": "Oceanside Hotel is a remarkable oasis boasting eye-catching design, luxurious amenities, and cozy stylishly furnished rooms. Each accommodation has white linens, plush beds, luxury Lady Primrose bath products, and a well-appointed decor. Guests can enjoy free WiFi, beach amenities, outdoor activities, and watersports. As the Miami sun warms your skin, retreat to our relaxing pool area with lounges or grab a bite at The Tavern, our full-service restaurant and bar, open for breakfast, lunch, and dinner. Whether you are visiting for business or pleasure, the Oceanside Hotel is an intimate boutique experience in Miami Beach.\n",
"locale": "en-US"
},
"loyalty": {
"eligibility": "eligible",
"program_code": {}
}
},
"cancellation_penalty": {
"penalty_ranges": [
{
"start_time": "2020-01-01T00:00:00Z",
"end_time": "2020-01-02T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "0.00"
}
},
{
"start_time": "2020-01-02T00:00:00Z",
"end_time": "2020-01-03T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "75.00"
}
},
{
"start_time": "2020-01-03T00:00:00Z",
"end_time": "2020-01-05T00:00:00Z",
"penalty": {
"currency": "USD",
"amount": "135.00"
}
}
]
},
"quote_token": "string",
"valid_until": "2025-01-13T13:45:15.523Z"
}