Skip to main content
Hotel Booking API

Hotel Booking API: every hotel, normalized in one API.

One hotel API for 2M+ properties from 50+ suppliers: search live availability, check the final price, book and issue the voucher through a single REST integration. From luxury resorts in the Maldives to business hotels in Singapore — one consistent JSON schema, real-time rates.

Last updated

190+ countries covered Sub-second searches GDPR / CCPA compliant
2M+
Properties globally
190+
Countries covered
50+
Source suppliers
<1s
Typical search response
What you get

Built for global hotel booking.

Everything a modern booking platform needs to search, price, and confirm hotel reservations — through one normalized REST API.

Real-time availability

Live inventory and dynamic rates from dozens of source suppliers, normalized into a single response. No stale caches, no manual reconciliation.

Rich content

High-resolution photography, structured descriptions, amenity lists, and room-level imagery — ready to drop into your product UI.

Multiple rate plans

Refundable, non-refundable, breakfast included, member rates, advance purchase — all rate plans for a room exposed in the same response.

Geocoded properties

Latitude, longitude, neighbourhood, and proximity-to-landmark data on every property. Plug straight into a map view or search-near-me feature.

Multilingual content

Property names, descriptions, and amenity labels available in major languages. Localize your booking flow without managing your own translation pipeline.

Cancellation policies

Structured cancellation rules per rate plan — deadlines, penalty amounts, and currency — so your platform can show clear, accurate refund terms at booking.

Property types

Every category, one schema.

From five-star resorts to budget hostels — your platform decides which segments to surface.

Infinity pool on a hotel terrace overlooking the sea

Luxury hotels & resorts

Five-star city hotels, beach resorts, design properties, and boutique luxury — full content, club-floor inventory, package rates.

Hotel room with a work desk, chair and wall-mounted TV

Business hotels

Major chains and independents in city centres and airport corridors — corporate rates, loyalty program tagging, and meeting-room metadata.

Minimalist design hotel room with warm wood panelling

Boutique & design

Small-format design hotels with strong brand identity — full editorial descriptions and photography that translate well into rich UI.

Simple twin room with two single beds

Budget & economy

Two- and three-star independents, budget chains, and limited-service properties — the long-tail inventory that drives volume on price-sensitive markets.

Long resort swimming pool lined with palm trees

Beach & resort

All-inclusive resorts, beach properties, ski lodges, and golf resorts — board-basis flags, package data, and on-property activity content.

Serviced apartment living room with sofa and balcony doors

Apartments & rentals

Serviced apartments, aparthotels, and short-stay vacation rentals — bedroom counts, kitchen flags, and minimum-stay metadata.

Top destinations

Where the inventory is concentrated.

A snapshot of the busiest cities in the catalogue. Every figure below is an indicative count of bookable properties available through the API.

  • Paris at dusk from above, with the Eiffel Tower lit up
    ParisFrance · Europe
  • Elizabeth Tower clock face lit up at night in London
    LondonUnited Kingdom · Europe
  • Aerial view of a Dubai waterfront marina and hotel towers
    DubaiUnited Arab Emirates · Middle East
  • Marina Bay skyline in Singapore lit up at night
    SingaporeSingapore · Asia
Plus thousands of additional cities across 190+ countries. Need a specific market? Ask the team →
Developer preview

What the API returns.

A trimmed sample of a property availability response — the same shape regardless of which underlying supplier fulfilled it.

