Skip to content

NWS API: Get National Weather Service forecast

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 (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.

Units optionalunits

Temperature units, such as fahrenheit or celsius.

fahrenheit

One of fahrenheit, celsius. Default fahrenheit.

Location, requiredlocation

U.S. city, street address, or ZIP code, such as Denver, CO or 10001.

Denver, CO

Output

From a run on Oct 23, 2026, shortened for this page.
{  "periods": [    {      "name": "Overnight",      "wind": "10 mph S",      "end_time": "2026-10-23T06:00:00-06:00",      "page_link": "https://forecast.weather.gov/MapClick.php?lat=39.738453&lon=-104.984853",      "start_time": "2026-10-23T01:00:00-06:00",      "temperature": 55,      "short_forecast": "Chance Rain Showers",      "temperature_unit": "F",      "detailed_forecast": "A chance of rain showers before 3am. Cloudy. Low around 55, with temperatures rising to around 58 overnight. South wind around 10 mph, with gusts as high as 16 mph. Chance of precipitation is 30%.",      "chance_of_precipitation_percent": 26    },    {      "name": "Friday",      "wind": "9 to 16 mph SSW",      "end_time": "2026-10-23T18:00:00-06:00",      "page_link": "https://forecast.weather.gov/MapClick.php?lat=39.738453&lon=-104.984853",      "start_time": "2026-10-23T06:00:00-06:00",      "temperature": 78,      "short_forecast": "Mostly Sunny",      "temperature_unit": "F",      "detailed_forecast": "Mostly sunny. High near 78, with temperatures falling to around 76 in the afternoon. South southwest wind 9 to 16 mph, with gusts as high as 25 mph.",      "chance_of_precipitation_percent": 4    },    {      "name": "Friday Night",      "wind": "3 to 12 mph WSW",      "end_time": "2026-10-24T06:00:00-06:00",      "page_link": "https://forecast.weather.gov/MapClick.php?lat=39.738453&lon=-104.984853",      "start_time": "2026-10-23T18:00:00-06:00",      "temperature": 48,      "short_forecast": "Partly Cloudy",      "temperature_unit": "F",      "detailed_forecast": "Partly cloudy. Low around 48, with temperatures rising to around 51 overnight. West southwest wind 3 to 12 mph, with gusts as high as 18 mph.",      "chance_of_precipitation_percent": 0    }  ],  "latitude": 39.738453,  "longitude": -104.984853,  "update_time": "2026-10-23T06:46:33+00:00",  "matched_place": "Denver, CO, USA",  "forecast_office": "Denver/Boulder, CO",  "forecast_grid_position": "BOU/63,61"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
weather.gov/get_forecast
Returns
matched place, forecast office, update time, grid position, coordinates, and day and night forecast periods

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_forecast with the inputs above.

Ask your agent

  • What's the seven-day forecast for Denver, CO with day and night periods in fahrenheit?
  • Can you pull up the NWS weekly forecast for ZIP code 10001 in celsius?
  • I need the 7-day weather outlook for 1600 Pennsylvania Ave NW, Washington DC, including overnight lows.
  • Check weather.gov for the coming week's forecast in Austin, Texas, please.
  • Get me the National Weather Service day and night forecast for Portland, OR 97205 using celsius units.
  • Looks up a US city, street address or ZIP code and returns up to 156 hourly National Weather Service forecasts for it.

    weather.gov/get_hourly_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 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
  • Gets current MSN Weather conditions for a city, address or ZIP code. The place is found through OpenStreetMap Nominatim. Matches for broad searches are approximate.

    msn.com/get_current_weather