API Ninjas


Air Quality API

API Ninjas air quality API for getting the latest air quality information for any city or geographic location in the world
The API Ninjas air quality API provides data for the purpose of getting the latest air quality information for any city or geographic location in the world. Developers who use the air pollution API, use it for a wide variety of use cases, some of which are; website plugins, applications, environment and climate change related platforms, weather and climate change analytics and more. The possibilities are boundless of course and it is sure that other use cases come to mind, so try the data for your business case and it should be exciting to hear what becomes of it. Some examples of the type of business who uses the data are environment-related websites, weather platforms, climate change organizations and more, usually the clients can be small business, medium business and enterprises within the environment and weather industry. This database covers global data. When filtering this system based on the lat, lon, city, state and country you can get the response that you need for your system.

Air Quality API endpoints

GET /v1/airquality
Communicate to the air quality API endpoint; /v1/airquality by sending a GET request for data to the endpoint using the the applicable parameters and obtain a similar response like in the example output. The endpoint is for getting the latest air quality information for any city or geographic location in the world. In order to obtain the output desired, use the parameters and objects as explained by the parameter table. Place the API endpoint in the URL to make the request. The API documentation applies to all main programming languages, simply add your API key parameter to the API endpoint URL and set it to your private key to begin receiving the requested data.

API filter methods

Below you may find the available filter parameters for the air quality data.

Data attributes for air quality API

Make use of the object table to clarify the objects with their associated description and make a call by using the different parameters available.
Objects Description
overall_aqi Overall air quality index
CO Carbon monoxide values (concentration and aqi)
PM10 PM10 particulates values (concentration and aqi)
SO2 Sulphur dioxide values (concentration and aqi)
PM2.5 PM2.5 particulates values (concentration and aqi)
O3 Ozone values (concentration and aqi)
NO2 Nitrogen dioxide values (concentration and aqi)

Output response of air quality API

In the code box clients can see the response example. Sign-up for the complete output response because this being limited to be able to make it more readable.
  "overall_aqi": 55,
  "CO": {
    "concentration": 223.64,
    "aqi": 2
  "PM10": {
    "concentration": 3.62,
    "aqi": 3
  "SO2": {
    "concentration": 5.13,
    "aqi": 7
  "PM2.5": {
    "concentration": 1.82,
    "aqi": 5
  "O3": {
    "concentration": 60.8,
    "aqi": 55
  "NO2": {
    "concentration": 9.68,
    "aqi": 12


This is a JSON system and in the event that people need SDKs, these are accessible for phyton, r, c++, net, java, javascript, typescript, node. Js, matlab and any other leading languages. Simply ask for it and they should be sent by email. Kickoff by using the filter attributes and use the output with the software development kits to build the platform.

Air Quality API pricing

Trials and samples are available upon request, simply make contact and request it. Customers should be able to use the air quality index data and find out if this is exactly that what customers are searching for. After trying it, people can decide if they are ready to work with the paid version.

Cost and price of API

The API developed by API Ninjas is available monthly from $9 with 3D secure payment and instant authorization.
Option Price
Monthly subscription From $9/month
Variable pricing no

Free Trial

Free trial is available

Alternative options


Weather API
The weather API is the ideal data tool to precisely get Weather data to your product. Weather API provides detailed building applications, website plugins, etc. for weather services, environment and climate analysis and more data for advancing apps, websites, tools, programs, market analysis and more.


Climate Scenarios API
Contact the Climate Scenarios API provider to start getting comprehensive data for describing the Representative Concentration Pathways (RCPs) defined by the fifth IPCC Assessment Report and similar objectives conveniently. Climate data via climate scenarios API offers necessary information to make sure you can develop on point apps, websites, and more.


Climate API
Climate API serves Climate data to advance interactting with annual sets of raw projected temperature and precipitation data for any one location and scenario purposes to power up companies globally. Climate API by Azavea offers extensive and necessary elements needed for building geospatial tech solutions, climate analysis, and more fields.


Air Quality API
Air Quality API by BreezoMeter is here to offer quality and necessary elements required to have in building applications, website plugins for weather services, air quality forecasting, air quality analysis, environment or climate change analysis and more related projects. Air Quality API presents Air Quality Index databases to advance returning current air-quality conditions for a specific location goals to advance companies worldwide.


Hourly Air Quality API
The hourly air quality API is the top data tool to directly get Air Quality Index data to your product. Hourly Air Quality API offers external data solutions to develop products for returning hourly air-quality forecasts for the specified location objectives.


Pollen API
The pollen API is the ideal tool to directly fetch Pollen data to your project. Pollen API proposes detailed building applications, website plugins for weather and air quality services, air quality and health conditions forecasting, environment or climate analysis and more data for building apps, websites, tools, programs, market analysis and much more.

Sign up for API Ninjas air quality API

Get Data Access

~[ ∵ ]~

Sign-up Succesful

Wait for the Data