Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man air-quality

/air-quality

agentutility / locale / air-quality
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
locale
CATEGORY
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.

INPUTrequest schema
propertytypedescriptionreq?
latitudenumberDecimal degrees, range [-90, 90]. Positive north.required
longitudenumberDecimal degrees, range [-180, 180]. Positive east.required
hourlybooleanIf true, include hourly pollutant/AQI rows. Default false.optional
forecast_hoursnumberHourly forecast horizon when hourly=true. 1-72. Default 24.optional
OUTPUTresponse shape
fieldtypedescription
locationstring
currentstring
unitsstring
sourcestring
EXAMPLEStwo 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
ADJACENTother endpoints in locale
endpointdescriptionprice
climate-dataClimate data API / historical weather data / daily temperature, precipitation, humidity, wind, and solar radiation for latitude/longitude.$0.005
current-weatherCurrent weather lookup / live weather conditions / temperature, humidity, precipitation, wind, and WMO condition code for a latitude/long…$0.005
iata-airport-infoIATA airport code lookup / ICAO airport lookup / airport metadata / airport name resolver / airport coordinates / airport-to-city.$0.005
satellite-tileSatellite imagery tile / lat-lon to satellite PNG / Sentinel-2 tile API / cloud-free satellite snapshot / agent-callable satellite imagery.$0.005
vin-decodeVIN decoder / VIN lookup / decode VIN / vehicle identification number / NHTSA vPIC wrapper.$0.005
visa-requirementsVisa requirements / passport visa lookup / visa-free travel checker / e-visa + visa-on-arrival lookup / passport-index / travel eligibili…$0.005
weatherWeather API / weather forecast / current weather / hourly forecast.$0.005
weather-apiWeather API / current weather API / forecast API.$0.005
SEE ALSO
agentutility · locale · x402 · mcp · llms.txt · registry.json · bazaar.x402.org