Global Airport Codes avatar

Global Airport Codes

Pricing

from $3.00 / 1,000 items

Go to Apify Store
Global Airport Codes

Global Airport Codes

Get worldwide airport data at one API endpoint

Pricing

from $3.00 / 1,000 items

Rating

0.0

(0)

Developer

bite-sized-insights

bite-sized-insights

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

5 hours ago

Last modified

Categories

Share

Get detailed airport data including name, city, country, coordinates, and elevation from IATA or ICAO airport codes.

Simply provide a list of airport codes and get back structured location data for each one.

No login required. No cookies needed. Pay-per-event pricing.

Why Choose This Actor?

"Resolve airport codes to real-world location data in seconds"

Our Global Airport Codes actor provides:

  • Worldwide Coverage: Nearly 86,000 airports, heliports, and airfields across every country
  • IATA and ICAO in One Call: No need to know which code type you have - both are matched automatically
  • Very Fast Responses: Parallel processing for large batches
  • Cost-Effective: Pay only for the airport codes you look up: $3.00 / 1k codes
  • Rich Data: Get name, city, country, coordinates, elevation, and more

Quick Start

  1. Open the actor on Apify and go to the Input tab.
  2. Paste the example input below (or edit the prefilled list); IATA and ICAO codes can be mixed.
  3. Click Start and wait for the run to finish.
  4. Open the Output (dataset) tab to view or export the results as JSON, CSV or Excel.
{
"codes": ["LAX", "EDDF"]
}

Example output item for LAX:

{
"id": "3632",
"ident": "KLAX",
"type": "large_airport",
"name": "Los Angeles International Airport",
"latitude_deg": "33.942501",
"longitude_deg": "-118.407997",
"elevation_ft": "125",
"continent": "NA",
"iso_country": "US",
"iso_region": "US-CA",
"municipality": "Los Angeles",
"scheduled_service": "yes",
"icao_code": "KLAX",
"iata_code": "LAX",
"gps_code": "KLAX",
"local_code": "LAX",
"home_link": "https://www.flylax.com/",
"wikipedia_link": "https://en.wikipedia.org/wiki/Los_Angeles_International_Airport",
"keywords": "Tom Bradley",
"error": null
}

Usage Examples

Resolve a Single Airport Code

{
"codes": ["LAX"]
}

Resolve Multiple Airport Codes (IATA and ICAO mixed)

{
"codes": ["LAX", "KJFK", "LHR", "EDDF"]
}

Returns one record per airport code found, with the same fields as the example output item in Quick Start (here four records, for LAX, KJFK, LHR and EDDF).

Input Parameters

ParameterTypeRequiredDefaultDescription
codesarrayYes-List of IATA (3-letter) and/or ICAO (4-letter) airport codes to resolve (letters only, case-insensitive). 1-1000 per run; duplicates are ignored, invalid or too many codes fail the run

Output Fields

FieldTypeDescription
idstringOurAirports internal ID
identstringAirport identifier (usually the ICAO code)
typestringAirport type (large_airport, medium_airport, small_airport, heliport, seaplane_base, closed, etc.)
namestringAirport name
latitude_degstringLatitude in decimal degrees
longitude_degstringLongitude in decimal degrees
elevation_ftstringElevation above sea level in feet
continentstringContinent code
iso_countrystringISO 3166-1 alpha-2 country code
iso_regionstringISO 3166-2 region code
municipalitystringNearest city/municipality
scheduled_servicestringWhether the airport has scheduled airline service - "yes"/"no"
icao_codestring4-letter ICAO airport code
iata_codestring3-letter IATA airport code
gps_codestringGPS/FAA code
local_codestringLocal country-specific airport code
home_linkstringAirport's official website, if known
wikipedia_linkstringWikipedia article URL, if known
keywordsstringAdditional search keywords (old names, nearby cities, etc.)
errornull/stringError message if lookup failed

Free plan

Free-plan users get 5 runs in total. Each free run processes only the first 10 codes in your input (the rest is ignored without an error) and returns at most 10 results.

Pricing

CostDescription
$0.0001 / startCharged per actor run
$3.00 / 1,000 airport codesCharged per result returned

API Integration

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("bite-sized-insights/global-airport-codes").call(
run_input={
"codes": ["LAX", "JFK", "LHR", "CDG"]
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['iata_code'] or item['icao_code']}: {item['name']}, {item['municipality']}")

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('bite-sized-insights/global-airport-codes').call({
codes: ['LAX', 'JFK', 'LHR', 'CDG']
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
console.log(`${item.iata_code || item.icao_code}: ${item.name}, ${item.municipality}`);
});

Use Cases

  • Travel & Logistics: Resolve flight/shipment airport codes to real-world locations
  • Data Enrichment: Add airport name, city, and coordinates to existing records
  • Mapping: Get coordinates for plotting airports or flight routes
  • Aviation Analytics: Filter and cross-reference airports by country, type, or elevation

Going global?

Looking for postal code data instead? Check out our other actors:

Notes

  • Codes are matched case-sensitively against both the iata_code and icao_code columns - no need to specify which type each code is
  • Invalid or non-existent airport codes will not appear in results
  • Results are returned in no particular order
  • Large requests are automatically split into batches and processed in parallel
  • Includes closed airports and small/private airfields, not just commercial airports with scheduled service - filter on type/scheduled_service downstream if you only want commercial airports

Need help? Open an issue on the actor's repository or contact support through Apify Console.