Parametric triggers, claims validation, and climate risk underwriting all depend on reliable, verifiable weather data. WeatherLens delivers accuracy-scored forecasts and historical actuals with a full audit trail — not just a number from a black-box model.
From parametric products to claims automation, reliable weather data is the foundation of accurate risk modeling.
Insurance and risk applications require more than a forecast. They require provenance, accuracy, and a data layer you can explain to regulators.
/accuracy endpoint breaks down forecast reliability by 1-day, 3-day, and 7-day lead times for any location. Underwriters can set confidence thresholds — only trigger parametric payouts when data quality meets your bar.Pull observed conditions for any claim date and location in seconds.
import httpx, os
API_KEY = os.environ["WEATHERLENS_KEY"]
BASE = "https://weatherlens.dev/api/v1"
# Claim: freeze damage on March 15 at this farm location
claim = { "lat": 35.227, "lon": -101.831, "date": "2025-03-15" }
# Pull observed actuals for that date
historical = httpx.get(
f"{BASE}/historical",
params={"lat": claim["lat"], "lon": claim["lon"], "date": claim["date"]},
headers={"X-API-Key": API_KEY},
).json()
# Pull climate normals to assess anomaly severity
climate = httpx.get(
f"{BASE}/climate",
params={"lat": claim["lat"], "lon": claim["lon"]},
headers={"X-API-Key": API_KEY},
).json()
obs_low = historical["lowF"] # → 18°F
normal_low = climate["avgLowF"] # → 34°F
delta = normal_low - obs_low # → 16°F below normal
print(f"Observed low: {obs_low}°F | Normal: {normal_low}°F | Delta: {delta}°F")
# → Observed low: 18°F | Normal: 34°F | Delta: 16°F below normal
# Confidence: freeze event validated, 16°F anomaly confirmed100 free API calls per day. Historical archive and accuracy scoring available on Pro. No sales call required to get started.