$ man air-quality
/air-quality
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
localeCATEGORY
uncategorized
STATUS
● live
NAME
air-quality — air quality api / aqi / us aqi / european aqi / pm2.5 / pm10 / ozone / nitrogen dioxide / sulphur dioxide / carbon monoxide / open-meteo…
SYNOPSIS
POST https://x402.agentutility.ai/air-quality
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Air quality API / AQI / US AQI / European AQI / PM2.5 / PM10 / ozone / nitrogen dioxide / sulphur dioxide / carbon monoxide / Open-Meteo air-quality forecast. Returns current pollutant readings and AQI category for any latitude/longitude, with optional hourly forecast rows for the next 1-72 hours. Public Open-Meteo Air Quality backend, no API key.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| latitude | number | Decimal degrees, range [-90, 90]. Positive north. | required |
| longitude | number | Decimal degrees, range [-180, 180]. Positive east. | required |
| hourly | boolean | If true, include hourly pollutant/AQI rows. Default false. | optional |
| forecast_hours | number | Hourly forecast horizon when hourly=true. 1-72. Default 24. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| location | string | — |
| current | string | — |
| units | string | — |
| source | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/air-quality \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the air-quality tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- localeairqualityair-quality
- methods
- POST
- cluster
- locale
- price
- $0.005 USDC per call
ADJACENT — other endpoints in locale
| endpoint | description | price |
|---|---|---|
| climate-data | Climate data API / historical weather data / daily temperature, precipitation, humidity, wind, and solar radiation for latitude/longitude. | $0.005 |
| current-weather | Current weather lookup / live weather conditions / temperature, humidity, precipitation, wind, and WMO condition code for a latitude/long… | $0.005 |
| iata-airport-info | IATA airport code lookup / ICAO airport lookup / airport metadata / airport name resolver / airport coordinates / airport-to-city. | $0.005 |
| satellite-tile | Satellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery. | $0.005 |
| vin-decode | VIN decoder / VIN lookup / decode VIN / vehicle identification number / NHTSA vPIC wrapper. | $0.005 |
| visa-requirements | Visa requirements / passport visa lookup / visa-free travel checker / e-visa + visa-on-arrival lookup / passport-index / travel eligibili… | $0.005 |
| weather | Weather API / weather forecast / current weather / hourly forecast. | $0.005 |
| weather-api | Weather API / current weather API / forecast API. | $0.005 |
SEE ALSO