Wsdot Traffic Flow API (1.0.0)

Download OpenAPI specification:

Wsdot Traffic Flow API - Washington State Department of Transportation APIs

flow-data

Real-time traffic flow conditions from sensor stations across Washington state.

List current traffic flow conditions for all stations statewide.

Responses

Request samples

import { fetchTrafficFlows } from 'ws-dottie/wsdot-traffic-flow/core';

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

[
  • {
    }
]

Get current traffic flow condition for a specific station by ID.

Responses

Request samples

import { fetchTrafficFlowById } from 'ws-dottie/wsdot-traffic-flow/core';

const data = await fetchTrafficFlowById({
  params: {
    "FlowDataID": 2482
  },
  fetchMode: 'native',
  validate: true
});

console.log(data);

Response samples

Content type
application/json

Example of a successful response from the API

{
  • "FlowDataID": 2482,
  • "FlowReadingValue": 1,
  • "FlowStationLocation": {
    },
  • "Region": "Northwest",
  • "StationName": "002es00068",
  • "Time": "2025-11-15T17:43:22.000Z"
}