Weather Oracle

Global weather data at any coordinates with configurable time windows. WRSI, rainfall, temperature, and wind speed.

Overview

The Weather Oracle provides signed weather data at any global coordinates over configurable time windows. Data includes rainfall accumulation, temperature history, wind speed, and the Water Requirement Satisfaction Index (WRSI) — a composite agricultural metric for crop monitoring and climate risk assessment.

Endpoints

EndpointDescriptionL402x402
/oracle/weather/{lat}/{lon}/wrsi/{window}dWater Requirement Satisfaction Index100 sats$0.10
/oracle/weather/{lat}/{lon}/rainfall/{window}dRainfall accumulation100 sats$0.10
/oracle/weather/{lat}/{lon}/temperature/{window}dTemperature history100 sats$0.10
/oracle/weather/{lat}/{lon}/wind/{window}dWind speed history100 sats$0.10

URL parameters

ParameterTypeDescription
{lat}numberLatitude (-90 to 90)
{lon}numberLongitude (-180 to 180)
{window}integerLookback window in days (e.g., 7, 14, 30)

Example request

curl https://api.myceliasignal.com/oracle/weather/51.50/-0.12/rainfall/7d/preview

Returns 7-day rainfall accumulation for London.

WRSI — Water Requirement Satisfaction Index

The WRSI combines precipitation, evapotranspiration, and soil moisture to assess crop water requirements. Values below 50 indicate significant water stress. Used for agricultural insurance, DeFi crop yield markets, and climate risk assessment.

Use cases

Agricultural insurance agents monitor WRSI and trigger parametric payouts when thresholds are breached. Climate risk agents track temperature and rainfall trends for portfolio allocation. Supply chain agents combine weather with marine voyage forecasts for logistics planning.