Airports
GET/api/v1/airports/{icaoCodeOrIdent}Student Pilot

Get Airport By Icao Code Or Ident

Gets a specific airport by ICAO code or FAA identifier

Code Examples

curl \
  -H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
  "https://api.preflightapi.io/api/v1/airports/KJFK"

Description

Accepts both ICAO codes and FAA identifiers. If the exact identifier is not found, the API automatically tries the alternate format (e.g., KW05 resolves to W05, PA88 resolves to A88, DFW resolves to KDFW).

GET /api/v1/airports/KDFW — by ICAO code
GET /api/v1/airports/DFW — by FAA identifier
GET /api/v1/airports/KW05 — resolves to FAA identifier W05
GET /api/v1/airports/PA88 — resolves to FAA identifier A88 (Alaska)

Parameters

NameInTypeDescription
icaoCodeOrIdent*pathstringICAO code or FAA identifier (e.g., KDFW, DFW, KW05). Case-insensitive. Automatically resolves ICAO/FAA format mismatches.

Response Schema

200Returns the airportAirportDto
siteNostring

FAA NASR field: SITE_NO. Unique Site Number assigned by the FAA to identify the airport facility.

icaoIdstringnullable

FAA NASR field: ICAO_ID. ICAO (International Civil Aviation Organization) identifier (e.g., KDFW, KLAX).

arptIdstringnullable

FAA NASR field: ARPT_ID. FAA location identifier (e.g., DFW, LAX, ORD). Up to 4 characters.

arptNamestringnullable

FAA NASR field: ARPT_NAME. Official Facility Name.

effDatedate-time

FAA NASR field: EFF_DATE. Effective date of the airport information. ISO 8601 UTC format.

siteTypeAirportSiteTypenullable

FAA NASR field: SITE_TYPE_CODE. Landing facility type.

ownershipTypeAirportOwnershipTypenullable

FAA NASR field: OWNERSHIP_TYPE_CODE. Airport ownership type.

facilityUseAirportFacilityUsenullable

FAA NASR field: FACILITY_USE_CODE. Facility use designation.

arptStatusAirportStatusnullable

FAA NASR field: ARPT_STATUS. Airport operational status.

naspCodestringnullable

FAA NASR field: NASP_CODE. NPIAS/Federal Agreements Code. A combination of 1 to 7 codes indicating the type of Federal agreements existing at the Airport.

citystringnullable

FAA NASR field: CITY. Associated city name for the airport.

stateCodestringnullable

FAA NASR field: STATE_CODE. Two-letter USPS state code where the airport is located.

countryCodestringnullable

FAA NASR field: COUNTRY_CODE. Two-letter country code.

stateNamestringnullable

FAA NASR field: STATE_NAME. Full state name where the airport is located.

regionCodestringnullable

FAA NASR field: REGION_CODE. FAA region code (e.g., ASW, AEA, AWP).

adoCodestringnullable

FAA NASR field: ADO_CODE. FAA Airports District Office code.

countyNamestringnullable

FAA NASR field: COUNTY_NAME. County name where the airport is located.

countyAssocStatestringnullable

FAA NASR field: COUNTY_ASSOC_STATE. Two-letter state, territory, or country code associated with the county (e.g., US state codes, CN for Canada, GU for Guam, VI for Virgin Islands).

distCityToAirportnumbernullable

FAA NASR field: DIST_CITY_TO_AIRPORT. Distance from Central Business District of the Associated City to the Airport, in nautical miles.

directionCodestringnullable

FAA NASR field: DIRECTION_CODE. Direction of Airport from Central Business District of Associated City (Nearest 1/8 Compass Point).

acreageintegernullable

FAA NASR field: ACREAGE. Land Area Covered by Airport (Acres).

latDecimalnumbernullable

FAA NASR field: LAT_DECIMAL. Latitude of airport reference point in decimal degrees (WGS 84).

longDecimalnumbernullable

FAA NASR field: LONG_DECIMAL. Longitude of airport reference point in decimal degrees (WGS 84).

latDegintegernullable

