2s
GET https://2s.io/api/weather/forecast
Official US weather forecast for a coordinate (US land + territories). Pass lat + lon. Returns the National Weather Service forecast as a list of periods — by default ~7 days of day/night periods; pass hourly=true for an hour-by-hour forecast. Each period gives the temperature + unit, wind speed/direction, chance of precipitation, and a short + detailed forecast, plus the resolved city/state and issuing office. Source: US National Weather Service (api.weather.gov), public domain. For active warnings use weather.alerts.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://2s.io/api/weather/forecast"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 08:30 | Valid 402 | 402 | 270 ms | $0.0036 |
| 2026-10-11 04:00 | Valid 402 | 402 | 387 ms | $0.0036 |
| 2026-10-10 23:45 | Valid 402 | 402 | 537 ms | $0.0036 |
| 2026-10-10 18:30 | Valid 402 | 402 | 250 ms | $0.0036 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves