Production-ready weather data endpoints built on Open-Meteo and wrapped in x402 payment flows for both testnet and mainnet.
Click any endpoint to see details, example requests, and try it live with your Freighter wallet.
Current weather conditions for a latitude and longitude.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/weather/current?latitude=51.5072&longitude=-0.1276&timezone=auto"
Current weather conditions for a latitude and longitude.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/testnet/weather/current?latitude=51.5072&longitude=-0.1276&timezone=auto"
Forecast weather data with optional daily and hourly field selection.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/weather/forecast?latitude=51.5072&longitude=-0.1276&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&forecast_days=5&timezone=auto"
Forecast weather data with optional daily and hourly field selection.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/testnet/weather/forecast?latitude=51.5072&longitude=-0.1276&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&forecast_days=5&timezone=auto"
Historical archive weather data across a date range.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/weather/archive?latitude=40.7128&longitude=-74.0060&start_date=2026-03-01&end_date=2026-03-07&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&timezone=auto"
Historical archive weather data across a date range.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/testnet/weather/archive?latitude=40.7128&longitude=-74.0060&start_date=2026-03-01&end_date=2026-03-07&daily=temperature_2m_max,temperature_2m_min,precipitation_sum&timezone=auto"
Compact summary view over an archive range with hottest, coldest, and precipitation totals.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/weather/history-summary?latitude=40.7128&longitude=-74.0060&start_date=2026-03-01&end_date=2026-03-07&timezone=auto"
Compact summary view over an archive range with hottest, coldest, and precipitation totals.
Edit this JSON before trying the endpoint. The paid retry uses the exact same payload.
curl "https://xlm402.com/testnet/weather/history-summary?latitude=40.7128&longitude=-74.0060&start_date=2026-03-01&end_date=2026-03-07&timezone=auto"