Discover/weatherunderground.com API
live

weatherunderground.com APIweatherunderground.com

Access real-time weather conditions and 10-day forecasts from Weather Underground. Search locations, get temperature, wind, humidity, and daily narratives.

Endpoints
3
Updated
3mo ago
Try it
City, zip code, or address to search for (e.g., 'New York', '90210', 'Los Angeles').
api.parse.bot/scraper/dc569c5e-6b93-4885-af60-ca8f7beb79ec/<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/dc569c5e-6b93-4885-af60-ca8f7beb79ec/search_locations?query=Los+Angeles' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for locations to get their geocode (latitude, longitude) and display name. Use the returned geocode value as input to get_current_conditions and get_forecast.

Input
ParamTypeDescription
queryrequiredstringCity, zip code, or address to search for (e.g., 'New York', '90210', 'Los Angeles').
Response
{
  "type": "object",
  "fields": {
    "locations": "array of location objects each containing name (display address), geocode (latitude,longitude string), and place_id (unique identifier)"
  },
  "sample": {
    "data": {
      "locations": [
        {
          "name": "Los Angeles, California, United States",
          "geocode": "34.048,-118.254",
          "place_id": "4facbbbb39938d43bf8e8f58a2f32dc61b6fd97d57c89ed8fd3ecbd8079003da"
        }
      ]
    },
    "status": "success"
  }
}

About the weatherunderground.com API

The Weather Underground API provides 3 endpoints covering location search, current weather observations, and 10-day daily forecasts. get_current_conditions returns 9 observation fields including temperature, wind speed, relative humidity, and cloud cover percentage. get_forecast delivers day-by-day high/low temperatures, daypart breakdowns, precipitation chance, and human-readable narrative strings for up to 10 days ahead.

Location Search

Before fetching weather data, use search_locations to resolve a city name, ZIP code, or address into a geocode string. Pass any freeform query — such as 'New York', '90210', or a street address — and the endpoint returns an array of matching location objects. Each object includes a name (display address), a geocode (latitude,longitude string), and a place_id. The geocode value is the required input for both other endpoints.

Current Conditions

get_current_conditions accepts a geocode and an optional units parameter: 'e' for Imperial (°F, mph, inches) or 'm' for Metric (°C, kph, mm). The response includes temperature, windSpeed, windDirection (degrees), windDirectionCardinal (e.g., 'SSW'), relativeHumidity, cloudCover, visibility, pressureMeanSeaLevel, and wxPhraseLong — a plain-language condition string like 'Rain' or 'Partly Cloudy'. These are point-in-time observations, not averages.

10-Day Forecast

get_forecast returns parallel arrays indexed by day: dayOfWeek, narrative (full prose forecast per day), calendarDayTemperatureMax, and calendarDayTemperatureMin. The daypart array holds a single object with sub-arrays for each half-day period, including precipChance, windSpeed, and a per-daypart narrative. The same units parameter controls all forecast values. The forecast covers exactly 10 calendar days from the current date.

Common use cases
  • Display current temperature and humidity on a location-aware dashboard using get_current_conditions.
  • Build a 10-day trip planner that surfaces daily high/low temperatures and narrative forecasts from get_forecast.
  • Trigger alerts when precipChance exceeds a threshold in the daypart forecast array.
  • Resolve user-entered city names or ZIP codes to geocoordinates with search_locations before querying conditions.
  • Show wind speed and cardinal direction (windDirectionCardinal) for outdoor activity planning.
  • Render a weekly forecast card using dayOfWeek, calendarDayTemperatureMax, and calendarDayTemperatureMin arrays.
  • Switch between Imperial and Metric display units by toggling the units parameter across all endpoints.
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. The Weather Underground Data APIs are available through The Weather Company at https://docs.twcservice.com. Access is gated by a commercial agreement and not openly self-serve.
What does `get_forecast` return for each day versus each daypart?+
At the day level, the endpoint returns calendarDayTemperatureMax, calendarDayTemperatureMin, dayOfWeek, and a full-day narrative string. The daypart object breaks each day into half-day segments and adds precipChance, windSpeed, and a shorter narrative per segment. Both sets of arrays are aligned by index position.
Does the API return hourly forecasts or historical weather data?+
Not currently. The API covers current point-in-time observations via get_current_conditions and 10-day daily/daypart forecasts via get_forecast. You can fork this API on Parse and revise it to add an hourly or historical endpoint.
Is precipitation amount returned in current conditions?+
The get_current_conditions response schema lists precipitation as a returned field but does not break it out as a named discrete field the way temperature or humidity are. The dedicated numeric precipitation accumulation field is not currently surfaced as a standalone response key. You can fork this API on Parse and revise it to expose that field explicitly.
What is the geographic coverage of location search?+
The search_locations endpoint accepts city names, ZIP codes, and street addresses and works globally wherever Weather Underground maintains station data. Coverage is strongest in North America and Western Europe; station density varies in less-monitored regions, which can affect the availability and accuracy of returned observations.
Page content last updated . Spec covers 3 endpoints from weatherunderground.com.
Related APIs in WeatherSee all →
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.
openweathermap.org API
Search for cities and retrieve live weather conditions and forecasts (current, minutely precipitation, hourly and daily) by coordinates or by city name.
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.
weatherspark.com API
Get historical weather data, current METAR reports, and monthly climate summaries for any location by searching WeatherSpark's comprehensive weather database. Access detailed weather insights including temperature trends, precipitation patterns, and atmospheric conditions to power weather-dependent applications and analysis.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
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.
ingres.iith.ac.in API
Access groundwater resource estimation data across India at multiple geographic levels—from national summaries down to block-level details—and search specific locations to track groundwater availability and assessment trends. View historical assessment years and generate reports to analyze groundwater resources by state, district, or region.
zoom.earth API
Search Zoom Earth for places and get live environmental data including weather forecasts by coordinates, satellite imagery timestamps, active tropical storm tracks, active fires, and current platform status.
Weather Underground API | Forecasts & Conditions · Parse