TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OpenFlights – airport and airline data

224 pointsby cyberlababout 4 years ago

17 comments

amatechaabout 4 years ago
You can get free enterprise access to a lot of the major flight tracker services by setting up an ADSB receiver and feeding the data to them. Basically they give you full access to everything as if you were paying for the top tier of their services, because you&#x27;re helping increase the coverage of their data. A few such services:<p><a href="https:&#x2F;&#x2F;www.flightradar24.com" rel="nofollow">https:&#x2F;&#x2F;www.flightradar24.com</a><p><a href="https:&#x2F;&#x2F;flightaware.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;flightaware.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.radarbox.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.radarbox.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;skyscanworld.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;skyscanworld.com&#x2F;</a><p>There&#x27;s also <a href="https:&#x2F;&#x2F;www.adsbexchange.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.adsbexchange.com&#x2F;</a> which doesn&#x27;t filter their data (probably much to the chagrin of various businesses and governments). If you see&#x2F;hear a weird plane above and you can&#x27;t find it on the commercial services above, check ADSB Exchange.
评论 #26961234 未加载
评论 #26961635 未加载
Fomiteabout 4 years ago
Briefly got interested, then hit &quot;Warning: The third-party that OpenFlights uses for route data ceased providing updates in June 2014. The current data is of historical value only.&quot;
评论 #26961101 未加载
phsourceabout 4 years ago
It&#x27;s ridiculous that the only original source of this data, the IATA [0], charges $700+ for this list, so kudos to OpenFlights.<p>I can&#x27;t stress just how important (and how hard) it is to get a great source of data for airports -- I&#x27;ve now built 3 travel-related projects (the latest, Wanderlog [<a href="https:&#x2F;&#x2F;wanderlog.com" rel="nofollow">https:&#x2F;&#x2F;wanderlog.com</a>], keeps people&#x27;s flight reservations, so uses it for an autocomplete), and it&#x27;s been a key building block for all of them.<p>The main datasets we use are:<p>- OpenFlights [1]: mentioned in this post, but this dataset was great since it had timezone too.<p>- OurAirports [2]: no timezone here, but the &quot;type&quot; and &quot;scheduled_service&quot; columns in this dataset are essential. &quot;Type&quot; lets you distinguish between small&#x2F;medium&#x2F;large airports, and &quot;scheduled_service&quot; lets you easily filter out airports without real flights (which you often might not care about).<p>- Random other GitHub Gist [3]: I have no idea where this data comes from, but it was surprisingly complete and has a few golden nuggets like &quot;num_flights&quot; and &quot;runway_length&quot; in addition to &quot;timezone&quot;. The presence of a &quot;woeid&quot; suggests Yahoo-related origins, but it&#x27;s hard to be sure.<p>- We now supplement this with airports from autocomplete APIs like Skyscanner&#x27;s, because they&#x27;re still the most up-to-date.<p>Long story short, it&#x27;d be AWESOME to have one complete, updated database with all this data in one place. This kind of data really should be public and a public service, but until then it&#x27;s unfortunately up to the community.<p>[0] <a href="https:&#x2F;&#x2F;www.iata.org&#x2F;en&#x2F;publications&#x2F;store&#x2F;airline-coding-directory&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.iata.org&#x2F;en&#x2F;publications&#x2F;store&#x2F;airline-coding-di...</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;jpatokal&#x2F;openflights&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jpatokal&#x2F;openflights&#x2F;</a><p>[2] <a href="http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ourairports.com&#x2F;data&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;tdreyno&#x2F;4278655" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;tdreyno&#x2F;4278655</a>
评论 #26957985 未加载
评论 #26958751 未加载
评论 #26959609 未加载
评论 #26958284 未加载
评论 #26957927 未加载
wyoziabout 4 years ago
Downloadable airport data on OpenFlights tends to be quite dated, missing notably e.g. the Berlin Brandenburg Airport. OurAirports (<a href="https:&#x2F;&#x2F;ourairports.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ourairports.com&#x2F;</a>) has a slightly different format but the data there is significantly more recent.<p>source: started with OpenFlights but had to switch to OurAirports for my project <a href="https:&#x2F;&#x2F;flightnotebook.com" rel="nofollow">https:&#x2F;&#x2F;flightnotebook.com</a>
einpoklumabout 4 years ago
The US Bureau of Transport statistics provides historic flight schedule and actual flight performance data in CSV tables:<p><a href="http:&#x2F;&#x2F;www.transtats.bts.gov&#x2F;DL_SelectFields.asp?Table_ID=236&amp;DB_Short_Name=On-Time" rel="nofollow">http:&#x2F;&#x2F;www.transtats.bts.gov&#x2F;DL_SelectFields.asp?Table_ID=23...</a><p>But it&#x27;s cumbersome to work with.<p>I am working (on and off) on a DBMS benchmark based on this data. As part of that endeavor, I have a script which:<p>* Automates downloading the CSVs.<p>* Creates an appropriate SQL database schema.<p>* Performs a bit of rudimentary cleaning (e.g. invalid character codes; optional)<p>* Loads the CSV files into the database.<p>So that, from the command-line, you could get the flight on-time performance data by merely typing in something like:<p><pre><code> &#x2F;path&#x2F;to&#x2F;usdt-ontime-tools&#x2F;scripts&#x2F;setup-usdt-ontime-db -r -db-name ontime --first-year 2019 --last-year 2020 </code></pre> it&#x27;s available within this repository:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;eyalroz&#x2F;usdt-ontime-tools" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eyalroz&#x2F;usdt-ontime-tools</a><p>the caveat is that, for now, the only DBMS supported directly is MonetDB: <a href="https:&#x2F;&#x2F;www.monetdb.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.monetdb.org&#x2F;</a> , a FOSS analytics-oriented columnar DBMS.<p>An adaptation of the script for other systems (MySQL&#x2F;Maria, PostgreSQL) should be straightforward, since the commands are SQL&#x27;ish after all. If you&#x27;re interested in that, open an issue or write me.
评论 #26961952 未加载
kingsloiabout 4 years ago
For anyone interested, the nice guys at <a href="https:&#x2F;&#x2F;aviation-edge.com" rel="nofollow">https:&#x2F;&#x2F;aviation-edge.com</a> supplied me access to their flight API so I can track how many flights fly directly over my little community in Gary Indiana: <a href="https:&#x2F;&#x2F;millerbeach.community" rel="nofollow">https:&#x2F;&#x2F;millerbeach.community</a><p>I wish I was able to track more frequently than every 15 minutes (free version api max, etc), because some aircraft pass overhead before they&#x27;re picked up, so it&#x27;s not the most accurate, but a rough figure to&#x2F;from O&#x27;Hare, Midway, and Gary
评论 #26959319 未加载
评论 #26960115 未加载
JamilDabout 4 years ago
A few years ago I tried writing a Python wrapper around SABRE&#x27;s API to get pricing, route, and schedule data, which seemed to work reasonably well. It likely doesn&#x27;t work anymore, but it was a fun exercise. <a href="https:&#x2F;&#x2F;github.com&#x2F;Jamil&#x2F;sabre_dev_studio" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Jamil&#x2F;sabre_dev_studio</a><p>I wish I had access to the GDS data to get realtime seat&#x2F;award availability, but I couldn&#x27;t find any pricing information to get that information through Sabre&#x27;s API.<p>Does anyone know how much that costs, or if there are any services which provide it as an API? I use ExpertFlyer for personal use, but ideally I&#x27;d want to get that information at the source…
评论 #26960897 未加载
asix66about 4 years ago
Try the &quot;crowdsourced&quot; ADS-B Exchange site, which shows unfiltered flight data. [0] For more info, check their FAQ.<p>Live data: <a href="https:&#x2F;&#x2F;globe.adsbexchange.com" rel="nofollow">https:&#x2F;&#x2F;globe.adsbexchange.com</a><p>[0] <a href="https:&#x2F;&#x2F;www.adsbexchange.com" rel="nofollow">https:&#x2F;&#x2F;www.adsbexchange.com</a>
评论 #26960145 未加载
leugimabout 4 years ago
The site seems down. Archive.org backup: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210427143048&#x2F;https:&#x2F;&#x2F;openflights.org&#x2F;data.html" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210427143048&#x2F;https:&#x2F;&#x2F;openfligh...</a>
评论 #26956742 未加载
radelaineabout 4 years ago
For those who want to jump in and query this dataset, I uploaded it here: <a href="https:&#x2F;&#x2F;bit.io&#x2F;boyd&#x2F;airports" rel="nofollow">https:&#x2F;&#x2F;bit.io&#x2F;boyd&#x2F;airports</a><p>I&#x27;m still working on bit.io and would love feedback so hit me.
评论 #26961149 未加载
atbpacaabout 4 years ago
Interesting! In addition to the links already shared, I use OpenTravelData, available at <a href="https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;opentraveldata&#x2F;opentraveldata</a>, which consolidates airport information from different sources, but also data on aircrafts, airlines, etc.
jjwisemanabout 4 years ago
If you need airport or airspace data, openaip seems to be decent: <a href="http:&#x2F;&#x2F;www.openaip.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.openaip.net&#x2F;</a><p>For some reason they make you register in order to download the data, and the site is a bit confusing, but the data seems good.
评论 #26960910 未加载
rkwasnyabout 4 years ago
In the past I wanted to build a system that checks flight paths and will tell you what kind of plane noise you can expect in the area where you want to buy a house.<p>Anyone build it yet&#x2F; needs something like this?
ALittleLightabout 4 years ago
Why don&#x27;t airlines provide a good free API for flights and reservations? I would think they would want developers to help make accessing their offerings and buying them easier.
评论 #26963513 未加载
评论 #26963059 未加载
评论 #26965994 未加载
gbrindisiabout 4 years ago
does anyone know any current dataset I could query to check historical routes status?<p>Since the pandemic I&#x27;ve found plenty of airlines selling tickets and systematically cancel the flight a few days before. I was looking to scrape some data to avoid this kind of unreliable flights.
评论 #26958330 未加载
Jemmabout 4 years ago
typing in Toronto does not return anything, neither do many of the smaller airport ICAO I trired.
rumblestrutabout 4 years ago
I wish there was open train data.
评论 #26962477 未加载