{"api":{"id":"api_738e70a0a807cebd9bad2632","slug":"airport-directory","name":"Airport Directory","description":"Airports, heliports and seaplane bases worldwide from OurAirports: IATA, ICAO and local codes, name, type, coordinates, elevation, country, region, city, scheduled airline service, website and Wikipedia links, joined with each airport's runways (length, width, surface, lighting).","kind":"ready_made","visibility":"public","domain":"davidmegginson.github.io","source_url":"https://davidmegginson.github.io/ourairports-data/","category":"travel","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":25,"created_at":"2026-12-06T03:33:09.180Z","updated_at":"2026-12-06T03:33:09.180Z","runnable":true},"version":"1.0","contract_hash":"10adf4ace91d5923e72ba2c97e641ea085b6a219687ba210e19a9f2cf2ccd28f","fields":[{"name":"id","type":"string","description":"OurAirports' own number for the place.","required":true,"coverage":1,"example":"1973"},{"name":"url","type":"url","description":"The place's page on ourairports.com.","required":false,"coverage":1,"example":"https://ourairports.com/airports/CYYC/"},{"name":"ident","type":"string","description":"OurAirports' code for the place: the ICAO code when there is one, otherwise a local or made-up code.","required":false,"coverage":1,"example":"CYYC"},{"name":"iata_code","type":"string","description":"Three-letter IATA code used on tickets, such as YYZ.","required":false,"coverage":1,"example":"YYC"},{"name":"icao_code","type":"string","description":"Four-letter ICAO code, such as CYYZ.","required":false,"coverage":1,"example":"CYYC"},{"name":"gps_code","type":"string","description":"Code used in GPS units and flight planning.","required":false,"coverage":1,"example":"CYYC"},{"name":"local_code","type":"string","description":"National code, such as the FAA code in the United States.","required":false,"coverage":0.2,"example":"CYEG"},{"name":"name","type":"string","description":"Name of the airport, heliport or seaplane base.","required":false,"coverage":1,"example":"Calgary International Airport"},{"name":"type","type":"string","description":"Kind of place: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport or closed.","required":false,"coverage":1,"example":"large_airport"},{"name":"latitude","type":"number","description":"Latitude in decimal degrees.","required":false,"coverage":1,"example":51.118822},{"name":"longitude","type":"number","description":"Longitude in decimal degrees.","required":false,"coverage":1,"example":-114.009933},{"name":"elevation_ft","type":"integer","description":"Elevation above sea level in feet.","required":false,"coverage":1,"example":3557},{"name":"continent","type":"string","description":"Continent code: AF, AN, AS, EU, NA, OC or SA.","required":false,"coverage":1,"example":"NA"},{"name":"country_code","type":"string","description":"Two-letter country code, such as CA.","required":false,"coverage":1,"example":"CA"},{"name":"country","type":"string","description":"Country name in English.","required":false,"coverage":1,"example":"Canada"},{"name":"region_code","type":"string","description":"Province or state as an ISO 3166-2 code, such as CA-ON.","required":false,"coverage":1,"example":"CA-AB"},{"name":"region","type":"string","description":"Province or state name, such as Ontario.","required":false,"coverage":1,"example":"Alberta"},{"name":"municipality","type":"string","description":"City or town the place serves.","required":false,"coverage":1,"example":"Calgary"},{"name":"has_scheduled_service","type":"boolean","description":"True when airlines fly scheduled service from it.","required":false,"coverage":1,"example":true},{"name":"website","type":"url","description":"The airport's own website.","required":false,"coverage":1,"example":"http://www.calgaryairport.com/"},{"name":"wikipedia_url","type":"url","description":"The airport's Wikipedia article.","required":false,"coverage":1,"example":"https://en.wikipedia.org/wiki/Calgary_International_Airport"},{"name":"keywords","type":"array","description":"Other names and codes people use for it, such as YTO or Malton.","required":false,"coverage":0.8,"example":["McCall Field"]},{"name":"runways_count","type":"integer","description":"Number of runways that are not closed; filled with include_runways.","required":false,"coverage":1,"example":3},{"name":"longest_runway_ft","type":"integer","description":"Length of the longest runway that is not closed, in feet; filled with include_runways.","required":false,"coverage":1,"example":14000},{"name":"runways","type":"array","description":"Runways, longest first, each with designation (such as 05/23), length_ft, width_ft, surface, is_lighted, is_closed and heading_deg.","required":false,"coverage":1,"example":[{},{}]}],"inputs":[{"name":"search","type":"string","description":"Words in the airport's name, city or other names, such as Toronto or Heathrow; each word must match the start of a word.","example":"Toronto"},{"name":"codes","type":"array","description":"IATA or ICAO codes, such as [\"YYZ\", \"CYTZ\"]; local and GPS codes also work when no airport has that IATA or ICAO code.","example":["YYZ","CYTZ"]},{"name":"country","type":"string","description":"Only airports in this country, as a two-letter code such as CA.","example":"CA"},{"name":"region","type":"string","description":"Only airports in this province or state, as an ISO 3166-2 code such as CA-ON or US-NY.","example":"CA-ON"},{"name":"types","type":"array","description":"Kinds of places to return; empty for every kind except closed airports.","example":["large_airport"],"enum":["large_airport","medium_airport","small_airport","heliport","seaplane_base","balloonport","closed"]},{"name":"scheduled_service_only","type":"boolean","description":"Only airports with scheduled airline service.","default":false,"example":true},{"name":"include_runways","type":"boolean","description":"Add each airport's runways with length, width, surface, lighting and heading.","default":true,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"continent":{"description":"Continent code: AF, AN, AS, EU, NA, OC or SA.","type":"string"},"country":{"description":"Country name in English.","type":"string"},"country_code":{"description":"Two-letter country code, such as CA.","type":"string"},"elevation_ft":{"description":"Elevation above sea level in feet.","type":"integer"},"gps_code":{"description":"Code used in GPS units and flight planning.","type":"string"},"has_scheduled_service":{"description":"True when airlines fly scheduled service from it.","type":"boolean"},"iata_code":{"description":"Three-letter IATA code used on tickets, such as YYZ.","type":"string"},"icao_code":{"description":"Four-letter ICAO code, such as CYYZ.","type":"string"},"id":{"description":"OurAirports' own number for the place.","type":"string"},"ident":{"description":"OurAirports' code for the place: the ICAO code when there is one, otherwise a local or made-up code.","type":"string"},"keywords":{"description":"Other names and codes people use for it, such as YTO or Malton.","type":"array"},"latitude":{"description":"Latitude in decimal degrees.","type":"number"},"local_code":{"description":"National code, such as the FAA code in the United States.","type":"string"},"longest_runway_ft":{"description":"Length of the longest runway that is not closed, in feet; filled with include_runways.","type":"integer"},"longitude":{"description":"Longitude in decimal degrees.","type":"number"},"municipality":{"description":"City or town the place serves.","type":"string"},"name":{"description":"Name of the airport, heliport or seaplane base.","type":"string"},"region":{"description":"Province or state name, such as Ontario.","type":"string"},"region_code":{"description":"Province or state as an ISO 3166-2 code, such as CA-ON.","type":"string"},"runways":{"description":"Runways, longest first, each with designation (such as 05/23), length_ft, width_ft, surface, is_lighted, is_closed and heading_deg.","type":"array"},"runways_count":{"description":"Number of runways that are not closed; filled with include_runways.","type":"integer"},"type":{"description":"Kind of place: large_airport, medium_airport, small_airport, heliport, seaplane_base, balloonport or closed.","type":"string"},"url":{"description":"The place's page on ourairports.com.","format":"uri","type":"string"},"website":{"description":"The airport's own website.","format":"uri","type":"string"},"wikipedia_url":{"description":"The airport's Wikipedia article.","format":"uri","type":"string"}},"required":["id"],"title":"Airport Directory","type":"object"},"samples":[{"id":"1973","url":"https://ourairports.com/airports/CYYC/","ident":"CYYC","iata_code":"YYC","icao_code":"CYYC","gps_code":"CYYC","local_code":null,"name":"Calgary International Airport","type":"large_airport","latitude":51.118822,"longitude":-114.009933,"elevation_ft":3557,"continent":"NA","country_code":"CA","country":"Canada","region_code":"CA-AB","region":"Alberta","municipality":"Calgary","has_scheduled_service":true,"website":"http://www.calgaryairport.com/","wikipedia_url":"https://en.wikipedia.org/wiki/Calgary_International_Airport","keywords":["McCall Field"],"runways_count":3,"longest_runway_ft":14000,"runways":[{"designation":"17L/35R","length_ft":14000,"width_ft":200,"surface":"CONC","is_lighted":true,"is_closed":false,"heading_deg":180},{"designation":"17R/35L","length_ft":12675,"width_ft":200,"surface":"ASP","is_lighted":true,"is_closed":false,"heading_deg":180},{"designation":"11/29","length_ft":8000,"width_ft":200,"surface":"ASP","is_lighted":true,"is_closed":false,"heading_deg":119.5},{"designation":"08/26","length_ft":6200,"width_ft":150,"surface":"ASP","is_lighted":true,"is_closed":true,"heading_deg":90}]},{"id":"1717","url":"https://ourairports.com/airports/CYEG/","ident":"CYEG","iata_code":"YEG","icao_code":"CYEG","gps_code":"CYEG","local_code":"CYEG","name":"Edmonton International Airport","type":"large_airport","latitude":53.3097,"longitude":-113.580002,"elevation_ft":2373,"continent":"NA","country_code":"CA","country":"Canada","region_code":"CA-AB","region":"Alberta","municipality":"Edmonton","has_scheduled_service":true,"website":"http://www.edmontonairports.com/","wikipedia_url":"https://en.wikipedia.org/wiki/Edmonton_International_Airport","keywords":[],"runways_count":2,"longest_runway_ft":11000,"runways":[{"designation":"02/20","length_ft":11000,"width_ft":200,"surface":"ASPHALT","is_lighted":true,"is_closed":false,"heading_deg":34},{"designation":"12/30","length_ft":10200,"width_ft":200,"surface":"ASPHALT","is_lighted":true,"is_closed":false,"heading_deg":135}]},{"id":"1770","url":"https://ourairports.com/airports/CYHZ/","ident":"CYHZ","iata_code":"YHZ","icao_code":"CYHZ","gps_code":"CYHZ","local_code":null,"name":"Halifax / Stanfield International Airport","type":"large_airport","latitude":44.8807983398,"longitude":-63.5085983276,"elevation_ft":477,"continent":"NA","country_code":"CA","country":"Canada","region_code":"CA-NS","region":"Nova Scotia","municipality":"Halifax","has_scheduled_service":true,"website":"http://www.hiaa.ca/","wikipedia_url":"https://en.wikipedia.org/wiki/Halifax_International_Airport","keywords":["Robert L. Stanfield International Airport"],"runways_count":2,"longest_runway_ft":10500,"runways":[{"designation":"05/23","length_ft":10500,"width_ft":200,"surface":"ASP","is_lighted":true,"is_closed":false,"heading_deg":35},{"designation":"14/32","length_ft":7700,"width_ft":200,"surface":"ASP","is_lighted":true,"is_closed":false,"heading_deg":126}]}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"continent":1,"country":1,"country_code":1,"elevation_ft":1,"gps_code":1,"has_scheduled_service":1,"iata_code":1,"icao_code":1,"id":1,"ident":1,"keywords":0.67,"latitude":1,"local_code":0.33,"longest_runway_ft":1,"longitude":1,"municipality":1,"name":1,"region":1,"region_code":1,"runways":1,"runways_count":1,"type":1,"url":1,"website":1,"wikipedia_url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:33:09.180Z","activated_at":"2026-12-06T03:33:09.180Z","active":true,"contract_hash":"10adf4ace91d5923e72ba2c97e641ea085b6a219687ba210e19a9f2cf2ccd28f","fields_count":25}]}