RapidAPI logo

Top Weather APIs

List of the Best Weather APIs to provide historical and trending weather forecasts.
Top 5 Best Free Weather APIs to Access Global Weather Data (Updated for 2019)RapidAPI blog
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
Top Weather APIs

Use these Weather APIs to integrate weather data into your app or site. Get up to date weather information from APIs like Yahoo, AccuWeather, Weatherbit, Weatherbug, Darksky and many more.

Learn how to make a Weather App in Python with the OpenWeatherMap API.

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.("https://")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication