Wsdot Weather Information API (1.0.0)

Download OpenAPI specification:

Wsdot Weather Information API - Washington State Department of Transportation APIs

weather-info

Current atmospheric conditions from WSDOT Road Weather Information System stations.

List current weather information for all stations.

Responses

Request samples

import { fetchWeatherInformation } from 'ws-dottie/wsdot-weather-information/core';

const data = await fetchWeatherInformation({
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API (showing first item of 101 total)

[
  • {
    }
]

Get current weather information for a specific station by ID.

Responses

Request samples

import { fetchWeatherInformationByStationId } from 'ws-dottie/wsdot-weather-information/core';

const data = await fetchWeatherInformationByStationId({
  params: {
    "StationID": 1909
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API

{
  • "BarometricPressure": 957.5,
  • "Latitude": 47.4748,
  • "Longitude": -122.2704,
  • "PrecipitationInInches": null,
  • "ReadingTime": "2025-11-15T17:30:00.000Z",
  • "RelativeHumidity": 99,
  • "SkyCoverage": "N/A",
  • "StationID": 1909,
  • "StationName": "S 144th St on SB I-5 at mp 155.32",
  • "TemperatureInFahrenheit": 56.84,
  • "Visibility": 1,
  • "WindDirection": 200,
  • "WindDirectionCardinal": "SSW",
  • "WindGustSpeedInMPH": 0,
  • "WindSpeedInMPH": 0
}

Get current weather information for multiple specified stations.

Responses

Request samples

import { fetchCurrentWeatherForStations } from 'ws-dottie/wsdot-weather-information/core';

const data = await fetchCurrentWeatherForStations({
  params: {
    "StationList": "1909,1966,1970"
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API (showing first item of 3 total)

[
  • {
    }
]

Search historical weather information for a station within a time range.

Responses

Request samples

import { searchWeatherInformation } from 'ws-dottie/wsdot-weather-information/core';

const data = await searchWeatherInformation({
  params: {
    "StationID": 1980,
    "SearchStartTime": "2025-11-21T00:00:00.000Z",
    "SearchEndTime": "2025-11-22T23:59:59.000Z"
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API (showing first item of 47 total)

[
  • {
    }
]