Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Weather Underground Forecast API

Weather forecasts based on PWS location

Weather Underground Forecast API is one of 4 APIs that Weather Underground publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Forecast. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 2.0.0.

Requests are made against a single base URL, https://api.weather.com.

1 operations 1 paths 3 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0.0
Base URL
https://api.weather.com
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Weather Underground Forecast API declares 1 security scheme for authenticating requests. An API key is passed in the query as apiKey (apiKey). By default, every request must be authenticated.

  • apiKey — API key issued to registered PWS contributors via https://www.wunderground.com/member/api-keys

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Forecast 1

Weather forecasts based on PWS location

GET
/v3/wx/forecast/daily/5day
Get 5-day daily weather forecast
get5DayForecast 4 params → 200401404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are ForecastResponse (17 properties), ForecastDaypart (11 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ForecastResponse
object
5-day daily weather forecast response
17 properties
ErrorResponse
object
Error response from the API
1 property
ForecastDaypart
object
Forecast data for a specific day part (day or night)
11 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wunderground-forecast-api-openapi.yml Raw ↑

Other APIs Weather Underground publishes across the network.

Weather Underground Historical API
Weather Underground Location API
Weather Underground Observations API