WeatherAPI · Schema

AirQuality

Air quality data. Returned when aqi=yes.

WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

Properties

Name Type Description
co number Carbon monoxide µg/m³
o3 number Ozone µg/m³
no2 number Nitrogen dioxide µg/m³
so2 number Sulphur dioxide µg/m³
pm2_5 number PM2.5 µg/m³
pm10 number PM10 µg/m³
us-epa-index integer US EPA index 1–6 (1=Good, 6=Hazardous)
gb-defra-index integer UK DEFRA index 1–10
View JSON Schema on GitHub

JSON Schema

weatherapi-air-quality-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weatherapi/refs/heads/main/json-schema/weatherapi-air-quality-schema.json",
  "title": "AirQuality",
  "description": "Air quality data. Returned when aqi=yes.",
  "type": "object",
  "properties": {
    "co": {
      "type": "number",
      "description": "Carbon monoxide µg/m³",
      "example": 1.0
    },
    "o3": {
      "type": "number",
      "description": "Ozone µg/m³",
      "example": 1.0
    },
    "no2": {
      "type": "number",
      "description": "Nitrogen dioxide µg/m³",
      "example": 1.0
    },
    "so2": {
      "type": "number",
      "description": "Sulphur dioxide µg/m³",
      "example": 1.0
    },
    "pm2_5": {
      "type": "number",
      "description": "PM2.5 µg/m³",
      "example": 1.0
    },
    "pm10": {
      "type": "number",
      "description": "PM10 µg/m³",
      "example": 1.0
    },
    "us-epa-index": {
      "type": "integer",
      "description": "US EPA index 1–6 (1=Good, 6=Hazardous)",
      "example": 1
    },
    "gb-defra-index": {
      "type": "integer",
      "description": "UK DEFRA index 1–10",
      "example": 1
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/weatherapi-air-quality"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.