Current surface conditions at an airport or other reporting location that updates every hour or earlier
In-flight 24-hour forecast for an area within 5nm of an airport or other reporting station that updates every six hours
Reports are pulled from aviationweather.gov, the offical source for aviation weather for pilots in the US, but support exists for additional sources on a regional basis. Coordinate-to-station is pulled from geonames.org, one of the most widely used sources of geography data
Every elemnt is iden
Not only is the report organized but every element is error-corrected and analyzed to provide additional information like "Flight-Rules"
Parsed reports are returned in JSON, XML, or YAML format, which can be imported into any language on any platform. Great for battery-conscientious mobile applications
The AVWX REST API is a publically-available REST API for aviation weather. The service organizes METAR and TAF reports into their individual elements and returns them in JSON, XML, or YAML format. It does a considderable amount of error correction so that your report is as clean and thorough as possible. It has additional services like providing station information, translating the report into English, and creating summary strings meant to be read or spoken. For more details, check out the documentation.
AVWX's core parsing services are now and will always be free. However, while the library is freely available, hosting this API costs money (about $200/month at its current usage). Donations are always welcome. If AVWX is powering your paid or commercial application, please consider making a recurring monthly donation.
The parser itself has been field-tested and in use since September 2014. It was originally made for a Raspberry Pi IoT project, but was eventually made available as a public API. I've been contacted by flight schools, research institutions, and many mobile and desktop application developers. Here are a few of my favorite projects using AVWX.
Minor improvements are always on-going. Any major improvements or new features will be listed here
2015-06-19: Added translation and station info options. Reports now include units of measurement
2016-08-05: Added SSL cert to enable https connections
2016-09-14: New API and major backend overhaul. Introducing a more sensible API with clearer endpoints. Don't worry; the old endpoints will still work. The core library is the same, but I've redesigned the architecture to be faster and more scalable. Small note: default format has been switched from XML to JSON
2016-10-01: Added parse endpoint so users can run their own reports through the AVWX Engine
2016-11-21: Added YAML to the list of supported formats
2017-04-19: Added speech option (METAR only). New beta endpoints for api.ai (Google Home) and Amazon Alexa services
2017-05-14: Reimplemented with the redesigned core library now available on PyPI
2017-11-14: Report options no longer stack making for a cleaner API. New backend caching system
2017-12-17: Added onfail param. Added Meta info in response
2017-12-23: Added translations for common remarks elements
Join the AVWX mailing list to get notified of new features. You won't get more than a few a year
Hi, I'm Michael. I'm a pilot, machine learning engineer, and tech meetup organizer based in Orlando, FL. You can find more of my projects at mdupont.com.
Bugs? Comments? Feature Requests? Are you using the API and want your project to be featured? Email me at firstname.lastname@example.org.