Download OpenAPI specification:
Wsdot Commercial Vehicle Restrictions API - Washington State Department of Transportation APIs
import { fetchCommercialVehicleRestrictions } from 'ws-dottie/wsdot-commercial-vehicle-restrictions/core'; const data = await fetchCommercialVehicleRestrictions({ fetchMode: 'native', validate: true }); console.log(data);
Example of a successful response from the API (showing first item of 343 total)
[- {
- "BLMaxAxle": 20000,
- "BridgeName": "Teanaway River",
- "BridgeNumber": "10/142",
- "CL8MaxAxle": 20000,
- "DateEffective": "2011-10-18T07:00:00.000Z",
- "DateExpires": "2075-12-31T08:00:00.000Z",
- "DatePosted": "2011-10-18T22:12:00.000Z",
- "EndRoadwayLocation": {
- "Description": null,
- "Direction": "Both",
- "Latitude": 0,
- "Longitude": 0,
- "MilePost": 0,
- "RoadName": "SR 10"
}, - "IsDetourAvailable": false,
- "IsExceptionsAllowed": false,
- "IsPermanentRestriction": false,
- "IsWarning": false,
- "Latitude": 47.15136148800159,
- "LocationDescription": "SR 10, MP 89.33 both directions-20,000 lbs limitation",
- "LocationName": "1.3 E Jct SR 970",
- "Longitude": -120.80431521930812,
- "MaximumGrossVehicleWeightInPounds": null,
- "RestrictionComment": "BL =20,000 lbs, CL-8 =20,000 lbs, SA = 40,000 lbs.",
- "RestrictionHeightInInches": 0,
- "RestrictionLengthInInches": 0,
- "RestrictionType": 0,
- "RestrictionWeightInPounds": 0,
- "RestrictionWidthInInches": 0,
- "SAMaxAxle": 40000,
- "StartRoadwayLocation": {
- "Description": null,
- "Direction": "Both",
- "Latitude": 0,
- "Longitude": 0,
- "MilePost": 89.33,
- "RoadName": "SR 10"
}, - "State": "WA",
- "StateRouteID": "10",
- "TDMaxAxle": null,
- "VehicleType": ""
}
]import { fetchCommercialVehicleRestrictionsWithId } from 'ws-dottie/wsdot-commercial-vehicle-restrictions/core'; const data = await fetchCommercialVehicleRestrictionsWithId({ fetchMode: 'native', validate: true }); console.log(data);
Example of a successful response from the API (showing first item of 343 total)
[- {
- "BLMaxAxle": 20000,
- "BridgeName": "Teanaway River",
- "BridgeNumber": "10/142",
- "CL8MaxAxle": 20000,
- "DateEffective": "2011-10-18T07:00:00.000Z",
- "DateExpires": "2075-12-31T08:00:00.000Z",
- "DatePosted": "2011-10-18T22:12:00.000Z",
- "EndRoadwayLocation": {
- "Description": null,
- "Direction": "Both",
- "Latitude": 0,
- "Longitude": 0,
- "MilePost": 0,
- "RoadName": "SR 10"
}, - "IsDetourAvailable": false,
- "IsExceptionsAllowed": false,
- "IsPermanentRestriction": false,
- "IsWarning": false,
- "Latitude": 47.15136148800159,
- "LocationDescription": "SR 10, MP 89.33 both directions-20,000 lbs limitation",
- "LocationName": "1.3 E Jct SR 970",
- "Longitude": -120.80431521930812,
- "MaximumGrossVehicleWeightInPounds": null,
- "RestrictionComment": "BL =20,000 lbs, CL-8 =20,000 lbs, SA = 40,000 lbs.",
- "RestrictionHeightInInches": 0,
- "RestrictionLengthInInches": 0,
- "RestrictionType": 0,
- "RestrictionWeightInPounds": 0,
- "RestrictionWidthInInches": 0,
- "SAMaxAxle": 40000,
- "StartRoadwayLocation": {
- "Description": null,
- "Direction": "Both",
- "Latitude": 0,
- "Longitude": 0,
- "MilePost": 89.33,
- "RoadName": "SR 10"
}, - "State": "WA",
- "StateRouteID": "10",
- "TDMaxAxle": null,
- "VehicleType": "",
- "UniqueID": "B-WA-010-1"
}
]