Hotels API

Real-time hotel search, availability, and booking.

10 Articles

Booking Hotels — Direct API & SSO Checkout

Updated on 2026-02-13

Complete hotel bookings via direct API or SSO checkout. Covers both approaches including payment processing and integration examples.

Error Handling, Rate Limits & Best Practices

Updated on 2026-02-13

Handle API errors gracefully, respect rate limits, and follow caching and performance best practices for production-grade integrations.

Getting Started with the Xeni Hotels API

Updated on 2026-02-13

Get programmatic access to over 2 million hotels worldwide. Search, check availability, confirm pricing, and create bookings through a single integration.

Managing Bookings: Status, Retrieval & Cancellation

Updated on 2026-02-13

Retrieve booking details, check status, and process cancellations through the Xeni Hotels API.

Pricing Confirmation & Token Lifecycle

Updated on 2026-02-13

Understand the two-token booking flow: availability tokens and pricing tokens. Learn how to lock in rates and handle token expiration.

Retrieving Hotel Details & Room Availability

Updated on 2026-02-13

Retrieve full property details, photos, amenities, and policies. Check real-time room availability with pricing and availability tokens.

Searching for Hotels: Locations, Filters & Pagination

Updated on 2026-02-13

Search hotels in two steps: resolve destinations via autocomplete, then search with filters, sorting, and pagination.

Searching for Hotels

Updated on 2026-02-13

Searching for Hotels: Locations, Filters & Pagination Hotel search is a two-step process. First, resolve a destination name to geographic coordinates using the autocomplete endpoint. Then, use those c

Session Management & Correlation IDs

Updated on 2026-02-13

Learn how correlation IDs link API calls within a search-to-booking session. Covers session lifecycle, storage, and best practices.

API authentication and getting your API keys

Updated on 2026-02-12

Learn how to authenticate with the Xeni API using sandbox and production keys, set up auth headers, and understand rate limits.