Aviation Weather REST API



METAR

Current surface conditions at an airport or other reporting location that updates every hour or earlier

TAF

In-flight 24-hour forecast for an area within 5nm of an airport or other reporting station that updates every six hours


Reliable Sources

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

Data Analysis

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"

Cross-Platform

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

Documentation

API docs are available on Apiary



Open-Source

The AVWX API and core library are open-source on GitHub



About

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.

Is AVWX Free?

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.

Who uses AVWX?

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.

AVWX on Duck Duck Go - Example mobile card
Responsive image
AeroLink - All-in-one flight app for South America
Responsive image

Updates

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

Mailing List

Join the AVWX mailing list to get notified of new features. You won't get more than a few a year

About Me

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.

Contact

Bugs? Comments? Feature Requests? Are you using the API and want your project to be featured? Email me at michael@mdupont.com.