HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
/seatAvailabilityQuoteGet seat maps for a quoted offer
Returns available seats for each segment of a quoted offer.
Each seat map lists bookable seats with pricing. Occupied or unavailable seats are omitted.
Use the seat id in the orderCreate request services[] to select seats.
Parameters
Request-IdOptional client-supplied UUID to correlate this request across your systems and ours.
When provided, the same value is echoed back in the Request-Id response header and
used in logs and traces. When omitted, the server generates one automatically.
Must be a valid UUID; invalid values are rejected with 400 Bad Request.
Request body application/json · required
tokenThe token from an offerPrice response
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9Responses
200OK
Request-IdUUID that uniquely identifies this request. If a valid Request-Id was sent in the
request header, this echoes that value; otherwise a server-generated UUID is returned.
Include this value when contacting support to help correlate logs and traces.
seat_mapsOne seat map per segment
Show fields
segment_idThe segment this seat map belongs to
seg_0seatsAvailable seats for this segment. Only bookable seats are listed — absence means the seat is occupied or unavailable.
Show fields
idOpaque service identifier — use in orderCreate services[] to select this seat
svc_seat_2A_seg_0_0designatorSeat designator (e.g., '2A', '14F')
2ApricePrice information for an offer.
Show fields
currencyISO 4217 currency code
^[A-Z]{3}$ · Example USDbase_amountThe base fare amount before taxes as a decimal string.
120.00total_amountThe total amount as a decimal string (base_amount + taxes_and_fees).
150.00taxes_and_fees_amountThe total amount of taxes and fees as a decimal string.
30.00taxes_and_feesItemized taxes and fees breakdown.
Show fields
passenger_restrictionsWhen non-empty, only these passenger types can select this seat. Empty or absent means no restrictions.
emergency_exit_rowsRow numbers designated as emergency exit rows for this segment
400Bad Request
Request-IdUUID that uniquely identifies this request. If a valid Request-Id was sent in the
request header, this echoes that value; otherwise a server-generated UUID is returned.
Include this value when contacting support to help correlate logs and traces.
errorShow fields
codeA machine-readable snake_case string for programmatic handling.
parameter_missingmessageA human-readable description for the developer.
The 'passengers' parameter is required to create a booking.paramThe specific request parameter that caused the error.
passengersExample
{
"error": {
"code": "parameter_missing",
"message": "The 'passengers' parameter is required to create a booking.",
"param": "passengers"
}
}422Unprocessable Entity
Request-IdUUID that uniquely identifies this request. If a valid Request-Id was sent in the
request header, this echoes that value; otherwise a server-generated UUID is returned.
Include this value when contacting support to help correlate logs and traces.
errorShow fields
codeA machine-readable snake_case string for programmatic handling.
parameter_missingmessageA human-readable description for the developer.
The 'passengers' parameter is required to create a booking.paramThe specific request parameter that caused the error.
passengersExample
{
"error": {
"code": "parameter_missing",
"message": "The 'passengers' parameter is required to create a booking.",
"param": "passengers"
}
}500Internal Server Error
Request-IdUUID that uniquely identifies this request. If a valid Request-Id was sent in the
request header, this echoes that value; otherwise a server-generated UUID is returned.
Include this value when contacting support to help correlate logs and traces.
errorShow fields
codeA machine-readable snake_case string for programmatic handling.
parameter_missingmessageA human-readable description for the developer.
The 'passengers' parameter is required to create a booking.paramThe specific request parameter that caused the error.
passengersExample
{
"error": {
"code": "parameter_missing",
"message": "The 'passengers' parameter is required to create a booking.",
"param": "passengers"
}
}curl -X PUT "https://travel-distribution.staging.htsapis.com/api/flights/v1/seatAvailability" \
-H "HTS-API-KEY: $HTS_API_KEY" \
-H "Request-Id: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
}'{
"seat_maps": [
{
"segment_id": "seg_0",
"seats": [
{
"id": "svc_seat_2A_seg_0_0",
"designator": "2A",
"price": {
"currency": "USD",
"base_amount": "120.00",
"total_amount": "150.00",
"taxes_and_fees_amount": "30.00",
"taxes_and_fees": [
{}
]
},
"passenger_restrictions": [
"adult"
]
}
],
"emergency_exit_rows": [
14,
15
]
}
]
}Examples are generated from the schema where the spec publishes none; field values are illustrative.
