API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

Schema

search_criteria

The canonical search HTS applies before shopping one slice of a rebook: the origin/destination airports (original plus nearby) and the departure date window. Partners running their own supplier search must apply these criteria so their rebook options match the HTS-sourced flow. HTS still re-filters and re-ranks whatever is shopped.

Fields

slice_index
integer · int32
required

Zero-based position in slices of the slice these criteria search for.

Range ≥ 0
origin_airports
array of string
required

Origin airports to search: the original airport plus any nearby airports HTS would include.

Items ≥ 1
destination_airports
array of string
required

Destination airports to search: the original airport plus any nearby airports HTS would include.

Items ≥ 1
departure_date_window
date_window
required

The departure date window to search across.

Show fields
start
string · date
required

First date of the search window (the disrupted departure day), as an ISO local date.

end
string · date
required

Last date of the search window (typically the day after the disruption), as an ISO local date.

Example
{
  "slice_index": 0,
  "origin_airports": [
    "string"
  ],
  "destination_airports": [
    "string"
  ],
  "departure_date_window": {
    "start": "2026-05-11",
    "end": "2026-05-12"
  }
}