How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Traveloka 3.1 Booking - Book API

The 3.1 Booking - Book API from Traveloka — 1 operation(s) for 3.1 booking - book.

Traveloka 3.1 Booking - Book API is one of 15 APIs that Traveloka publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include 3.1 Booking - Book. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 1 operation across 1 path, and defines 23 schemas. It is described by OpenAPI 3.2.0.

Requests are made against a single base URL, http://localhost:8080.

1 operations 1 paths 23 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://api.travelokapartnersnetwork.com/v2/
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

Traveloka 3.1 Booking - Book API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth).

  • basicAuth — Custom Basic Auth format: - Format: username:password - Encode with Base64 - Send in header: Authorization: Basic base64(username:password)

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

3.1 Booking - Book 1
POST
/book
Book a booking
book body → 200400429500

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are BookRequest (17 properties), HotelBookingRoomSpecRequest (17 properties), HotelBookingSpecResponse (15 properties), HotelBookingRoomSpecResponse (14 properties). Each schema is shown below with its type and property counts.

ProviderError
object
4 properties 2 required
MealPlan
object
Meal plan for this room, e.g. if the booking is for 2 rooms 3 night, the mealPlan should cover for 1 room 1 night
2 properties 2 required
HotelCancellationPolicy
object
2 properties
PayAtPropertyNoShowPolicy
object
4 properties
HotelBookingGuest
object
In the guest node, the following information must be included: firstName, lastName.
5 properties 1 required
AdditionalFees
object
4 properties
ChargeItem
object
2 properties 2 required
BookRequest
object
17 properties 8 required
HotelRoomRate
object
4 properties 4 required
HotelRoomCCGuaranteeRequirementInfo
object
Credit card guarantee requirement for this room
5 properties 3 required
HotelRoomRateInfo
object
3 properties
HotelBookingRoomSpecRequest
object
17 properties 5 required
HotelRoomRateRequest
object
4 properties
HotelBookingSpecResponse
object
15 properties 10 required
HotelGuestInfo
object
Guest information for this booking
3 properties 2 required
BookResponse
object
7 properties 3 required
HotelCancellationPolicyInfo
object
4 properties 3 required
Error
object
2 properties
PiMealPlanPax
object
Pax applicable to the mealPlan. Mandatory for all mealPlan, except Room Only.
2 properties 1 required
HotelBookingRoomSpecResponse
object
14 properties 5 required
HotelFee
object
2 properties
BookErrorResponse
object
5 properties 2 required
BookingContact
object
5 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

traveloka-3-1-booking-book-api-openapi.yml Raw ↑

Other APIs Traveloka publishes across the network.

Traveloka Connect - Connectivity API
Traveloka 1.1 Content - Hotel & Room API
Traveloka 2.1 Search - HotelList API
Traveloka 2.2 Search - RoomList API
Traveloka 2.3 Search - BulkRoomList API
Traveloka 3.2 Booking - IssueCheck API
Traveloka 3.3 Booking - Issue API
Traveloka 3.4 Booking - BookingSummary API
Traveloka 3.5 Booking - Cancel API
Traveloka Authorization API
Traveloka Booking API
Traveloka Content API
Where this information came from

This is an independent, third-party profile of Traveloka 3.1 Booking - Book API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.