Get Terminal Space
wsdot_get_terminal_spaceReturns real-time drive-up and reservable vehicle space available at WSF terminals for upcoming sailings. Use for "will I make the ferry?" or "how full is the next sailing?" questions. Optionally filter to a specific terminal by ID (use wsdot_get_ferry_terminals for the ID). driveUpSpaceCount is the key field — zero means the drive-up lane is full. Destinations are arrivingTerminalIds, not the itineraryLabel string: a sailing can serve several terminals, and those IDs are what wsdot_get_ferry_schedule accepts. Results are paged by terminal (default 5, max 20): offset/limit select whole terminals and totalCount counts matching terminals, not sailings — every sailing of a returned terminal is included, so page size varies with how many departures each terminal carries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum terminals to return in this page (1–20). Defaults to 5. Counts terminals, not sailings. | |
| offset | No | Zero-based index of the first terminal to return, for paging. Defaults to 0. | |
| departingTerminalId | No | Filter to a specific terminal by numeric ID. Omit to return all terminals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Informational note about the page window, or guidance when no terminal space data is available, the filter matched nothing, or the offset ran past the end. | |
| hasMore | No | True when more terminals remain beyond the current page. | |
| terminals | No | Terminal space availability by terminal. | |
| nextOffset | No | Offset to pass to retrieve the next page, or null when this is the last page. | |
| totalCount | No | Total terminals matching the filter across all pages (not just this page). Counts terminals, not sailings. | |
| terminalFilter | No | The terminal ID filter applied, or absent if no filter was used. |