Terminals
Terminal building geometry, resolved live for any airport on file.
Terminal buildings aren't something most airport databases track well, and they change rarely enough that keeping a separate table in sync isn't worth it. Instead, we resolve terminal geometry live for any airport with coordinates on file, within a 5km radius.
GET/v1/airports/{icao_code}/terminals
Terminal buildings near the airportGET/v1/terminals/{terminal_id}
One terminal by public IDGET /v1/airports/KSFO/terminals
[
{
"name":: "International Terminal",
"operator":: "San Francisco Airport Commission",
"lat":: 37.6153,
"lng":: -122.3900
}
]Results are cached for 30 days per airport — terminal geometry essentially never changes, so there's no reason to re-resolve it on every request.