HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
HTS Lodging API
Base URLs
- Staging
- https://travel-distribution.staging.htsapis.com
- Production
- https://travel-distribution.htsapis.com
REST API for lodging shopping, availability, and booking. Supports both hotels and vacation rentals with a consistent workflow for searching rates, getting quotes, and completing reservations.
Getting Started
The API is organized around a few main workflows. The core booking flow is:
- Shop (
PUT /api/lodging/v1/shop) — Request room rates for one or more lodgings for given dates and occupancy. Returns available rates withquote_tokenandvalid_untilper rate. - Quote (
PUT /api/lodging/v1/quote) — Send the selected rate (quote token) to get a detailed quote: final pricing, payment schedule, cancellation policy, and a book token. - Book (
POST /api/lodging/v1/book) — Submit the book token plus primary guest details to confirm the reservation. Returns order details and an order ID.
After booking you can:
- Get order (
PUT /api/lodging/v1/getOrder) — Retrieve full order details by order ID. - Pre-cancel (
PUT /api/lodging/v1/preCancel) — Get a cancellation quote and a cancellation token. - Cancel (
POST /api/lodging/v1/cancel) — Complete cancellation using the cancellation token.
Tokens (quote token, book token, cancellation token) are short-lived and tie each step to the previous one, so the endpoints connect in a clear sequence.
Other Capabilities
- Content — Lodging details (property info, amenities, rooms, media) via
PUT /api/lodging/v1/contentor under/api/lodging_content/v1/content. - Catalog — Stream of lodging changes (added/updated/delisted) for sync use cases.
- Availability calendar — Per-day availability for a set of lodgings over a date range.
- Events — Notification events for reservation and transaction changes (e.g. cancellations, transaction appends).
- Geo — Find lodgings by geographic area (bounding box, circle, or polygon).
All read/query operations use PUT with a JSON body; state-changing operations (book, cancel) use POST. Authentication is via API key in the HTS-API-KEY header.
Forward Compatibility
This API may add new enum values, new oneOf variants, and new optional fields to existing
response schemas at any time. These additions are non-breaking changes.
Clients must handle unrecognized enum values and oneOf discriminator values gracefully
(e.g. log a warning and skip) rather than failing with a hard decoding error. Designing for
unknown values ensures your integration is resilient to API evolution.
For example, if you use OpenAPI Generator, enable the
enumUnknownDefaultCase option to generate a fallback case for unknown enum values.
Changelog (latest: 0.68 — 2026-11-03)
0.68 (2026-11-03)
- docs: Documented pay-later rates in payment_schedule: for partners enabled for pay-later, shop can return rates whose stay is paid at the property. For these, owed_at_check_in.base carries the room price, all taxes and fees are counted under owed_at_check_in, and owed_now is zero. Quote does not return this split yet, and booking pay-later rates is not supported yet: book returns rate_unavailable (409).
0.67 (2026-10-27)
- feat: Added optional emails field to hotel_content, listing the contact email addresses the property publishes. Absent when the property publishes none. Hotels only; vacation rentals do not carry lodging contact details.
0.66 (2026-10-27)
- feat: Added an optional accessibility_features array to RoomInfo listing the room's accessibility features (e.g. wheelchair_accessible, roll_in_shower), using the new RoomAccessibilityFeature enum. The field is omitted when the room's accessibility is unknown; omission does not mean the room is inaccessible. New feature values may be added; clients should ignore unknown values.
0.65 (2026-10-27)
- feat: Added an optional code to the hotel content chain and brand objects, carrying a stable Hopper identifier in lowercase snake case (e.g. marriott, jw_marriott). These are not GDS chain codes. The field is omitted when the chain or brand is unknown.
0.64 (2026-10-26)
- feat: Added an optional smoking_policy to RoomInfo with smoking, non_smoking, and smoking_and_non_smoking values. The field is omitted when the smoking policy is unknown; omission does not mean the room is non-smoking.
0.63 (2026-10-16)
- feat: Added an optional views array to RoomInfo listing the views available from the room (e.g. ocean, city, garden), using the new RoomView enum.
0.62 (2026-10-08)
- feat: Added payment_declined to the book error_code enum, returned with 422 when the payment for a booking is declined. Previously these bookings failed with 500 internal_server_error. No reservation is created and no charge is made; the book_token cannot be reused, so call /quote again and book with corrected payment details or a different payment method.
0.61 (2026-10-01)
- docs: The catalog endpoint is listed once, under the catalog tag, instead of appearing under both content and catalog.
0.60 (2026-09-22)
- feat: Loyalty wording and the quote-side transmission field are revised following review. On the rate, eligibility now reports whether the supplier has indicated the rate plan may participate in the property's loyalty program, rather than asserting that the rate earns points: we relay a supplier claim and do not guarantee an outcome. On the quote, delivery_method is renamed loyalty_transmission and says whether a booking with this rate can transmit the guest's loyalty number to the supplier. Its values change from through_api and at_check_in to eligible, ineligible and unknown, separating the case where we know a booking path cannot carry a loyalty number from the case where we simply do not know; for both of the latter the guest should verify at check-in that their loyalty number has been added. Eligibility and transmission remain independent, and loyalty_transmission remains advisory: primary_guest.hotel_loyalty is always accepted on the book request whatever it says. Note that eligibility deliberately has no ineligible value, unlike loyalty_transmission — a supplier that says nothing about a rate is not saying the rate cannot participate, so that absence is reported as unknown and must never be presented to a guest as "no points on this rate".
0.59 (2026-09-17)
- feat: Hotel loyalty, expanded. The shop product now carries a loyalty object in place of the bare program code: eligibility is eligible when the rate earns points, and unknown when we have no claim either way — unknown is never a statement that the rate is ineligible and must not be presented as one, and program_code is present whenever eligibility is eligible. The quote response carries the same object with an added delivery_method, which says how a membership reaches the guest's account for this booking: through_api when we can transmit a membership number with the booking, at_check_in when we cannot and the guest presents their membership at the property. Eligibility and delivery are independent: a rate can earn points with no way for us to transmit a number, and a number is often transmittable for a rate we have no eligibility claim about. delivery_method is advisory and never gates the book request, which always accepts primary_guest.hotel_loyalty. That field is now a list, so a guest's memberships in several programs can be sent and we forward the one matching the rate being booked. The book response gains booking_warnings, a list of non-fatal issues that never mean the booking failed: loyalty_not_applied reports that a supplied membership was rejected, with a reason of not_supported_for_rate, id_not_found, invalid_format or unspecified. It is only emitted where the outcome is known — pass-through is best effort and most supply sources never confirm either way, so the absence of a warning means we have nothing to report, not that the stay was credited. New warning types may be added, so treat an unrecognised type as one you do not yet handle.
- docs: loyalty_program_code no longer lists the individual programs. Codes are added as more programs are supported, so treat an unrecognised code as a program you do not yet know about rather than as invalid.
0.58 (2026-09-13)
- feat: Hotel loyalty rates. Rates that earn loyalty points now carry loyalty_program_code on product, a 3-character program code (e.g. MAR, HIL, WYN); its absence means the rate makes no loyalty claim and must not be presented as loyalty ineligible. The quote response carries the same loyalty_program_code for the quoted rate, so the program is known at the point the rate is confirmed. The primary guest on a book request accepts an optional hotel_loyalty membership (program_code and loyalty_number), forwarded so the stay can be credited. Pass-through is best effort: where a rejected membership can be dropped and the booking completed without it the reservation is still confirmed, and a membership is never required to book a loyalty-eligible rate. Added loyalty_number_failure to the book error_code enum for the cases where the booking cannot be completed without the membership.
0.57 (2026-09-01)
- feat: Opaque tokens are now bound to the application that obtained them. A funnel must be completed by the application that started it: use the API key of that same application for shop, quote and book, and for precancel and cancel. Presenting a token obtained by another application is rejected with 403 token_application_mismatch, added to the quote, book and cancel error_code enums. A request whose calling application cannot be determined is rejected with the same error.
0.56 (2026-08-13)
- feat: Geo query response gains a lodgings array: one entry per matching lodging, in result order, carrying the straight-line distance (value plus unit, returned in meters) from the search's resolved reference location when known. lodging_ids is deprecated in favor of lodgings, which has the same membership and order.
0.55 (2026-08-11)
- feat: Added hotel support to geo endpoint, combining hotel and vacation_rental in one place_id request remains invalid_input.
0.54 (2026-07-15)
- feat: Cancel endpoint now returns 409 cannot_be_cancelled (instead of an opaque 500) when a reservation cannot be cancelled; the description conveys the specific reason (requires_agent_cancellation, past_cancellation_deadline, cancellation_not_allowed). Added cannot_be_cancelled to the cancel error_code enum.
0.53 (2026-06-15)
- fix: payment_schedule.owed_at_check_in amounts may be returned in the property's local currency, which can differ from owed_now. Read the currency on each amount.
0.52 (2026-06-15)
- feat: Added rollaway_or_extra_beds_available to the RoomAmenityType enum.
0.51 (2026-05-12)
- feat: Limited catalog endpoint access to authorized tenants. Unauthorized tenants receive an unauthorized error response.
0.50 (2026-05-12)
- fix: Made session_token optional in riskified_fraud_prevention schema. Only customer_ip_address is now required.
0.49 (2026-05-07)
- fix: Added missing type discriminator to cancellation_info example in order_status_cancelled.
0.48 (2026-05-04)
- feat: Add explicit discriminators to oneOfs
0.47 (2026-04-30)
- breaking: Geo endpoint only: changed lodging_type on geo_request_initial from a string enum (hotels/vacation_rentals/all) to an array of shared LodgingType values (hotel/vacation_rental). Extracted shared LodgingType enum used by both geo and content endpoints.
- feat: Added GeoFilters and AmenityFilter schemas to geo_request_initial for filtering geo search results by property attributes (occupancy, bedrooms, amenities, ratings, price, availability dates).
0.46 (2026-04-28)
- feat: Added optional locale field to the content request to control the language tag of text content in the response. Defaults to en-US when not provided.
0.45 (2026-04-21)
- feat: Added order_already_cancelled error code to PreCancel endpoint to handle already-cancelled reservations without triggering quote orchestrator calls.
0.44 (2026-04-20)
- feat: Added homes (vacation rentals) support to geo endpoint, enabling combined hotel and homes results with unified cursor-based pagination.
0.43 (2026-04-10)
- feat: Added unauthorized error code to all failure responses (Shop, Quote, Book, GetOrder, PreCancel, Cancel, ShopFeed, Content, Catalog, AvailabilityCalendar, Events, Geo) for consistent authorization error handling
- feat: Added lodging_type field to geo_request_initial.
0.42 (2026-04-06)
- feat: Added fraud_prevention field to book request for partner-managed fraud prevention (Riskified).
0.41 (2026-03-23)
- feat: Add validation to prevent book_token reuse with mismatched booking details
0.40 (2026-03-20)
- feat: Added experience to the Product type. Experience is a free-form field describing the experience a user can expect for the given rate (detailed meal plan, bath type, view, etc.)
0.39 (2026-03-19)
- feat: Added Reviews endpoint with review scores, category breakdowns, and guest reviews.
- feat: Added invalid_input error code to Reviews failure response.
- feat: Made lodgings field required in Reviews response.
0.38 (2026-03-19)
- docs: Clarify book_token uniqueness and proper usage across quote/book workflow to prevent duplicate bookings
0.37 (2026-03-17)
- docs: Update API description to clarify forward compatibility expectations
0.36 (2026-03-13)
- feat: Added Reviews endpoint.
0.35 (2026-03-11)
- feat: Added timezone to LodgingContent.
0.34 (2026-03-05)
- docs: Added description to GeoLocation.
0.33 (2026-01-28)
- feat: Vended initial_price for hotels in shop and quote responses.
0.32 (2026-01-26)
- feat: Added Merchandising object to RoomRate in shop and quote responses.
0.31 (2026-01-22)
- feat: Added sourceMappings field to LodgingContent.
- feat: Added new BedType enum values (Crib, Rollaway, Trundle).
0.30 (2025-12-18)
- fix: Made guest_refund_amount optional in vacation rental cancellation info.
0.29 (2025-11-26)
- feat: Added Media to RoomInfo.
- feat: Added Video to Media.
0.28 (2025-11-12)
- feat: Added Unknown to CardType.
0.27 (2025-10-22)
- feat: Added ClientClosedRequestError.
0.26 (2025-10-15)
- breaking: Rerouted content endpoint to PUT /api/lodging_content/v1/content/.
0.25 (2025-10-10)
- breaking: Rerouted content endpoint to PUT /api/content/v1/content/.
- breaking: Limited content endpoint access to authorized tenants.
0.24 (2025-10-09)
- feat: Added initial_price to the quote response.
0.23 (2025-10-08)
- breaking: Removed recommended_sell from payment schedule.
0.22 (2025-10-07)
- feat: Added initial_price to the shop response.
- feat: Duplicated recommended_sell at rate level to simplify integration.
0.21 (2025-09-17)
- feat: Added payment clauses to the shop response.
0.20 (2025-09-16)
- feat: Added name and description to tax and fee types.
0.19 (2025-09-16)
- feat: Added unavailability reasons to the shop response.
0.18 (2025-09-12)
- feat: Added content endpoint PUT /api/lodging/v1/content/.
0.17 (2025-09-11)
- feat: Added availability calendar endpoint PUT /api/lodging/v1/calendars/availability.
0.16 (2025-09-10)
- breaking: Removed unknown order status.
0.15 (2025-09-04)
- feat: Added field for included commission.
0.14 (2025-09-03)
- feat: Added corporate to the RateOption enum in the shop request.
0.12 (2025-08-26)
- feat: Added sales_environment parameter to shop request.
0.11 (2025-08-26)
- feat: Added cleaning_fee and pet_fee fee types in the shop response.
0.13 (2025-08-22)
- feat: Added pets to occupancy in the shop request.
0.10 (2025-08-13)
- feat: Added ShopFeed endpoint.
0.9 (2025-06-05)
- breaking: Removed date of birth from primary guest in book request.
- fix: Enforced request IDs to be UUIDs.
0.8 (2025-06-03)
- fix: Limited requested currency to USD in shop request.
- fix: Added constraints to occupancy in shop request.
- fix: Added constraints on check-in and check-out dates in shop request.
- fix: Added constraints on primary guest in book request.
0.7 (2025-05-26)
- fix: Updated endpoint failure error codes.
0.6 (2025-05-21)
- breaking: Removed cancelledBy in cancelled order status.
0.5 (2025-05-08)
- feat: Added partner_reference_id to book requests.
0.4 (2025-05-06)
- breaking: Removed PaymentScheduleTotal from PaymentSchedule.
0.3 (2025-04-16)
- breaking: Changed Quote and PreCancel from POST to PUT because they do not change state.
- breaking: Changed order_status oneOf discriminator from order_status to type.
0.1 (2025-04-13)
- feat: Added request_id to all path requests to aid incident response and debugging.
- breaking: Restructured shop response to group room rates by lodging_id.
- feat: Changed book response model to support multi-room bookings.
- feat: Added structure to orders order_state to include additional cancellation info.
0.2 (2025-04-02)
- breaking: Changed book response to only return order_id and response_id.
- feat: Added date_of_birth to book request primary guest.
