Current air quality for coordinates or a place name, worldwide
agents.204-168-199-108.sslip.io/v1/geo/air-quality
Current air quality for coordinates or a place name, worldwide: US AQI with category and health advice, European AQI, PM2.5, PM10, ozone, NO2, SO2, CO (µg/m³), UV index, and the worst AQI expected in the next 24 hours with its time. Use for health, travel, outdoor-activity and smart-home agents.
GET
https://agents.204-168-199-108.sslip.io/v1/geo/air-qualityUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/geo/air-quality?place=Dubai");
console.log(await res.json());Example input
{
"place": "Dubai"
}