data.us-weather-forecast
Get a global weather forecast for a city/locality name or exact coordinates. Returns normalized day/night or hourly periods worldwide: NOAA/NWS is preferred within supported U.S. coverage for optional station conditions and active alerts, while MET Norway provides an attributed open-data fallback globally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | No | City or locality name, optionally followed by country and first-level region qualifiers, for example London, GB or Paris, Texas, US. Provide either place or both latitude and longitude. | |
| units | No | US customary or SI units requested from the NWS API | us |
| periods | No | Maximum periods to return; day_night supports at most 14 and hourly at most 48 | |
| latitude | No | Latitude in decimal degrees, rounded to four decimal places. Provide with longitude instead of place. | |
| timezone | No | Optional IANA time zone used to group MET Norway day/night periods. Place-name requests use the matched GeoNames zone; coordinate requests default to UTC; NWS returns its authoritative point time zone. | |
| longitude | No | Longitude in decimal degrees, rounded to four decimal places. Provide with latitude instead of place. | |
| forecast_type | No | Day/night forecast periods or hourly forecast periods | day_night |
| source_preference | No | Prefer NWS within its U.S. coverage and fall back to MET Norway globally, or explicitly select one source | auto |
| include_active_alerts | No | Include up to 10 currently active NWS alerts whose affected area contains the requested point | |
| include_current_conditions | No | Include the latest observation from the nearest available NWS station; kept opt-in to preserve baseline latency |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured Global weather forecast result | |
| meta | Yes | ||
| service | Yes | ||
| version | Yes | ||
| request_id | Yes | Unique request identifier |