Station schedules
GET http://api.bart.gov/api/sched.aspx?cmd=stnsched&key={{key}}&orig=MLBR&json=y
Schedule information for a specific station.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cmd | string | Requests detailed scheduled information for a specific station. (Required) | |
key | string | API registration key. (Required) | |
orig | string | The station for which a schedule is requested. (Required) | |
date | null | Specifies a specific date to use. This will determine the appropriate schedule for that date, and give back information about the station for that schedule. Date can also be specified as "today" or "now". (Optional) | |
json | string | Returns API output in JSON format. Default output is XML if parameter not specified. (Optional) |