Search Highway Alerts
wsdot_search_alertsReturns active WA highway alerts: incidents, construction, closures, and restrictions. Filter by state route ("I-90", "90", "SR 520", or "520" all work), WSDOT region (Northwest, Olympic, Southwest, South Central, North Central, Eastern), or milepost range, matched against the alert's full extent. Omit all filters to return all current statewide alerts. Results are ordered by alertId and paged — pass offset/limit to page through the full set (the notice reports the next offset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum alerts to return in this page (1–500). Defaults to 50. | |
| offset | No | Zero-based index of the first alert to return, for paging. Defaults to 0. | |
| region | No | WSDOT region name as it appears in alert data: "Northwest", "Olympic", "Southwest", "South Central", "North Central", or "Eastern". Matching is case-insensitive. | |
| stateRoute | No | State route to filter by. Accepts natural forms — "I-90", "90", "090", "SR 520", "520" — matched case- and space-insensitively to the route number. A route-type prefix is compared only when both sides carry one, so "SR 26" never matches US 26 while a bare "26" matches either. Omit to include all routes. | |
| endMilepost | No | End of the milepost range. Matched by extent overlap like startMilepost, so an alert beginning inside the range and continuing past it is returned. | |
| startMilepost | No | Start of the milepost range. An alert matches when its extent overlaps the range, so a closure running from MP 10 to MP 30 is returned for a range starting at MP 20. Either bound may be given alone. Alerts reporting no milepost are always included. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| alerts | No | Matching highway alerts. | |
| notice | No | Informational note about the page window, or guidance when no alerts matched the filters or the offset ran past the end. | |
| hasMore | No | True when more alerts remain beyond the current page. | |
| nextOffset | No | Offset to pass to retrieve the next page, or null when this is the last page. | |
| totalCount | No | Total alerts matching the filters across all pages (not just this page). | |
| appliedFilters | No | Active filters applied to the alert search. |