Download OpenAPI specification:
Wsdot Mountain Pass Conditions API - Washington State Department of Transportation APIs
Real-time mountain pass conditions including weather, road status, and travel restrictions.
import { fetchMountainPassConditions } from 'ws-dottie/wsdot-mountain-pass-conditions/core'; const data = await fetchMountainPassConditions({ fetchMode: 'native', validate: true }); console.log(data);
Example of a successful response from the API (showing first item of 16 total)
[- {
- "MountainPassId": 1,
- "MountainPassName": "Blewett Pass US 97",
- "Latitude": 47.335298205,
- "Longitude": -120.581068216,
- "DateUpdated": "2025-11-15T14:49:36.827Z",
- "TemperatureInFahrenheit": 43,
- "ElevationInFeet": 4102,
- "WeatherCondition": "Partly cloudy.",
- "RoadCondition": "Bare and wet.",
- "TravelAdvisoryActive": true,
- "RestrictionOne": {
- "RestrictionText": "No restrictions",
- "TravelDirection": "Northbound"
}, - "RestrictionTwo": {
- "RestrictionText": "No restrictions",
- "TravelDirection": "Southbound"
}
}
]import { fetchMountainPassConditionById } from 'ws-dottie/wsdot-mountain-pass-conditions/core'; const data = await fetchMountainPassConditionById({ params: { "PassConditionID": 12 }, fetchMode: 'native', validate: true }); console.log(data);
Example of a successful response from the API
{- "MountainPassId": 12,
- "MountainPassName": "White Pass US 12",
- "Latitude": 46.638333,
- "Longitude": -121.39,
- "DateUpdated": "2025-11-15T16:32:50.010Z",
- "TemperatureInFahrenheit": 44,
- "ElevationInFeet": 4500,
- "WeatherCondition": "Raining",
- "RoadCondition": "Bare and wet",
- "TravelAdvisoryActive": true,
- "RestrictionOne": {
- "RestrictionText": "No restrictions",
- "TravelDirection": "Eastbound"
}, - "RestrictionTwo": {
- "RestrictionText": "No restrictions",
- "TravelDirection": "Westbound"
}
}