---
title: "Get static information about an airport"
method: GET
path: "/airports/{id}"
tags: ["airports"]
---

# Get static information about an airport

`GET /airports/{id}`

## Request

- Base URL: `https://aeroapi.flightaware.com/aeroapi`
- URL: `https://aeroapi.flightaware.com/aeroapi/airports/{id}`
- Auth: API key in header `x-apikey`
- TypeScript: <https://skmtc.dev/flightaware/apis/aeroapi/docs/airports/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns information about an airport given an ICAO or LID airport code
such as KLAX, KIAH, O07, etc. Data returned includes airport name,
city, state (when known), latitude, longitude, and timezone.

## Path parameters

- `id` string, required

## Response `200`

Information about the requested airport.

- object
  - `airport_code` string, required: Default airport identifier, generally ICAO but may be IATA or LID if the airport lacks an ICAO code
  - `code_icao` string, nullable: ICAO identifier for the airport if known
  - `code_iata` string, nullable: IATA identifier for the airport if known
  - `code_lid` string, nullable: LID identifier for the airport if known
  - `alternate_ident` string, nullable, required: IATA or LID identifier for the airport. (Deprecated, use code_iata for the IATA identifier or code_lid for the LID identifier instead.)
  - `name` string, required: Common name for the airport
  - `type` 'Airport' | 'Heliport' | 'Seaplane Base' | 'Ultralight' | 'Stolport' | 'Gliderport' | 'Balloonport' | 'null', nullable: Type of airport
  - `elevation` number, required: Height above Mean Sea Level (MSL)
  - `city` string, required: Closest city to the airport
  - `state` string, required: State/province where the airport resides if applicable. For US states this will be their 2-letter code; for provinces or other entities, it will be the full name.
  - `longitude` number, required: Airport's longitude, generally the center point of the airport
  - `latitude` number, required: Airport's latitude, generally the center point of the airport
  - `timezone` string, required: Applicable timezone for the airport, in the TZ database format
  - `country_code` string, required: 2-letter code of country where the airport resides (ISO 3166-1 alpha-2)
  - `wiki_url` string, uri, nullable, required: Link to the wikipedia page for the airport
  - `airport_flights_url` string, uri-reference, required: The URL to flights for this airport
  - `alternatives` object[]: An array of other possible airport matches
    - `airport_code` string, required: Default airport identifier, generally ICAO but may be IATA or LID if the airport lacks an ICAO code
    - `code_icao` string, nullable: ICAO identifier for the airport if known
    - `code_iata` string, nullable: IATA identifier for the airport if known
    - `code_lid` string, nullable: LID identifier for the airport if known
    - `alternate_ident` string, nullable, required: IATA or LID identifier for the airport. (Deprecated, use code_iata for the IATA identifier or code_lid for the LID identifier instead.)
    - `name` string, required: Common name for the airport
    - `type` 'Airport' | 'Heliport' | 'Seaplane Base' | 'Ultralight' | 'Stolport' | 'Gliderport' | 'Balloonport' | 'null', nullable: Type of airport
    - `elevation` number, required: Height above Mean Sea Level (MSL)
    - `city` string, required: Closest city to the airport
    - `state` string, required: State/province where the airport resides if applicable. For US states this will be their 2-letter code; for provinces or other entities, it will be the full name.
    - `longitude` number, required: Airport's longitude, generally the center point of the airport
    - `latitude` number, required: Airport's latitude, generally the center point of the airport
    - `timezone` string, required: Applicable timezone for the airport, in the TZ database format
    - `country_code` string, required: 2-letter code of country where the airport resides (ISO 3166-1 alpha-2)
    - `wiki_url` string, uri, nullable, required: Link to the wikipedia page for the airport
    - `airport_flights_url` string, uri-reference, required: The URL to flights for this airport

## Other responses

- `400`: Incorrect parameter (id). Id must be a valid airport code and cannot be empty.

---

[API](https://skmtc.dev/flightaware/apis/aeroapi.md) - [All operations](https://skmtc.dev/flightaware/apis/aeroapi/llms.txt) - [OpenAPI document](https://skmtc.dev/flightaware/apis/aeroapi/revisions/3023e7a0c54c?raw)