FAA NASR field: LAT_DEG. Latitude degrees of airport reference point.

latMinintegernullable

FAA NASR field: LAT_MIN. Latitude minutes of airport reference point.

latSecnumbernullable

FAA NASR field: LAT_SEC. Latitude seconds of airport reference point.

latHemisstringnullable

FAA NASR field: LAT_HEMIS. Latitude hemisphere of airport reference point (N or S).

longDegintegernullable

FAA NASR field: LONG_DEG. Longitude degrees of airport reference point.

longMinintegernullable

FAA NASR field: LONG_MIN. Longitude minutes of airport reference point.

longSecnumbernullable

FAA NASR field: LONG_SEC. Longitude seconds of airport reference point.

longHemisstringnullable

FAA NASR field: LONG_HEMIS. Longitude hemisphere of airport reference point (E or W).

positionSurveyMethodSurveyMethodnullable

FAA NASR field: SURVEY_METHOD_CODE. Method used to determine the airport reference point position.

arptPsnSourcestringnullable

FAA NASR field: ARPT_PSN_SOURCE. Source of the airport position information.

positionSrcDatedate-timenullable

FAA NASR field: POSITION_SRC_DATE. Date the airport position information was determined. ISO 8601 UTC format.

elevnumbernullable

FAA NASR field: ELEV. Airport elevation in feet MSL, to the nearest tenth of a foot. Measured at the highest point on the centerline of the usable landing surface.

elevationSurveyMethodSurveyMethodnullable

FAA NASR field: ELEV_METHOD_CODE. Method used to determine the airport elevation.

arptElevSourcestringnullable

FAA NASR field: ARPT_ELEV_SOURCE. Source of the airport elevation information.

elevationSrcDatedate-timenullable

FAA NASR field: ELEVATION_SRC_DATE. Date the airport elevation information was determined. ISO 8601 UTC format.

magVarnnumbernullable

FAA NASR field: MAG_VARN. Magnetic Variation in degrees. Use with MagHemis (E or W) to determine sign.

magHemisstringnullable

FAA NASR field: MAG_HEMIS. Magnetic Variation Direction (E or W).

magVarnYearintegernullable

FAA NASR field: MAG_VARN_YEAR. Magnetic Variation Epoch Year.

tpaintegernullable

FAA NASR field: TPA. Traffic Pattern Altitude (Whole Feet AGL).

chartNamestringnullable

FAA NASR field: CHART_NAME. Sectional aeronautical chart name on which the airport appears.

respArtccIdstringnullable

FAA NASR field: RESP_ARTCC_ID. Responsible ARTCC Identifier. The Responsible ARTCC is the FAA Air Route Traffic Control Center that has control over the Airport.

artccNamestringnullable

FAA NASR field: ARTCC_NAME. Name of the responsible ARTCC.

twrTypeCodestringnullable

FAA NASR field: TWR_TYPE_CODE. Air Traffic Control Tower Facility Type (ATCT, NON-ATCT, ATCT-A/C, ATCT-RAPCON, ATCT-RATCF, ATCT-TRACON, TRACON).

fssOnAirportboolean

FAA NASR field: FSS_ON_ARPT_FLAG. Tie-In FSS Physically Located On Facility.

fssIdstringnullable

FAA NASR field: FSS_ID. Tie-In Flight Service Station (FSS) Identifier.

fssNamestringnullable

FAA NASR field: FSS_NAME. Tie-In FSS Name.

fssPhoneNumberstringnullable

FAA NASR field: PHONE_NO. Local Phone Number from Airport to FSS for Administrative Services.

tollFreeNumberstringnullable

FAA NASR field: TOLL_FREE_NO. Toll Free Phone Number from Airport to FSS for Pilot Briefing Services.

altFssIdstringnullable

FAA NASR field: ALT_FSS_ID. Alternate FSS Identifier. Identifies a full-time FSS that assumes responsibility during the off hours of a part-time primary FSS.

altFssNamestringnullable

FAA NASR field: ALT_FSS_NAME. Alternate Flight Service Station name.

