Get Airport
GET
/api/v1/airports/{iata}
agent-data call bd63936c-8611-45a8-8ad8-083aa4c51aa9 get-airport --iata <iata>curl "https://d1vrh75868.execute-api.us-east-2.amazonaws.com/api/v1/airports/{iata}" -H "Authorization: Bearer <YOUR_API_KEY>"Return current operational status for one airport.
Combines FAA NAS status (delays, ground stops, ground delay programs) with the most recent METAR weather observation. Reliability fields are placeholders until a vetted historical source is wired in.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” iata
required
Iata
Specify the 3-letter IATA airport code to look up. The server normalizes the value to uppercase before validation and returns 404 if the code is not present in the built-in airport reference set.
string
Specify the 3-letter IATA airport code to look up. The server normalizes the value to uppercase before validation and returns 404 if the code is not present in the built-in airport reference set.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Envelope[AirportStatusRecord]
object
data
required
AirportStatusRecord
object
iata
required
Iata
string
name
required
Name
string
weather
required
AirportWeather
object
conditions
Conditions
Array<string>
conditions
required
AirportConditions
reliability
required
data_confidence
required
DataConfidence
string
meta
required
ResponseMeta
object
cache
Any of:
CacheMetadata
object
hit
required
Hit
boolean
ttl_seconds
required
Ttl Seconds
integer
null
resource
required
Resource
string
request_id
Request Id
string
sources_used
Sources Used
Array<string>
processing_time_ms
required
Processing Time Ms
integer
warnings
Warnings
Array<object>
WarningItemobject
code
required
Code
string
source
required
Source
string
message
required
Message
string
Example
{ "data": { "conditions": { "status": "normal", "ground_stop": false, "ground_delay_program": false }, "data_confidence": "high" }}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
Example generated
{ "detail": [ { "ctx": {}, "loc": [ "example" ], "msg": "example", "type": "example", "input": "example" } ]}