Global Airport Codes
Pricing
from $3.00 / 1,000 items
Pricing
from $3.00 / 1,000 items
Rating
0.0
(0)
Developer
bite-sized-insights
Maintained by CommunityActor 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
- Open the actor on Apify and go to the Input tab.
- Paste the example input below (or edit the prefilled list); IATA and ICAO codes can be mixed.
- Click Start and wait for the run to finish.
- 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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
codes | array | Yes | - | 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
| Field | Type | Description |
|---|---|---|
id | string | OurAirports internal ID |
ident | string | Airport identifier (usually the ICAO code) |
type | string | Airport type (large_airport, medium_airport, small_airport, heliport, seaplane_base, closed, etc.) |
name | string | Airport name |
latitude_deg | string | Latitude in decimal degrees |
longitude_deg | string | Longitude in decimal degrees |
elevation_ft | string | Elevation above sea level in feet |
continent | string | Continent code |
iso_country | string | ISO 3166-1 alpha-2 country code |
iso_region | string | ISO 3166-2 region code |
municipality | string | Nearest city/municipality |
scheduled_service | string | Whether the airport has scheduled airline service - "yes"/"no" |
icao_code | string | 4-letter ICAO airport code |
iata_code | string | 3-letter IATA airport code |
gps_code | string | GPS/FAA code |
local_code | string | Local country-specific airport code |
home_link | string | Airport's official website, if known |
wikipedia_link | string | Wikipedia article URL, if known |
keywords | string | Additional search keywords (old names, nearby cities, etc.) |
error | null/string | Error 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
| Cost | Description |
|---|---|
| $0.0001 / start | Charged per actor run |
| $3.00 / 1,000 airport codes | Charged per result returned |
API Integration
Python
from apify_client import ApifyClientclient = 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:
- US ZIP Code Lookup - US ZIP codes (5-digit)
- Norway Postal Code Search - Norwegian postal codes (4-digit)
- India PIN Code Search - Indian PIN codes (6-digit)
- France Postal Code Search - French postal codes (5-digit)
Notes
- Codes are matched case-sensitively against both the
iata_codeandicao_codecolumns - 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_servicedownstream if you only want commercial airports
Need help? Open an issue on the actor's repository or contact support through Apify Console.