API reference

HTS APIs

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

Schema

iata_code

Represents an IATA-assigned 3-letter airport code for geographic selection.

Validation:

  • The airport_code must follow the IATA standard: exactly 3 alphabetic characters.
  • Matches must be exact and uppercase.

Fields

type
string enum
required

Must be set to iata. This field identifies the selector as an airport code and determines the schema requirements.

Values iata · Example iata
airport_code
string
required

The 3-letter identifier (e.g., LAX, SFO). Must be strictly uppercase.

Length ≥ 3, ≤ 3 · Pattern ^[A-Z]{3}$ · Example JFK
Example
{
  "type": "iata",
  "airport_code": "JFK"
}