Loading capabilities…
Loading capability…
Fetch the air quality index and pollutant concentrations for a latitude and longitude.
Both commands call the selected provider directly.
curl '/routes/locus-openweather/weather/air-quality?lat=37.5665&lon=126.978'
h402 call 'weather/air-quality' --provider 'locus-openweather' --method GET --query '{"lat":37.5665,"lon":126.978}'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–90Latitude in decimal degrees.
lonnumberrequired-180–180Longitude in decimal degrees.
{
"lat": 37.5665,
"lon": 126.978
}{ "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" } }
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.