Breezometer

FREE
By zakutynsky
Updated 5 months ago
Science
2.1/10
Popularity Score
235ms
Latency
100%
Success Rate

Breezometer API Documentation

Connect to the Breezometer Air Quality API to get global, local, real-time data on air quality. Test an API call and export the code snippet into your app.

View API Details
POSTgetAirQuality
POSTgetAirQualityForecast
POSTgetAirQualityHistoryForDateRange
POSTgetSpecificDateAirQuality
POSTgetAirQuality

You can get air quality data by Latitude and Longitude (Geocoding)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDYour BreezoMeter API key.
coordinatesMAP
REQUIREDGeographic coordinate. Latitude and longitude. Example: 51.491751537714705,-0.02414792776107788
Optional Parameters
fieldsSTRING
OPTIONALSet of fields separated by commas
langSELECT
OPTIONALResponse language. Support English(“en”) and Hebrew(“he”).
Code Snippet
unirest.post("https://BreezometerzakutynskyV1.p.rapidapi.com/getAirQuality")
.header("X-RapidAPI-Host", "BreezometerzakutynskyV1.p.rapidapi.com")
.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);
});
Sample Response
General
Request URL: https://BreezometerzakutynskyV1.p.rapidapi.com/getAirQuality
Request Method: POST
Response Headers
Response Body

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.post("https://BreezometerzakutynskyV1.p.rapidapi.com/getAirQuality")
.header("X-RapidAPI-Host", "BreezometerzakutynskyV1.p.rapidapi.com")
.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