API reference

HTS APIs

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

Schema

slice

Fields

origin
string
required

IATA airport code of origin.

Pattern [A-Z]{3}
destination
string
required

IATA airport code of destination.

Pattern [A-Z]{3}
departure_date
string · date
required

Local date of departure from origin.

Example
{
  "origin": "BOS",
  "destination": "LGA",
  "departure_date": "2024-04-22"
}