altTollFreeNumberstringnullable

FAA NASR field: ALT_TOLL_FREE_NO. Toll Free Phone Number from Airport to Alternate FSS for Pilot Briefing Services.

notamIdstringnullable

FAA NASR field: NOTAM_ID. Identifier of the Facility responsible for issuing NOTAMs and Weather information for the Airport.

notamAvailableboolean

FAA NASR field: NOTAM_FLAG. Availability of NOTAM 'D' Service at Airport.

customsPortOfEntryboolean

FAA NASR field: CUST_FLAG. Facility designated by U.S. Department of Homeland Security as an International Airport of Entry for Customs.

customsLandingRightsboolean

FAA NASR field: LNDG_RIGHTS_FLAG. Facility designated by U.S. Department of Homeland Security as a Customs Landing Rights Airport.

jointUseboolean

FAA NASR field: JOINT_USE_FLAG. Facility has Military/Civil Joint Use Agreement that allows Civil Operations at a Military Airport.

militaryLandingRightsboolean

FAA NASR field: MIL_LNDG_FLAG. Airport has entered into an Agreement that Grants Landing Rights to the Military.

inspectionMethodAirportInspectionMethodnullable

FAA NASR field: INSPECT_METHOD_CODE. Airport inspection method.

inspectorAgencyAirportInspectorAgencynullable

FAA NASR field: INSPECTOR_CODE. Agency/Group Performing Physical Inspection.

lastInspectiondate-timenullable

FAA NASR field: LAST_INSPECTION. Date of the last physical inspection. ISO 8601 UTC format.

lastInfoResponsedate-timenullable

FAA NASR field: LAST_INFO_RESPONSE. Date of the last information request response. ISO 8601 UTC format.

fuelTypesstringnullable

FAA NASR field: FUEL_TYPES. Fuel Types available for public use at the Airport (e.g., 100LL, A, A+, MOGAS, UL94).

contractFuelAvailableboolean

FAA NASR field: CONTR_FUEL_AVBL. Whether contract fuel is available.

airframeRepairServiceRepairServiceAvailabilitynullable

FAA NASR field: AIRFRAME_REPAIR_SER_CODE. Airframe repair service availability.

powerPlantRepairServiceRepairServiceAvailabilitynullable

FAA NASR field: PWR_PLANT_REPAIR_SER. Power plant (engine) repair service availability.

bottledOxygenTypeOxygenPressureTypenullable

FAA NASR field: BOTTLED_OXY_TYPE. Type of bottled oxygen available.

bulkOxygenTypeOxygenPressureTypenullable

FAA NASR field: BULK_OXY_TYPE. Type of bulk oxygen available.

otherServicesstringnullable

FAA NASR field: OTHER_SERVICES. Other airport services available (comma-separated codes).

transientStorageBuoysboolean

FAA NASR field: TRNS_STRG_BUOY_FLAG. Whether transient storage buoys are available.

transientStorageHangarsboolean

FAA NASR field: TRNS_STRG_HGR_FLAG. Whether transient storage hangars are available.

transientStorageTiedownsboolean

FAA NASR field: TRNS_STRG_TIE_FLAG. Whether transient storage tie-downs are available.

lgtSkedstringnullable

FAA NASR field: LGT_SKED. Airport Lighting Schedule. Beginning-ending times (local time) that Standard Airport Lights are operated. Value can be 'SS-SR' (sunset-sunrise), blank, or 'SEE RMK'.

bcnLgtSkedstringnullable

FAA NASR field: BCN_LGT_SKED. Beacon Lighting Schedule. Beginning-ending times (local time) that the Rotating Airport Beacon Light is operated. Value can be 'SS-SR' (sunset-sunrise), blank, or 'SEE RMK'.

beaconLensColorBeaconLensColornullable

FAA NASR field: BCN_LENS_COLOR. Airport beacon lens color.

segmentedCircleMarkerSegmentedCircleMarkerTypenullable

FAA NASR field: SEG_CIRCLE_MKR_FLAG. Segmented circle airport marker system.

windIndicatorWindIndicatorTypenullable

