API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Get airport by IATA or ICAO codegetSearch airportsgetNearest airports to a coordinategetGet airline by IATA or ICAO codegetSearch airlinesget
Schemas
powered by Zudoku
Aviation API
Aviation API

Schemas


Airport

name
​string · required

Airport name.

Example: John F Kennedy International Airport
lat
​number · double · required
lon
​number · double · required
icao
​string | null

4-letter ICAO code.

Example: KJFK
iata
​string | null

3-letter IATA code.

Example: JFK
city
​string | null
state
​string | null
country
​string | null

ISO country code.

Example: US
elevation
​integer | null

Elevation in feet.

Example: 13
tz
​string | null

IANA timezone identifier.

Example: America/New_York

AirportWithDistance

name
​string · required

Airport name.

Example: John F Kennedy International Airport
lat
​number · double · required
lon
​number · double · required
icao
​string | null

4-letter ICAO code.

Example: KJFK
iata
​string | null

3-letter IATA code.

Example: JFK
city
​string | null
state
​string | null
country
​string | null

ISO country code.

Example: US
elevation
​integer | null

Elevation in feet.

Example: 13
tz
​string | null

IANA timezone identifier.

Example: America/New_York
distance_km
​number · double

Great-circle distance from the origin coordinate in kilometers.

Example: 3.114

Airline

name
​string · required
iata
​string | null

2-letter IATA code.

Example: AA
icao
​string | null

3-letter ICAO code.

Example: AAL
callsign
​string | null
country
​string | null
active
​boolean

AirportSearchResult

count
​integer · required
limit
​integer · required
​Airport[] · required

NearestResult

count
​integer · required
limit
​integer · required
​object · required
​AirportWithDistance[] · required

AirlineSearchResult

count
​integer · required
limit
​integer · required
​Airline[] · required

Error

error
​string · required

Error message

Example: No airport found for code 'ZZZ'.
On this page
  • Airport
  • AirportWithDistance
  • Airline
  • AirportSearchResult
  • NearestResult
  • AirlineSearchResult
  • Error