Docs
Get an API key
Airports

Get airport by IATA code

GET
/v1/flight/airports/iatas/{iataCode}

Read an airport. A missing local record is imported from the supplier; an unknown code returns 404.

Authorization

x-api-key<token>

Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.

In: header

Path Parameters

iataCode*string

Three-letter airport IATA code; input is trimmed and uppercased.

Match^\s*[A-Za-z]{3}\s*$

Header Parameters

x-request-id?string

Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/flight/airports/iatas/JFK"
{  "data": {    "id": "string",    "iata_code": "string",    "icao_code": "string",    "name": "string",    "city": "string",    "state": "string",    "country": "string",    "latitude": 0,    "longitude": 0,    "time_zone": "America/New_York"  }}