RapidAPI logo

Aviation Weather

FREEMIUM
By openaviationdata
Updated 4 months ago
Other
-/10
Popularity Score
-
Latency
-
Success Rate

Aviation Weather API Documentation

Current and forecasted weather information worldwide.

View API Details
METAR
GETStation
GETRectangle
GETRadius
GETFlight Path
TAF
GETTAF - Station
GETStation

Get the latest METAR for a single station

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
stationSTRING
REQUIRED
Code Snippet
unirest.get("https://weather-oad.p.rapidapi.com/metar/{station}")
.header("X-RapidAPI-Host", "weather-oad.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://weather-oad.p.rapidapi.com/metar/{station}
Request Method: GET
Response Headers
Response Body
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://weather-oad.p.rapidapi.com/metar/{station}")
.header("X-RapidAPI-Host", "weather-oad.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication