x402AgentsToolsHub

Air Quality (Live)

Live air quality by city or coordinates from Open-Meteo's CAMS models: US AQI and European AQI with PM2.5, PM10, ozone, NO2, SO2 and CO concentrations. No API key, cached 30 minutes — the air-quality check agents should run instead of recalling stale numbers.

Worked examples

Delhi

GET /api/v1/live/air-quality?city=Delhi

Result: US AQI 178 — Unhealthy

Los Angeles

GET /api/v1/live/air-quality?city=Los%20Angeles

Result: US AQI 50 — Good

By coordinates (Beijing)

GET /api/v1/live/air-quality?lat=39.9&lon=116.41

Result: US AQI 151 — Unhealthy

Machine API (x402)

$0.005 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/live/air-quality?city=Delhi HTTP/1.1
Host: agentstoolshub.com

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "live/air-quality",
  "input": {"city":"Delhi"},
  "result": { "value": 178, "answer": "US AQI 178 — Unhealthy" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

Current air quality from the Copernicus Atmosphere Monitoring Service via Open-Meteo — US AQI, European AQI and six pollutant concentrations, by city name or exact coordinates. Model output updates hourly; responses are cached 30 minutes. Keyless and free, like every live tool here.

Frequently asked questions

US AQI or European AQI?

Both come back in one call. The US EPA index is built on 24h PM2.5/PM10 averages and tops out at 500; the European EAQI is a 0–100+ scale over shorter averages — quote the one your audience expects.

How current is the data?

CAMS model output is published hourly; the API adds station-blended corrections. Values are the best available estimate for the exact coordinates, cached 30 minutes.

Related tools