Skip to content

Weather Underground API: Get historical weather

Gets daily weather and time-ordered airport observations for a past date near a city, airport, or ZIP code. Summary averages use the available observations; missing measurements are null.

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

Unofficial. Not affiliated with or endorsed by Weather Underground.

Inputs

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

Date, requireddate

Past date in YYYY-MM-DD format, for example 2024-07-04.

2024-07-04

Units optionalunits

Measurement system, for example imperial.

imperial

One of imperial, metric. Default imperial.

Location, requiredlocation

City, airport, or ZIP code, for example Boston or 02108.

Boston

Output

From a run on Oct 23, 2026, shortened for this page.
{  "date": "2024-07-04",  "units": {    "pressure": "inHg",    "wind_speed": "mph",    "temperature": "°F",    "precipitation": "in"  },  "page_url": "https://www.wunderground.com/history/daily/us/ma/boston/KBOS/date/2024-07-04",  "observations": [    {      "pressure": 30.03,      "dew_point": 53,      "wind_gust": null,      "conditions": "Fair",      "local_time": "2024-07-04T00:54:00-04:00",      "wind_speed": 12,      "temperature": 67,      "precipitation": 0,      "wind_direction": "SW",      "humidity_percent": 61    },    {      "pressure": 30.02,      "dew_point": 54,      "wind_gust": null,      "conditions": "Fair",      "local_time": "2024-07-04T01:54:00-04:00",      "wind_speed": 8,      "temperature": 67,      "precipitation": 0,      "wind_direction": "SSW",      "humidity_percent": 63    },    {      "pressure": 30.01,      "dew_point": 55,      "wind_gust": null,      "conditions": "Fair",      "local_time": "2024-07-04T02:54:00-04:00",      "wind_speed": 9,      "temperature": 66,      "precipitation": 0,      "wind_direction": "SSW",      "humidity_percent": 68    }  ],  "station_code": "KBOS",  "station_name": "Logan Intl Airport",  "daily_summary": {    "low_temperature": 65,    "average_pressure": 29.91,    "high_temperature": 85,    "maximum_wind_speed": 16,    "average_temperature": 74.08,    "total_precipitation": 0,    "average_humidity_percent": 71.71  }}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
wunderground.com/get_historical_weather
Returns
station, page URL, units, daily summary, hourly observations

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 wunderground.com/get_historical_weather with the inputs above.

Ask your agent

  • What was the weather like in Chicago on 2023-12-25? I need the daily highs, lows, and hourly readings.
  • Pull historical observations for Denver International Airport on 2024-02-14 in metric units.
  • Can you get the past daily weather summary and hourly temperature and wind for ZIP code 94103 on 2022-08-09?
  • On wunderground, show me the hourly conditions at Miami on 2021-11-03 with imperial units.
  • I need a record of what the weather was near Seattle-Tacoma airport on 2025-01-18, including precipitation and humidity by hour.

See more

  • 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
  • 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 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
  • 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 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 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
  • 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