Discover/wunderground.com API
live

wunderground.com APIwunderground.com

Access real-time PWS conditions, 7-day forecasts, and historical airport observations from Weather Underground via 6 structured JSON endpoints.

Endpoints
6
Updated
3mo ago
Try it
Unit system: 'm' for metric, 'e' for english/imperial.
PWS Station ID (e.g. KCASANFR5).
api.parse.bot/scraper/4645f09c-8fa2-4177-b560-e0c577209ea0/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4645f09c-8fa2-4177-b560-e0c577209ea0/get_current_weather?station_id=KCASANFR5' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Extract current weather conditions including temperature, humidity, wind speed/direction, solar radiation, and pressure for a specified PWS station. Returns the most recent observation.

Input
ParamTypeDescription
unitsstringUnit system: 'm' for metric, 'e' for english/imperial.
station_idrequiredstringPWS Station ID (e.g. KCASANFR5).
Response
{
  "type": "object",
  "fields": {
    "uv": "number or null, UV index",
    "lat": "number, station latitude",
    "lon": "number, station longitude",
    "temp": "number, temperature in selected units",
    "time": "string, local observation time",
    "humidity": "integer, relative humidity percentage",
    "pressure": "number, barometric pressure",
    "wind_dir": "string, cardinal wind direction (e.g. NW, SSE)",
    "station_id": "string, the PWS station identifier",
    "wind_speed": "number, wind speed in selected units",
    "precip_rate": "number, precipitation rate",
    "precip_total": "number, total precipitation",
    "solar_radiation": "number or null, solar radiation in W/m²"
  },
  "sample": {
    "data": {
      "uv": 1.3,
      "lat": 51.514,
      "lon": 0.037,
      "temp": 15,
      "time": "2026-05-15 14:00:00",
      "humidity": 49,
      "pressure": 1006.77,
      "wind_dir": "NW",
      "station_id": "ILONDO288",
      "wind_speed": 3,
      "precip_rate": 0,
      "precip_total": 0,
      "solar_radiation": 250
    },
    "status": "success"
  }
}

About the wunderground.com API

The Weather Underground API exposes 6 endpoints covering real-time Personal Weather Station (PWS) observations, coordinate-based forecasts, and hourly historical records from airport stations worldwide. The get_current_weather endpoint returns live temperature, humidity, wind speed, UV index, and barometric pressure for any PWS station ID. The get_forecast endpoint delivers 7-day daily and 2-day hourly forecasts keyed by latitude and longitude, while separate endpoints cover deep historical and monthly airport data.

Current Conditions and PWS Data

get_current_weather accepts a station_id (e.g. KCASANFR5) and an optional units parameter ('m' for metric, 'e' for imperial). The response includes temp, humidity, pressure, wind_speed, wind_dir (cardinal, e.g. NW, SSE), uv, and the station's lat/lon coordinates. get_pws_hourly_history extends this to a rolling 7-day window, returning arrays of hourly observations with fields like solarRadiationHigh, humidityAvg, and a metric sub-object containing tempHigh and related aggregates.

Forecasts

get_forecast takes lat and lon and returns two objects: daily with up to 7 days of temperatureMax, temperatureMin, dayOfWeek, narrative text, and detailed daypart breakdowns; and hourly with 2 days of per-hour temperature, precipChance, windSpeed, and wxPhraseLong descriptions. Unit system is controlled via the same units parameter.

Historical Airport Observations

get_historical_airport accepts an airport ICAO code (station_id, e.g. KJFK), a start_date and end_date in YYYYMMDD format, and an optional country_code. It returns a metadata block (language, location ID, units, status code) alongside an observations array of hourly records with temperature, pressure, humidity, wind speed and direction, and weather phrases. get_monthly_observations is a convenience wrapper that accepts year and month integers and retrieves the full calendar month in one call, returning the same response shape.

Location Search

search accepts a plain-text query (city name, airport name, or keyword) and returns a location object with parallel arrays: address, city, country, countryCode, latitude, longitude, icaoCode, pwsId, and placeId. These identifiers can be passed directly into the forecast, historical, or current-conditions endpoints, making search the natural starting point for building location-aware workflows.

