Wsdot Highway Alerts API (1.0.0)

Download OpenAPI specification:

Wsdot Highway Alerts API - Washington State Department of Transportation APIs

highwayAlerts

Real-time highway alerts for traffic incidents and road conditions.

List all current highway alerts statewide.

Responses

Request samples

import { fetchAlerts } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchAlerts({
  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 118 total)

[
  • {
    }
]

Search highway alerts by route, region, time range, and milepost.

Responses

Request samples

import { searchAlerts } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await searchAlerts({
  params: {
    "StateRoute": "405",
    "StartingMilepost": 10,
    "EndingMilepost": 20,
    "SearchTimeStart": "2025-11-21",
    "SearchTimeEnd": "2025-11-22"
  },
  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 14 total)

[
  • {
    }
]

List highway alerts filtered by WSDOT region ID.

Responses

Request samples

import { fetchAlertsByRegionId } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchAlertsByRegionId({
  params: {
    "RegionID": 4
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API

[ ]

List highway alerts filtered by map area code.

Responses

Request samples

import { fetchAlertsByMapArea } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchAlertsByMapArea({
  params: {
    "MapArea": "Seattle"
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API

[
  • {
    }
]

Get highway alert details for a specific alert ID.

Responses

Request samples

import { fetchAlertById } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchAlertById({
  params: {
    "AlertID": 468632
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API

{
  • "AlertID": 468632,
  • "County": null,
  • "EndRoadwayLocation": {
    },
  • "EndTime": null,
  • "EventCategory": "Flammable Cargo Restriction",
  • "EventStatus": "Closed",
  • "ExtendedDescription": "",
  • "HeadlineDescription": "Flammable cargo is prohibited on SR 520 eastbound & westbound from Montlake Blvd (MP 1) to 84th Ave NE (MP 5).",
  • "LastUpdatedTime": "2025-09-03T04:40:03.430Z",
  • "Priority": "High",
  • "Region": "Northwest",
  • "StartRoadwayLocation": {
    },
  • "StartTime": "2021-09-13T13:59:00.000Z"
}

List all available geographic map areas for filtering alerts.

Responses

Request samples

import { fetchMapAreas } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchMapAreas({
  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 51 total)

[
  • {
    }
]

alertAreas

Geographic map areas for filtering highway alerts by region.

event-categories

Event category classifications for highway alerts.

List all available event category names for filtering alerts.

Responses

Request samples

import { fetchEventCategories } from 'ws-dottie/wsdot-highway-alerts/core';

const data = await fetchEventCategories({
  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 123 total)

[
  • ""
]