Get the US weather forecast for coordinates (NWS)
weather_us_forecastOfficial National Weather Service forecast for any US coordinate - six 12-hour day/night periods by default, or hourly - each with temperature in C and F, precipitation probability, a wind speed range in km/h, wind direction and a short forecast, plus the NWS issue time so an agent can judge its age. Use when: What is the weather forecast for these US coordinates? Not for: You need the latest observed conditions and their age - use weather.us.observation. Related: weather_us_observation; weather_us_alerts. Price: USD 0.003/call (x402), 0.002 (account key).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees (WGS84). Rounded to 4 decimal places before the National Weather Service lookup. | |
| lon | Yes | Longitude in decimal degrees (WGS84). Rounded to 4 decimal places before the National Weather Service lookup. | |
| hours | No | Number of hourly periods to return, soonest first. Applies when hourly is true; use period_limit for day/night forecasts. | |
| detail | No | compact (default) returns the fields an agent acts on. full adds the NWS narrative (detailed_forecast), the icon URL, the trend note and, for hourly periods, dewpoint_c and humidity_pct. | compact |
| hourly | No | Return hourly periods instead of the default 12-hour day/night periods. Hourly periods have no name and, at detail=full, carry dewpoint and humidity. | |
| period_limit | No | Maximum number of 12-hour day/night periods to return, soonest first. Applies when hourly is false; use hours for hourly forecasts. NWS issues 14 periods (7 days); the default of 6 is three days. Named period_limit, not periods, because periods is the returned series. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Capability output; full JSON Schema at https://api.eckari.com/v1/capabilities/weather.us.forecast | |
| meta | Yes |