Traveloka API guide

traveloka.com

Search Traveloka for dated flights and hotel rooms, compare fares across departure dates, and check what flexible room rates cost.

Actions and inputs

flights search

Find one-way or round-trip itineraries with total fares.

Inputs Origin, destination, departure date, optional return date, adults

flights date-grid

Compare trip totals across specific travel dates.

Inputs Origin, destination, departure dates, optional return dates

hotels rooms

Check room rates, cancellation policies, and nightly versus stay totals.

Inputs Property ID, check-in and check-out dates, adults, rooms

hotels flexibility

Compare cancellable and nonrefundable rates for the same room and stay.

Inputs Room-rate snapshot

Hotel bookings

Create

Book a room for your stay on Traveloka after confirming the stay total and refund terms.

Inputs Property, dates, room and rate, guest details, explicit confirmation

Read

Open your booking to view the hotel voucher, booking status, and refund policy.

Inputs Traveloka account, booking ID

Update

Request a date change through Reschedule when offered; review availability and any rate difference before accepting.

Inputs Booking ID, preferred dates, approval of revised terms

Delete

Cancel your booking under its rate terms and check any refund or forfeited amount before confirming.

Inputs Booking ID, cancellation quote, explicit confirmation