FAA NASR field: WIND_INDCR_FLAG. Wind indicator type.

landingFeeboolean

FAA NASR field: LNDG_FEE_FLAG. Landing Fee charged to Non-Commercial Users of Airport.

medicalUseboolean

FAA NASR field: MEDICAL_USE_FLAG. Indicates that the Landing Facility is used for Medical Purposes.

activationDatestringnullable

FAA NASR field: ACTIVATION_DATE. Airport Activation Date (YYYY/MM). Year and month the facility was added to the NFDC airport database. Only available for facilities opened since 1981.

minOpNetworkstringnullable

FAA NASR field: MIN_OP_NETWORK. Minimum Operational Network (MON) designation.

userFeeFlagstringnullable

FAA NASR field: USER_FEE_FLAG. US Customs User Fee Airport designation.

ctastringnullable

FAA NASR field: CTA. Cold Temperature Airport. Altitude correction required at or below the temperature given in Celsius.

computerIdstringnullable

FAA NASR field: COMPUTER_ID. Responsible ARTCC (FAA) Computer Identifier.

far139TypeCodestringnullable

FAA NASR field: FAR_139_TYPE_CODE. Airport ARFF Certification Type Code. Format is class code (I/II/III/IV) followed by A/B/C/D/E (full certificate) or L (limited certification). Blank if not certificated.

far139CarrierSerCodestringnullable

FAA NASR field: FAR_139_CARRIER_SER_CODE. Airport ARFF Certification Carrier Service Code. S (scheduled service) or U (not receiving scheduled service).

arffCertTypeDatedate-timenullable

FAA NASR field: ARFF_CERT_TYPE_DATE. Airport ARFF Certification Date. ISO 8601 UTC format.

aspAnalysisDtrmCodestringnullable

FAA NASR field: ASP_ANLYS_DTRM_CODE. Airport Airspace Analysis Determination (CONDL, NOT ANALYZED, NO OBJECTION, OBJECTIONABLE).

skedSeqNointegernullable

FAA NASR field: SKED_SEQ_NO (APT_ATT). Attendance Schedule Sequence Number.

attendanceMonthstringnullable

FAA NASR field: MONTH (APT_ATT). Months the facility is attended. May contain 'UNATNDD' for unattended facilities.

attendanceDaystringnullable

FAA NASR field: DAY (APT_ATT). Days of the week the facility is open.

attendanceHoursstringnullable

FAA NASR field: HOUR (APT_ATT). Hours within the day the facility is attended.

contactTitlestringnullable

FAA NASR field: TITLE (APT_CON). Title of the facility contact (e.g., MANAGER, OWNER).

contactNamestringnullable

FAA NASR field: NAME (APT_CON). Facility contact name.

contactAddress1stringnullable

FAA NASR field: ADDRESS1 (APT_CON). Contact address line 1.

contactAddress2stringnullable

FAA NASR field: ADDRESS2 (APT_CON). Contact address line 2.

contactCitystringnullable

FAA NASR field: TITLE_CITY (APT_CON). Contact city.

contactStatestringnullable

FAA NASR field: STATE (APT_CON). Contact state.

contactZipCodestringnullable

FAA NASR field: ZIP_CODE (APT_CON). Contact ZIP code.

contactZipPlusFourstringnullable

FAA NASR field: ZIP_PLUS_FOUR (APT_CON). Contact ZIP+4 code.

contactPhoneNumberstringnullable

FAA NASR field: PHONE_NO (APT_CON). Contact phone number.

404If the airport is not foundApiErrorResponse
codestring

Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").

messagestring

Human-readable error message suitable for display.

detailsstringnullable

Additional error details (only included in development environment).

servicestringnullable

Name of the external service that failed (only included for 503 errors).

validationErrorsRecord<string, string[]>nullable

Field-level validation errors (only for validation failures).

timestampstring

UTC timestamp when the error occurred.

traceIdstringnullable

Correlation ID for tracing the request.

pathstringnullable

Request path that generated the error.

Search Documentation

Search docs, endpoints, and schemas