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_codemust follow the IATA standard: exactly 3 alphabetic characters. - Matches must be exact and uppercase.
Fields
typestring enum
required
Must be set to iata.
This field identifies the selector as an airport code and determines the schema requirements.
Values
iata · Example iataairport_codestring
required
The 3-letter identifier (e.g., LAX, SFO). Must be strictly uppercase.
Length ≥ 3, ≤ 3 · Pattern
^[A-Z]{3}$ · Example JFKExample
{
"type": "iata",
"airport_code": "JFK"
}