Official US weather forecast for a coordinate (US land +...
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.
Request
- Base URL: https://2s.io
- URL: https://2s.io/api/weather/forecast
- Auth: API key in header PAYMENT-SIGNATURE
Query parameters
Latitude in decimal degrees (WGS84).
Longitude in decimal degrees (WGS84).
Hourly.
Maximum number of results to return.
Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.