ridership_history
Retrieve historical Chicago transit ridership for an 'L' station or bus route over a chosen date range, with optional monthly totals and daily rows.
Instructions
Historical ridership from the City of Chicago Data Portal: 'L' station entries or bus route boardings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"target": "<target>"
},
"name": "ridership_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | YYYY-MM-DD; default the latest published day. | |
| kind | Yes | ||
| start | No | YYYY-MM-DD; default 30 days (12 months if monthly) before end. | |
| target | Yes | Station name/map id, or bus route. | |
| monthly | No | Stations only: monthly totals and day-type averages. | |
| include_rows | No | Include one row per day. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||