---
title: "Retrieve speed restriction data for a line on a given date."
method: GET
path: "/api/speed_restrictions"
tags: ["/api"]
---

# Retrieve speed restriction data for a line on a given date.

`GET /api/speed_restrictions`

## Request body

- SpeedRestrictionsParams — Parameters for the `/api/speed_restrictions` endpoint. Attributes: line_id: Line identifier (e.g., `Red`, `Orange`). date: Date to query (YYYY-MM-DD).
  - `line_id` string, required
  - `date` string, required

## Response `200`

Success

- SpeedRestrictionsResponse — Response for `/api/speed_restrictions` — speed restriction zones. Attributes: available: Whether speed restriction data exists for this date. date: Actual date of the data (may differ from requested date). zones: Speed restriction zone details, if available.
  - `available` boolean, required
  - `date` string
  - `zones` object

## Changes

- **2026-07-17** `4bc220e599eb` — 1 breaking, 1 warning
  - added the new required request property `date`
  - removed the request property `on_date`
- **2025-03-29** `4aea4f724666` — 1 breaking, 1 warning
  - added the new required request property `on_date`
  - removed the request property `date`

[Change history](https://skmtc.dev/transitmatters/apis/data-dashboard-api/changes/api/speed_restrictions/get.md)

---

[API](https://skmtc.dev/transitmatters/apis/data-dashboard-api.md) · [All operations](https://skmtc.dev/transitmatters/apis/data-dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/transitmatters/data-dashboard-api/revisions/4bc220e599eb/schema)
