API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
one_way
Fields
typestring
required
value: one_way
originstring
required
IATA airport code of origin.
Pattern
[A-Z]{3}destinationstring
required
IATA airport code of destination.
Pattern
[A-Z]{3}departure_datestring · date
required
Local date of departure from origin.
Example
{
"type": "string",
"origin": "BOS",
"destination": "LGA",
"departure_date": "2024-04-22"
}