response.json
200 OK 412 ms
{
  "hotel_id": "TG-PAR-1407",
  "name": "Grand Boulevards Hôtel",
  "category": "boutique",
  "stars": 4,
  "rating": { "score": 4.5, "reviews": 2147 },
  "location": {
    "city": "Paris",
    "country": "FR",
    "neighborhood": "9th arrondissement",
    "lat": 48.8718,
    "lon": 2.3458
  },
  "amenities": ["wifi", "breakfast", "gym", "concierge", "bar"],
  "images": ["https://cdn.tripgic.com/h/par-1407/01.jpg", /* +12 more */],
  "rooms": [{
    "room_id": "DLX-KING",
    "name": "Deluxe King",
    "max_occupancy": 2,
    "rates": [{
      "plan": "refundable",
      "price": 186.00,
      "currency": "EUR",
      "breakfast": true,
      "cancel_by": "2026-05-04T23:59:00Z"
    }]
  }],
  "supplier": "normalized",
  "booking_token": "tg_b_a8f3…e2c1"
}

One schema, regardless of supplier. Trim the response to what your UI needs — full reference is available in the developer documentation once you have sandbox credentials.

Hotel booking API flow, call by call

A hotel API is the interface a travel platform uses to search live room availability, check the final price and cancellation policy, book the room and issue the voucher — without a supplier extranet. Every Tripgic hotel call is a POST that returns the same JSON envelope, whichever of the 50+ suppliers fulfils the room.

StepEndpointWhat it does
Destination/hotel/auto-suggetionSuggest cities, areas and properties as the traveller types
Search/hotel/searchLive availability and lowest rates for a destination, dates and room mix
Rooms/hotel/roomsEvery room type and rate plan for the chosen property
Content/hotel/get-hotel-detailsPhotos, description, amenities and location for the property
Price check/hotel/validate · /hotel/validation-price-get-detailRe-confirm the price and cancellation policy right before booking
Guests/hotel/update-travellersAdd lead guest and occupant details
Book/hotel/createCreate the reservation
Voucher/hotel/issue-voucherIssue the confirmation voucher for the guest
Manage/hotel/booking-details · /hotel/cancel-bookingRetrieve the booking at any time or cancel it under its policy

Field-level detail is in the API documentation. For the integration pitfalls — caching, room mapping and edge cases — read the hotel API integration guide.

A hotel aggregator API instead of 50 supplier contracts

Hotel rooms reach travel sellers through several kinds of supplier, each with its own contract, rate model and data format. A hotel aggregator API puts them behind one integration and one schema.

Supplier typeWhat it gives youConnecting directly
Bedbanks and wholesalersNet rates on large global inventoryA contract, credit terms and an integration per bedbank
Hotel chains and direct connectsChain inventory and negotiated ratesChain-by-chain connectivity and certification
Regional suppliersLocal properties and strong rates in specific marketsMany small integrations, each with its own quirks
Tripgic Hotel API2M+ properties from 50+ suppliers in 190+ countriesOne agreement, one integration, one normalized JSON schema

Pricing you can model

Hotels return the supplier net rate plus a flat markup per room night — USD 3 on Growth and USD 2 on Enterprise — never a percentage commission. You set your own selling price on top. Plans and fees.

Post-booking repricing

On refundable bookings you can re-shop the same stay with the search and price-check calls, and if a lower rate appears before the cancellation deadline, book it and cancel the original — the margin difference stays with you. How hotel repricing works.

Compare the market: hotel API providers compared · hotel room mapping · compare supplier rates with the Hotel Rate Shopping API.

Hotel availability API for corporate booking tools and TMCs

Corporate booking tools and TMCs need hotel availability that is live, priced with final cancellation terms, and searchable around an office or venue. The Tripgic Hotel API returns real-time availability from 50+ suppliers, business-hotel inventory with corporate rates and loyalty tagging, and structured cancellation rules, in one JSON schema shared with flights.

What the tool needsWhy it mattersTripgic Hotel API
Live availability at bookingCached rates fail at checkout and break policy price capsReal-time availability and rates, re-confirmed with /hotel/validate before booking
Business-hotel inventoryTravellers stay near offices, client sites and airportsChains and independents in city centres and airport corridors, with corporate rates and loyalty program tagging
Policy-ready rate dataApprovers must see refundable vs non-refundable terms firstEvery rate plan with structured cancellation rules: deadline, penalty amount and currency
Search near a locationTrips are anchored to a meeting or venueGeocoded properties with proximity-to-landmark data and geocoordinate filters
Air and hotel in one toolTMC and self-booking tools sell the whole tripSame normalized JSON as the flight, transfer and car APIs, under one agreement
Traveller data protectionProfiles and itineraries are personal dataGDPR and CCPA compliant; see security

