Show HN: PreflightAPI – US airports, weather, NOTAMs and more via one API(preflightapi.io)
preflightapi.io
Show HN: PreflightAPI – US airports, weather, NOTAMs and more via one API
https://preflightapi.io/
4 comments
This is outstanding. I'm a Captain at a major airline and am experimenting with AI coding tools to make a beta version of an aviation app that I'd like to see come alive. I've been doing a lot of researching today...I am curious if official d-ATIS via SWIMS would be a feasible addition?
D-ATIS information and SWIM is actually something I'm currently working on. D-ATIS will be my first "official" data set from SWIM. Let me know what else you'd like to see from it.
Cool product potentially but the landing page jumps all around when the animations at the top are scrolling through the different examples.
Yeah I actually noticed that myself. I've gone ahead and fixed it I believe.
Before I could build any of that, I had to build an entire data infrastructure first.
FAA airport data comes as fixed-width text files from the NASR subscription, updated on a 28-day cycle. Obstacles are a separate 56-day file with daily patches. NOTAMs require a formal application to the FAA's NMS system — staging approval, then production approval, OAuth2 token management. Weather data from aviationweather.gov comes as bulk XML cache files they'd prefer you download rather than polling their API. Airspace boundaries live behind ArcGIS REST endpoints you have to paginate through with a 10-minute timeout.
I did eventually build the flight planning app — it's fully functional. But it caused problems with a previous employer who considered it competitive, and I lost my job over it. To avoid further legal headaches, I shelved the app and pivoted to the infrastructure underneath it.
That became PreflightAPI.
What you get with one API key: