/api/v1/airports/batchStudent PilotGet Airports Batch
Gets multiple airports by their ICAO codes or FAA identifiers
Code Examples
curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/airports/batch?ids=value"curl \
-H "Ocp-Apim-Subscription-Key: YOUR_API_KEY" \
"https://api.preflightapi.io/api/v1/airports/batch?ids=value"Description
Pass ICAO codes or FAA identifiers as a single comma-separated query parameter. Both ICAO codes (KDFW) and FAA identifiers (DFW) can be mixed in the same request. ICAO/FAA format mismatches are automatically resolved (e.g., KW05 resolves to W05).
GET /api/v1/airports/batch?ids=KDFW,KAUS,KHOU
GET /api/v1/airports/batch?ids=KDFW,W05,PA88Parameters
| Name | In | Type | Description |
|---|---|---|---|
| ids | query | string | Comma-separated ICAO codes or FAA identifiers (e.g., KDFW,KAUS,KHOU) |
Response Schema
FAA NASR field: SITE_NO. Unique Site Number assigned by the FAA to identify the airport facility.
FAA NASR field: ICAO_ID. ICAO (International Civil Aviation Organization) identifier (e.g., KDFW, KLAX).
FAA NASR field: ARPT_ID. FAA location identifier (e.g., DFW, LAX, ORD). Up to 4 characters.
FAA NASR field: ARPT_NAME. Official Facility Name.
FAA NASR field: EFF_DATE. Effective date of the airport information. ISO 8601 UTC format.
FAA NASR field: OWNERSHIP_TYPE_CODE. Airport ownership type.
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.
FAA NASR field: CITY. Associated city name for the airport.
FAA NASR field: STATE_CODE. Two-letter USPS state code where the airport is located.
FAA NASR field: COUNTRY_CODE. Two-letter country code.
FAA NASR field: STATE_NAME. Full state name where the airport is located.
FAA NASR field: REGION_CODE. FAA region code (e.g., ASW, AEA, AWP).
FAA NASR field: ADO_CODE. FAA Airports District Office code.
FAA NASR field: COUNTY_NAME. County name where the airport is located.
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).
FAA NASR field: DIST_CITY_TO_AIRPORT. Distance from Central Business District of the Associated City to the Airport, in nautical miles.
FAA NASR field: DIRECTION_CODE. Direction of Airport from Central Business District of Associated City (Nearest 1/8 Compass Point).
FAA NASR field: ACREAGE. Land Area Covered by Airport (Acres).
FAA NASR field: LAT_DECIMAL. Latitude of airport reference point in decimal degrees (WGS 84).
FAA NASR field: LONG_DECIMAL. Longitude of airport reference point in decimal degrees (WGS 84).
FAA NASR field: LAT_DEG. Latitude degrees of airport reference point.
FAA NASR field: LAT_MIN. Latitude minutes of airport reference point.
FAA NASR field: LAT_SEC. Latitude seconds of airport reference point.
FAA NASR field: LAT_HEMIS. Latitude hemisphere of airport reference point (N or S).
FAA NASR field: LONG_DEG. Longitude degrees of airport reference point.
FAA NASR field: LONG_MIN. Longitude minutes of airport reference point.
FAA NASR field: LONG_SEC. Longitude seconds of airport reference point.
FAA NASR field: LONG_HEMIS. Longitude hemisphere of airport reference point (E or W).
FAA NASR field: SURVEY_METHOD_CODE. Method used to determine the airport reference point position.
FAA NASR field: ARPT_PSN_SOURCE. Source of the airport position information.
FAA NASR field: POSITION_SRC_DATE. Date the airport position information was determined. ISO 8601 UTC format.
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.
FAA NASR field: ELEV_METHOD_CODE. Method used to determine the airport elevation.
FAA NASR field: ARPT_ELEV_SOURCE. Source of the airport elevation information.
FAA NASR field: ELEVATION_SRC_DATE. Date the airport elevation information was determined. ISO 8601 UTC format.
FAA NASR field: MAG_VARN. Magnetic Variation in degrees. Use with MagHemis (E or W) to determine sign.
FAA NASR field: MAG_HEMIS. Magnetic Variation Direction (E or W).
FAA NASR field: MAG_VARN_YEAR. Magnetic Variation Epoch Year.
FAA NASR field: TPA. Traffic Pattern Altitude (Whole Feet AGL).
FAA NASR field: CHART_NAME. Sectional aeronautical chart name on which the airport appears.
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.
FAA NASR field: ARTCC_NAME. Name of the responsible ARTCC.
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).
FAA NASR field: FSS_ON_ARPT_FLAG. Tie-In FSS Physically Located On Facility.
FAA NASR field: FSS_ID. Tie-In Flight Service Station (FSS) Identifier.
FAA NASR field: FSS_NAME. Tie-In FSS Name.
FAA NASR field: PHONE_NO. Local Phone Number from Airport to FSS for Administrative Services.
FAA NASR field: TOLL_FREE_NO. Toll Free Phone Number from Airport to FSS for Pilot Briefing Services.
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.
FAA NASR field: ALT_FSS_NAME. Alternate Flight Service Station name.
FAA NASR field: ALT_TOLL_FREE_NO. Toll Free Phone Number from Airport to Alternate FSS for Pilot Briefing Services.
FAA NASR field: NOTAM_ID. Identifier of the Facility responsible for issuing NOTAMs and Weather information for the Airport.
FAA NASR field: NOTAM_FLAG. Availability of NOTAM 'D' Service at Airport.
FAA NASR field: CUST_FLAG. Facility designated by U.S. Department of Homeland Security as an International Airport of Entry for Customs.
FAA NASR field: LNDG_RIGHTS_FLAG. Facility designated by U.S. Department of Homeland Security as a Customs Landing Rights Airport.
FAA NASR field: JOINT_USE_FLAG. Facility has Military/Civil Joint Use Agreement that allows Civil Operations at a Military Airport.
FAA NASR field: MIL_LNDG_FLAG. Airport has entered into an Agreement that Grants Landing Rights to the Military.
FAA NASR field: INSPECT_METHOD_CODE. Airport inspection method.
FAA NASR field: INSPECTOR_CODE. Agency/Group Performing Physical Inspection.
FAA NASR field: LAST_INSPECTION. Date of the last physical inspection. ISO 8601 UTC format.
FAA NASR field: LAST_INFO_RESPONSE. Date of the last information request response. ISO 8601 UTC format.
FAA NASR field: FUEL_TYPES. Fuel Types available for public use at the Airport (e.g., 100LL, A, A+, MOGAS, UL94).
FAA NASR field: CONTR_FUEL_AVBL. Whether contract fuel is available.
FAA NASR field: AIRFRAME_REPAIR_SER_CODE. Airframe repair service availability.
FAA NASR field: PWR_PLANT_REPAIR_SER. Power plant (engine) repair service availability.
FAA NASR field: BOTTLED_OXY_TYPE. Type of bottled oxygen available.
FAA NASR field: BULK_OXY_TYPE. Type of bulk oxygen available.
FAA NASR field: OTHER_SERVICES. Other airport services available (comma-separated codes).
FAA NASR field: TRNS_STRG_BUOY_FLAG. Whether transient storage buoys are available.
FAA NASR field: TRNS_STRG_HGR_FLAG. Whether transient storage hangars are available.
FAA NASR field: TRNS_STRG_TIE_FLAG. Whether transient storage tie-downs are available.
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'.
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'.
FAA NASR field: SEG_CIRCLE_MKR_FLAG. Segmented circle airport marker system.
FAA NASR field: LNDG_FEE_FLAG. Landing Fee charged to Non-Commercial Users of Airport.
FAA NASR field: MEDICAL_USE_FLAG. Indicates that the Landing Facility is used for Medical Purposes.
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.
FAA NASR field: MIN_OP_NETWORK. Minimum Operational Network (MON) designation.
FAA NASR field: USER_FEE_FLAG. US Customs User Fee Airport designation.
FAA NASR field: CTA. Cold Temperature Airport. Altitude correction required at or below the temperature given in Celsius.
FAA NASR field: COMPUTER_ID. Responsible ARTCC (FAA) Computer Identifier.
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.
FAA NASR field: FAR_139_CARRIER_SER_CODE. Airport ARFF Certification Carrier Service Code. S (scheduled service) or U (not receiving scheduled service).
FAA NASR field: ARFF_CERT_TYPE_DATE. Airport ARFF Certification Date. ISO 8601 UTC format.
FAA NASR field: ASP_ANLYS_DTRM_CODE. Airport Airspace Analysis Determination (CONDL, NOT ANALYZED, NO OBJECTION, OBJECTIONABLE).
FAA NASR field: SKED_SEQ_NO (APT_ATT). Attendance Schedule Sequence Number.
FAA NASR field: MONTH (APT_ATT). Months the facility is attended. May contain 'UNATNDD' for unattended facilities.
FAA NASR field: DAY (APT_ATT). Days of the week the facility is open.
FAA NASR field: HOUR (APT_ATT). Hours within the day the facility is attended.
FAA NASR field: TITLE (APT_CON). Title of the facility contact (e.g., MANAGER, OWNER).
FAA NASR field: NAME (APT_CON). Facility contact name.
FAA NASR field: ADDRESS1 (APT_CON). Contact address line 1.
FAA NASR field: ADDRESS2 (APT_CON). Contact address line 2.
FAA NASR field: TITLE_CITY (APT_CON). Contact city.
FAA NASR field: STATE (APT_CON). Contact state.
FAA NASR field: ZIP_CODE (APT_CON). Contact ZIP code.
FAA NASR field: ZIP_PLUS_FOUR (APT_CON). Contact ZIP+4 code.
FAA NASR field: PHONE_NO (APT_CON). Contact phone number.
Machine-readable error code (e.g., "AIRCRAFT_NOT_FOUND").
Human-readable error message suitable for display.
Additional error details (only included in development environment).
Name of the external service that failed (only included for 503 errors).
Field-level validation errors (only for validation failures).
UTC timestamp when the error occurred.
Correlation ID for tracing the request.
Request path that generated the error.