{"service":"x402-weather","version":"0.2.0","description":"All-in-one weather bundle for AI agents in ONE sub-cent call: enriched current conditions + 24h hourly & 7-day forecast + air quality (AQI, PM2.5, pollutants) + solar radiation + derived severe-weather alerts. City or lat/lon input, times in the location local timezone by default.","endpoints":[{"path":"/weather/current","method":"GET","free":false,"paid":true,"description":"Complete weather bundle: enriched current + hourly (24h) & daily (7d) forecast + air quality + solar + alerts, in one call. Optional timezone= param.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"output_schema":{"type":"object","properties":{"request_id":{"type":"string"},"generated_at":{"type":"string"},"source":{"type":"string"},"location":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"country":{"type":"string"}}},"current":{"type":"object","properties":{"temp_c":{"type":"number","nullable":true},"feels_like_c":{"type":"number","nullable":true},"humidity_pct":{"type":"number","nullable":true},"wind_kmh":{"type":"number","nullable":true},"condition":{"type":"string"},"condition_code":{"type":"string"},"observed_at":{"type":"string"}}}}},"price_usdc":0.001,"agent_optimized":true,"agent_required_fields":["location","temp_c","condition","humidity_pct","wind_kmh"],"agent_optional_fields":["feels_like_c","observed_at","forecast","air_quality","solar","alerts"]},{"path":"/weather/historical","method":"GET","free":false,"paid":true,"description":"Historical daily archive weather (temp min/max, precipitation, conditions) for a past date range. City or lat/lon. start/end optional (default: last 7 complete UTC days).","input_schema":{"type":"object","properties":{"city":{"type":"string","description":"City name (alternative to lat/lon)","maxLength":100},"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180},"start":{"type":"string","description":"YYYY-MM-DD (optional, default: 7 days ago)"},"end":{"type":"string","description":"YYYY-MM-DD (optional, default: yesterday)"}},"oneOf":[{"required":["city"]},{"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/now","method":"GET","free":false,"paid":true,"description":"Current weather right now, cheap: temperature, feels-like, humidity, wind speed and direction, pressure, cloud cover, precipitation, UV, day/night — plus a live air-quality snapshot (AQI, PM2.5) and today’s high/low. City or lat/lon. The budget \"weather now\" call.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/air-quality","method":"GET","free":false,"paid":true,"description":"Air quality, pollution and environmental data for any city or lat/lon. Returns European and US AQI (air quality index), particulate matter PM2.5 and PM10, ozone (O3), nitrogen dioxide (NO2), sulphur dioxide (SO2), and carbon monoxide (CO). Real-time index for health, allergy, pollution-monitoring and environmental agents.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/marine","method":"GET","free":false,"paid":true,"description":"Marine weather and sea-state forecast for any coastal coordinate. Returns significant wave height, wave direction and period, wind waves, swell (height, direction, period) and ocean current velocity and direction. Oceanographic conditions for shipping, offshore, maritime safety, fishing, surfing and coastal operations.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/flood","method":"GET","free":false,"paid":true,"description":"River discharge and flood-risk forecast (Copernicus GloFAS, 5 km grid) for the nearest river to any lat/lon. Returns current river discharge in cubic meters per second (m3/s) plus mean, median, max, min and 25/75 percentiles. Hydrology and natural-disaster data for flood forecasting, insurance, agriculture and river logistics.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/solar","method":"GET","free":false,"paid":true,"description":"Solar radiation and irradiance forecast for any lat/lon. Returns shortwave (global horizontal) and direct radiation in W/m2 and sunshine duration. For solar energy production forecasting, photovoltaic (PV) yield estimation and renewable-energy planning agents.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/agriculture","method":"GET","free":false,"paid":true,"description":"Soil and agriculture intelligence for grower, agronomist and farming agents at any lat/lon. Returns live soil moisture at four depths, soil temperature at 0/6/18/54 cm, reference evapotranspiration (ET0), vapour pressure deficit and frost risk. For irrigation scheduling, soil-health monitoring and crop management.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true},{"path":"/weather/tides","method":"GET","free":false,"paid":true,"description":"Tide predictions and sea-level forecast for any coastal location: hourly sea-level height (meters) plus derived high and low tide times, next 24 hours by default. From Open-Meteo Marine. For shipping, fishing, surfing, and coastal or port operations that need tide tables.","input_schema":{"type":"object","oneOf":[{"properties":{"city":{"type":"string","maxLength":100}},"required":["city"]},{"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lon":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lon"]}]},"price_usdc":0.001,"agent_optimized":true}],"network":"base","asset":"USDC","bazaar_extension":true,"payment_schemes":["x402 exact (X-PAYMENT, CDP facilitator)","legacy tx-hash (Payment-Proof header)"]}