A hotel booking API lets your website, app or agent portal search hotel availability, show rooms and rates, and confirm reservations through code. TripGic aggregates 2M+ hotel properties from bed-banks and direct connections with chains including Marriott, Hilton, IHG and Accor, and maps and deduplicates rooms across suppliers — so the same hotel appears once, with every supplier’s price behind it.
Where the hotel content comes from
| Source | Examples |
|---|---|
| Bed-banks and wholesalers | Hotelbeds, RateHawk, TBO, WebBeds |
| Online travel suppliers | Agoda, Expedia Group |
| Direct hotel chains | Marriott, Hilton, IHG and Accor |
| Your own contracts | Directly contracted hotels loaded alongside supplier inventory |
Choosing between these channels is a strategy question in its own right — see GDS vs bed-bank vs direct contracting.
Room mapping and deduplication
Every supplier names hotels and rooms differently. Without mapping, the same property shows up three times with three spellings, and “Deluxe King” from one supplier never lines up with “King Room Deluxe” from another. TripGic maps properties and room types across suppliers and removes duplicates, so travellers and agents see one hotel with comparable rates — and you can sell the cheapest valid offer without manual matching. More on how it works: hotel mapping and room deduplication.
What the API covers
| Area | What you can do |
|---|---|
| Search | Availability and pricing across all connected hotel sources for a destination and dates |
| Hotels | Hotel search, room and rate details, and booking |
| Bookings | Create, retrieve, cancel and manage reservations |
| Webhooks | Asynchronous booking and status events |
| Packages | Combine hotels with flights and other components |
Authentication, idempotency and conventions are documented on the developer page.
How to show live hotel availability
Hotel availability is never a stored list: rooms and rates change by the minute, and every supplier answers at its own speed. Showing it “live” means four things working together.
- Search all sources in parallel for the destination, dates, occupancy and guest nationality, and merge the answers into one mapped list as they arrive — the same hotel once, every supplier’s rate behind it.
- Protect suppliers from search traffic. Every search costs the supplier a request, and suppliers watch the ratio of searches to bookings. TripGic runs a look-to-book cache, throttling and reporting so traffic stays inside each supplier’s limits — see look-to-book ratio management.
- Re-check the room before payment. A rate shown from a search can expire before checkout. The room-validation and price-detail step re-prices the exact room with the supplier; if the price or the cancellation policy has changed, the guest or agent sees the change before paying — see price changed at checkout.
- Book on the validated offer, capture the supplier and hotel confirmation numbers, and keep the booking in sync afterwards — see hotel reconfirmation.
Running a hotel rather than selling one? Live availability on your own website comes from the booking engine and channel manager instead — see the hotel booking engine.
Hotel voucher automation
A hotel voucher is the document the guest shows at check-in: hotel, room, board, dates, guests, the supplier reference and the hotel confirmation number. Issuing it by hand — copying details from a supplier extranet into a template — is where wrong names and missing confirmation numbers come from.
On the platform the voucher is a step in the booking flow, not a separate task:
- Trigger. Once the booking is confirmed and paid (or within the agent’s credit limit), the voucher is issued automatically, together with the invoice. In the API it is the documented issue voucher call that follows create booking.
- Content. Guest names, room and board, dates, cancellation terms, the supplier booking reference and the hotel confirmation number, taken from the booking itself.
- Branding. On a white-label site or B2B portal the voucher carries your domain, logo and colours, and sub-agents can add their own — see the white-label booking engine.
- On-request rooms. Rooms that need supplier confirmation wait in the confirmation queue with automatic reminders, and the voucher is issued when the confirmation arrives — see booking confirmation tracking.
Keep margin after the booking
Hotel rates move after you confirm. Drop Catch monitors confirmed refundable bookings around the clock across your connected suppliers and flags when the same room becomes available cheaper, so you can rebook and keep the difference — see the price-drop rebooking case study.
API or ready platform
Use the hotel booking API when you own the front end. If you would rather sell hotels through a branded site or to sub-agents straight away, the same inventory runs inside the white-label booking engine. Running your own property instead? That is a PMS problem — see bedsKey, whose hotel direct booking engine sells your rooms on your own website without OTA commission.
What a hotel API request looks like
The hotel flow is documented publicly in the InnoTravelTech API (ITT API) docs: location suggestions, hotel search, room availability, hotel content, room validation and price detail, guest details, create booking, issue voucher and cancel booking.
Calls are POST requests with a JSON body and the apikey and secretecode headers. Check the status field on every response — a failed key still returns HTTP 200.
POST /hotel/search
Content-Type: application/json
apikey: YOUR_API_KEY
secretecode: YOUR_SECRET_CODE
{
"location": "Dubai, United Arab Emirates",
"radius": "auto",
"checkIn": "2026-12-15",
"checkOut": "2026-12-17",
"occupancies": [
{ "adult": "2" }
],
"guest_nationality": "AE",
"hotel_star_level": "any",
"language": "en"
}Example taken from the published documentation; keys are issued per client.
Frequently asked questions
What is a hotel booking API?
A hotel booking API is a programming interface for searching hotel availability, retrieving rooms and rates, and confirming reservations from software. TripGic aggregates bed-banks, online suppliers and direct chains behind one REST API.
What is a hotel aggregator API?
A hotel aggregator API combines many hotel suppliers — bed-banks, online travel suppliers and direct chains — into one search and one booking flow, with the same hotel mapped across suppliers so it appears once. TripGic is a hotel aggregator API in that sense.
How many hotels does TripGic cover?
2M+ hotel properties across bed-banks, online travel suppliers and direct connections with chains including Marriott, Hilton, IHG and Accor.
Do you map and deduplicate hotels across suppliers?
Yes. Properties and room types are mapped across suppliers and duplicates removed, so each hotel appears once with every supplier’s rate behind it.
Can I add my own hotel contracts?
Yes. Directly contracted hotels can be loaded alongside supplier inventory and sold in the same search.
What happens if a rate drops after booking?
With Drop Catch, confirmed refundable bookings are monitored 24/7 across your connected suppliers, and you are alerted when the same room is available cheaper so you can rebook.
What is the difference between a hotel booking API and a channel manager API?
A hotel booking API is used by sellers — agencies, OTAs and apps — to search and book rooms from many hotels and suppliers. A channel manager API is used by a hotel to push its own rates and availability out to OTAs and receive their bookings. For the hotel side, see bedsKey.
Is there a free hotel booking API?
Supplier APIs are usually free to connect to once you have a contract; you pay through the commercial terms on what you sell. An aggregated API such as TripGic is priced by usage.
How is the hotel booking API priced?
Pricing is usage-based. Request a quote for your expected volume.
How do I show live hotel availability on my website?
Search every connected source in parallel, merge the results into one mapped list, keep search traffic inside each supplier’s limits with caching and throttling, and re-check the exact room and price before payment. TripGic does all four behind one API; the room-validation step shows the guest any price or policy change before they pay.
Can hotel vouchers be created automatically?
Yes. When a booking is confirmed and paid, the voucher is issued automatically with the invoice, carrying the guest names, room, dates, cancellation terms, supplier reference and hotel confirmation number. In the API this is the documented issue-voucher call after create booking; on a white-label site the voucher carries your branding.
What happens to the voucher if the room is on request?
On-request rooms wait in the supplier confirmation queue with automatic reminders, and the voucher is issued when the supplier confirms.
Related pages
- How to choose a travel API provider →
- TripGic →
- Hotel reconfirmation →
- Booking confirmation tracking →
- Hotel mapping & deduplication →
- Flight booking API →
- Drop Catch →
- All supplier integrations →
- GDS vs bed-bank vs direct →
- Developer documentation →
Get hotel API access with the suppliers that matter in your markets.