Building a corporate booking platform? Read the corporate travel API guide or see solutions by business type.

Frequently asked questions

How many hotels does Tripgic cover?

Tripgic aggregates inventory from 50+ underlying hotel supply partners, providing access to over 2 million properties across 190+ countries — from luxury resorts to budget stays and serviced apartments.

What hotel data does the API return?

The API returns a normalized JSON response including hotel name, star rating, guest rating and reviews, location with geocoordinates, amenities, room-level imagery, multiple rate plans (refundable, non-refundable, breakfast included), structured cancellation policies, and a booking token.

Does the hotel API support real-time availability?

Yes. All availability and pricing are queried in real-time from underlying suppliers. Rates reflect live inventory at the time of the API request.

Can corporate booking tools and TMCs use the Tripgic Hotel API?

Yes. Corporate booking platforms and TMCs are core Tripgic customers. The Hotel API returns live availability, business-hotel rates with loyalty tagging, refundable and non-refundable rate plans with structured cancellation deadlines, and geocoded properties for searching near an office — in the same JSON schema as flights.

Can I filter hotels by amenities or location?

Yes. The API supports filtering by property type, star rating, amenities, price range, proximity to a geocoordinate or landmark, and specific rate plan types like refundable-only or breakfast-included.

What rate plans are available through the Hotel API?

The API supports multiple rate plan types per room including room-only, bed and breakfast, half board, full board, all-inclusive, advance purchase, non-refundable, and member/loyalty rates. Each rate plan includes structured cancellation policy data with deadline timestamps and penalty amounts.

What is a hotel API?

A hotel API is a programmatic interface that lets a travel platform search live room availability, retrieve rates, content and policies, and confirm or cancel bookings without using a manual extranet. The Tripgic Hotel API aggregates 2M+ properties from 50+ suppliers into one normalized JSON schema.

How does hotel API integration work with Tripgic?

Every supplier follows the same flow: location auto-suggest, search, room availability, property details, price and policy validation, booking, then voucher issuance. All endpoints are REST/JSON on one base URL with sandbox credentials issued at sign-up, so teams typically go from first call to a test booking in days.

Which Tripgic plan includes the Hotel API?

Hotel API access is included in the Growth plan (flights + hotels) and the Enterprise plan (full stack). Starter covers flights only and Essential covers ancillary services. Hotel bookings carry a flat per-night markup — never a percentage commission.

What is the difference between a hotel API and a hotel booking API?

The terms are often used for the same thing, but a hotel content or search API only returns property data and prices, while a hotel booking API also confirms the reservation and issues the voucher. The Tripgic Hotel API does both: search, rooms, price check, booking, voucher and cancellation.

What is a hotel aggregator API?

A hotel aggregator API combines rooms from many suppliers — bedbanks, wholesalers, chains and regional providers — behind one integration and one data format. Tripgic aggregates 2M+ properties from 50+ suppliers, so you sign one agreement instead of a contract per supplier.

Can I build post-booking hotel repricing with the Tripgic API?

Yes. For refundable bookings you can re-run search and price check for the same stay, and if a lower rate appears before the cancellation deadline, book it and cancel the original booking through the same API.

How much does the Tripgic hotel API cost?

Hotels are included in the Growth and Enterprise plans. Each booking returns the supplier net rate plus a flat markup per room night — USD 3 on Growth and USD 2 on Enterprise — on top of a one-time plan activation. There is no monthly subscription and no percentage commission.

Go deeper in the Playbook

Ship hotel booking in days.

One integration, every property type, every major destination. Sandbox credentials issued at sign-up.