Download OpenAPI specification:
Wsdot Weather Information API - Washington State Department of Transportation APIs
import { fetchWeatherInformation } from 'ws-dottie/wsdot-weather-information/core'; const data = await fetchWeatherInformation({ fetchMode: 'native', validate: true }); console.log(data);
Example of a successful response from the API (showing first item of 101 total)
[- {
- "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
}
]import { fetchWeatherInformationByStationId } from 'ws-dottie/wsdot-weather-information/core'; const data = await fetchWeatherInformationByStationId({ params: { "StationID": 1909 }, fetchMode: 'native', validate: true }); console.log(data);
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
}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);
Example of a successful response from the API (showing first item of 3 total)
[- {
- "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
}
]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);
Example of a successful response from the API (showing first item of 47 total)
[- {
- "BarometricPressure": null,
- "Latitude": 47.078,
- "Longitude": -120.724,
- "PrecipitationInInches": null,
- "ReadingTime": "2025-11-14T18:30:00.000Z",
- "RelativeHumidity": 66,
- "SkyCoverage": "N/A",
- "StationID": 1980,
- "StationName": "Rocky Canyon on I-90 at mp 95.74",
- "TemperatureInFahrenheit": 54.14,
- "Visibility": 1,
- "WindDirection": 310,
- "WindDirectionCardinal": "NW",
- "WindGustSpeedInMPH": 9,
- "WindSpeedInMPH": 4
}
]