Catalog
WeatherGETlive

Air quality

Fetch the air quality index and pollutant concentrations for a latitude and longitude.

$0.006
per call
Success
100%
p50 latency
1.72s
p95 latency
1.72s
Calls (30d)
1

Provider contract

Call path
/routes/locus-openweather/weather/air-quality
Method
GET
Selected provider
locus-openweatherdefault
Provider price
$0.006
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl '/routes/locus-openweather/weather/air-quality?lat=37.5665&lon=126.978'
CLI
h402 call 'weather/air-quality' --provider 'locus-openweather' --method GET --query '{"lat":37.5665,"lon":126.978}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

latnumberrequired-90–90

Latitude in decimal degrees.

lonnumberrequired-180–180

Longitude in decimal degrees.

GET/routes/locus-openweather/weather/air-quality
Request query
{
  "lat": 37.5665,
  "lon": 126.978
}

ResponseExample response
{
  "data": {
    "success": true,
    "data": {
      "coord": {
        "lon": 126.9784,
        "lat": 37.566
      },
      "list": [
        {
          "main": {
            "aqi": 2
          },
          "components": {
            "co": 139.95,
            "no": 0,
            "no2": 3.56,
            "o3": 62.42,
            "so2": 0.64,
            "pm2_5": 13.69,
            "pm10": 19.91,
            "nh3": 0.31
          },
          "dt": 1784733208
        }
      ]
    }
  },
  "h402": {
    "routeId": "weather/air-quality",
    "provider": "locus-openweather",
    "selectedCandidateId": "weather/air-quality/locus-openweather",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

locus-openweather
mpp
100
Success
100%
p50
1.72s
Calls
1
100%
$0.006$0.0060/call
Last successful call: 27d ago· Aggregated by h402 — not the source provider