Skip to content

NWS API: Get hourly forecast

Looks up a US city, street address or ZIP code and returns up to 156 hourly National Weather Service forecasts for it.

weather.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by NWS.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Hours optionalhours

Number of hourly forecasts, e.g. 48.

48

Whole number from 1 to 156. Default 48.

Units optionalunits

Temperature scale, e.g. fahrenheit.

fahrenheit

One of fahrenheit, celsius. Default fahrenheit.

Location, requiredlocation

US city and state, street address, or ZIP code, e.g. Miami, FL.

Miami, FL

2 characters or more.

Output

From a run on Oct 23, 2026, shortened for this page.
{  "hours": [    {      "dew_point": 68,      "page_link": "https://forecast.weather.gov/MapClick.php?lat=25.77427&lon=-80.19366&FcstType=digital",      "start_time": "2026-10-23T03:00:00-04:00",      "wind_speed": "13 mph",      "temperature": 75,      "dew_point_unit": "fahrenheit",      "short_forecast": "Partly Cloudy",      "wind_direction": "N",      "temperature_unit": "fahrenheit",      "relative_humidity_percent": 79,      "chance_of_precipitation_percent": 10    },    {      "dew_point": 67,      "page_link": "https://forecast.weather.gov/MapClick.php?lat=25.77427&lon=-80.19366&FcstType=digital",      "start_time": "2026-10-23T04:00:00-04:00",      "wind_speed": "13 mph",      "temperature": 75,      "dew_point_unit": "fahrenheit",      "short_forecast": "Partly Cloudy",      "wind_direction": "N",      "temperature_unit": "fahrenheit",      "relative_humidity_percent": 76,      "chance_of_precipitation_percent": 7    },    {      "dew_point": 67,      "page_link": "https://forecast.weather.gov/MapClick.php?lat=25.77427&lon=-80.19366&FcstType=digital",      "start_time": "2026-10-23T05:00:00-04:00",      "wind_speed": "14 mph",      "temperature": 74,      "dew_point_unit": "fahrenheit",      "short_forecast": "Partly Cloudy",      "wind_direction": "N",      "temperature_unit": "fahrenheit",      "relative_humidity_percent": 79,      "chance_of_precipitation_percent": 9    }  ],  "grid_x": 110,  "grid_y": 51,  "latitude": 25.77427,  "longitude": -80.19366,  "updated_at": "2026-10-23T07:51:45+00:00",  "matched_place": "Miami, Florida, United States",  "forecast_office": "MFL"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
weather.gov/get_hourly_forecast
Returns
matched place, coordinates, forecast office, hourly temperature, precipitation, humidity, dew point, wind and conditions

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method weather.gov/get_hourly_forecast with the inputs above.

Ask your agent

  • What's the hour-by-hour forecast for Austin, TX over the next 3 days in Fahrenheit?
  • I need hourly temperature, wind and rain chances for 90210 for the next 60 hours.
  • Give me the next 24 hours of weather conditions in Celsius for 1600 Pennsylvania Ave NW, Washington DC.
  • Can you pull up an hourly forecast on weather.gov for Portland, OR covering the next 12 hours?
  • Show me humidity, dew point and hourly conditions for Denver, CO for the next 156 hours.
  • Looks up the National Weather Service seven-day day and night forecast for a U.S. city, address, or ZIP code. Forecast availability depends on NWS land-grid coverage.

    weather.gov/get_forecast
  • Gets the latest observed weather from a nearby National Weather Service station for a US city, address, or ZIP code. Measurements the station does not report are null.

    weather.gov/get_current_conditions
  • Lists active US weather watches, warnings and advisories for a city, address, ZIP code or state, most severe first, then newest.

    weather.gov/list_weather_alerts
  • Gets the next 1 to 48 hourly forecasts for a city, address, ZIP code or postcode from The Weather Channel, with times local to the matched place.

    weather.com/get_hourly_forecast
  • Gets The Weather Channel's daily forecast for a city, address, ZIP code or postcode: up to 15 upcoming days with highs, lows, conditions, rain chance, wind, humidity, UV and sun times.

    weather.com/get_daily_forecast
  • Gets up to 10 days of MSN Weather forecasts for a city, address, or ZIP code, with optional hourly forecasts for the next 24 hours.

    msn.com/get_forecast
  • Gets current conditions and today's high and low from The Weather Channel for a city, postcode, ZIP code or street address worldwide. Street addresses are geocoded exactly first; some observations omit gusts or other measurements.

    weather.com/get_current_weather
  • Gets current conditions and RealFeel for a city or postal code on AccuWeather. The UV level follows standard UV-index ranges. Air quality is null unless it is shown with the current conditions.

    accuweather.com/get_current_weather