Common use cases
  • Display live hyperlocal temperature and wind data from a nearby PWS station on a dashboard or mobile app.
  • Power a 7-day forecast widget using temperatureMax, temperatureMin, and narrative fields from get_forecast.
  • Analyze historical hourly airport observations for climate research or insurance underwriting.
  • Build a monthly weather summary report for any airport station using get_monthly_observations.
  • Correlate solarRadiationHigh from PWS hourly history with energy production data for solar monitoring.
  • Resolve city or airport names to ICAO codes and coordinates via the search endpoint before querying forecasts.
  • Track precipitation probability trends over a 2-day hourly window for logistics or event planning.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Weather Underground have an official developer API?+
Yes. Weather Underground offers the Weather Company Data APIs under IBM's Weather Company umbrella, accessible at https://docs.tomorrow.io/reference/welcome — though access tiers and station coverage differ from what this Parse API exposes.
What does get_historical_airport return, and how far back does it go?+
The endpoint returns an observations array of hourly records per day in the requested date range, each with temperature, pressure, humidity, wind speed and direction, and a weather phrase string. The metadata block confirms the units and location ID. Coverage depth depends on the airport station's archive; very old dates for less-common ICAO stations may return sparse or empty observations arrays.
Does the get_forecast endpoint return minute-by-minute or sub-hourly data?+
The hourly object in get_forecast covers a 2-day window at hourly resolution. Sub-hourly (minute-level) precipitation or wind data is not part of the current response. You can fork this API on Parse and revise it to add a sub-hourly or nowcast endpoint if that resolution is required.
Can I retrieve historical data for a PWS station beyond the 7-day window?+
get_pws_hourly_history returns the rolling last 7 days for a given PWS station ID. Longer-range historical archives for PWS stations are not currently covered by this API. The historical airport endpoints (get_historical_airport and get_monthly_observations) handle deeper date ranges but only for ICAO-coded airport stations. You can fork this API on Parse and revise it to add extended PWS history if the underlying station supports it.
Are there any quirks when using the search endpoint to find PWS station IDs?+
The search response returns pwsId as one of several parallel arrays in the location object. Not every result will have a populated pwsId — airport-centric results typically carry an icaoCode instead. Check both fields and use the appropriate ID for the target endpoint: pwsId for get_current_weather and get_pws_hourly_history, icaoCode for the historical airport endpoints.
Page content last updated . Spec covers 6 endpoints from wunderground.com.
Related APIs in WeatherSee all →
energy-charts.de API
Monitor real-time electricity prices, production data, and market forecasts across Germany and Europe to track energy costs and grid conditions. Access day-ahead and intraday pricing, power generation forecasts, cross-border trading flows, and traffic signal alerts for comprehensive energy market insights.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
nassgeodata.gmu.edu API
Access detailed USDA crop data including acreage statistics, satellite imagery, and crop classifications for any location across the United States. Compare agricultural patterns year-over-year, download raster data files, or retrieve specific crop information at the point level to analyze farming trends and land use.
aopa.org API
Search for general aviation airports and access detailed information including runways, real-time weather conditions, NOTAMs, and aviation procedures—all in one place. Find upcoming aviation events and get comprehensive airport overviews to plan your flights with up-to-date data.
metoffice.gov.uk API
Access detailed UK weather forecasts, real-time lightning tracking, and weather warnings from the Met Office. Search locations to retrieve hourly, daily, regional, and long-range predictions, and monitor storm activity with spot forecasts across any geographic area.
vail.com API
Access live snow conditions, weather forecasts, and real-time terrain status for Vail and other Vail Resorts properties. Retrieve current snow reports, upcoming weather, and run and lift statuses across supported resorts.
surfline.com API
Check real-time surf conditions, forecasts for waves and wind, tide predictions, and live camera feeds from thousands of surf spots around the world. Browse spots by geographic region and access detailed weather data to plan your perfect surfing session.
sentinel-hub.com API
Access satellite imagery from around the world and retrieve spectral band data, timestamps, and geographic coverage information to analyze Earth observation data. Process and generate statistics from satellite images for your specific areas of interest using powerful image processing tools.