RapidAPI logo

Top Air Quality APIs

List of air quality APIs to measure air pollution and health.
Top 50 Most Popular APIs on RapidAPI (2019)RapidAPI blog
Supercharge your AppSupercharge your AppDiscover and connect to thousands of APIs in the world's largest API Hub
Top Air Quality APIs

Best Air Quality APIs for Software Developers

The best weather APIs to measure carbon monoxide, air pollution, and air quality index. Retrieve current, forecasted, and historical data. Use these APIs for monitoring levels of major air pllutants from various data sources. Stay healthy by getting hourly data from multiple open APIs to see which areas are at greater risk for heart and lung disease (especially older adults).

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