> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bart

> BART (Bay Area Rapid Transit) provides public transportation services in the San Francisco Bay Area.

![Bart logo](https://mintcdn.com/composio-preview/6S5R4NszqpnVIZRD/images/toolkits/bart.svg?fit=max\&auto=format\&n=6S5R4NszqpnVIZRD\&q=85\&s=a8d04118ff6e45d2686e31297fbf4fa0)

* **Category:** developer tools
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 20
* **Triggers:** 0
* **Slug:** `BART`
* **Version:** 20261101\_00

## Tools

> [accordion] Get BART API Version
>
> **Slug:** `BART_GET_API_VERSION`
>
> Get the current version of the BART API. This action retrieves version information for the BART (Bay Area Rapid Transit) API, including the current API version number, copyright information, and license details. This is useful for verifying API compatibility and ensuring you're working with the expected API version. The BART API is currently at version 3.10 and supports both XML and JSON output formats. Use this action to confirm which version of the API you're interfacing with and to access licensing information.
>
> #### Input Parameters
>
> **json\_format** `boolean`
>
> If True, returns response in JSON format. If False, returns XML format. Defaults to True for easier parsing.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get BART Available Schedules
>
> **Slug:** `BART_GET_AVAILABLE_SCHEDULES`
>
> DEPRECATED: Retrieve available BART schedules (deprecated since Dec 2, 2019). This endpoint is deprecated and returns an empty schedules list. BART recommends using GTFS/GTFS-RT feeds for current schedule data instead. Use BART\_GET\_GTFS\_STATIC\_SCHEDULE\_FEED for schedule information.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Elevator Status
>
> **Slug:** `BART_GET_ELEVATOR_STATUS`
>
> Tool to fetch current elevator status across all BART stations. Use when you need real-time elevator availability information for accessibility planning or route guidance.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Estimated Departures
>
> **Slug:** `BART_GET_ESTIMATED_DEPARTURES`
>
> Tool to get real-time estimated departure times for a specified BART station. Returns live train departure predictions including minutes until departure, platform assignments, train lengths, line colors, bicycle accommodation, and delay information. Use this when you need current departure times for planning trips or checking train status.
>
> #### Input Parameters
>
> **dir** `string ("n" | "s")`
>
> Direction filter for departures.
>
> **orig** `string` *required*
>
> Four-letter BART station abbreviation code (e.g., 'MONT' for Montgomery St., 'EMBR' for Embarcadero, '12TH' for 12th St. Oakland). Use 'all' to get departures for all stations. Common stations: EMBR, MONT, POWL, CIVC (SF); 12TH, LAKE, MCAR (Oakland); MLBR, SFIA (Peninsula).
>
> **plat** `string`
>
> Platform number to filter results (e.g., '1', '2', '3', '4')
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get BART Fare
>
> **Slug:** `BART_GET_FARE`
>
> Get fare information between two BART stations including Clipper and cash prices. Returns multiple fare types (Clipper, cash, senior/disabled, youth, Clipper START) with their respective prices. Use this when you need to find out how much a BART trip costs between two stations.
>
> #### Input Parameters
>
> **dest** `string` *required*
>
> Destination station abbreviation (4 uppercase letters, e.g., 'EMBR' for Embarcadero, 'ROCK' for Rockridge, 'SFIA' for SFO Airport)
>
> **orig** `string` *required*
>
> Origin station abbreviation (4 uppercase letters, e.g., 'MONT' for Montgomery St, 'EMBR' for Embarcadero, '12TH' for 12th St Oakland)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get GTFS-RT Service Alerts
>
> **Slug:** `BART_GET_GTFS_ALERTS`
>
> Fetch BART GTFS-RT service alerts as protobuf bytes for use with the static GTFS feed. The returned content is limited to the first 10,240 bytes and may be truncated.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get GTFS-RT Trip Updates
>
> **Slug:** `BART_GET_GTFS_RT_TRIP_UPDATES`
>
> Fetch BART GTFS-Realtime trip updates as raw protobuf bytes. Responses larger than 10 KiB are truncated and may not form a complete protobuf feed.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Download GTFS Static Schedule Feed
>
> **Slug:** `BART_GET_GTFS_STATIC_SCHEDULE_FEED`
>
> Fetch the BART static GTFS schedule feed ZIP and return its permalink and the first 1,024 bytes of its content.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Route Info
>
> **Slug:** `BART_GET_ROUTE_INFO`
>
> Tool to fetch detailed information about a specific BART route. Use when you know the route number (1–12) or need all routes configuration. Call after confirming the route ID.
>
> #### Input Parameters
>
> **date** `string`
>
> Optional date in mm/dd/yyyy format or 'today'/'now' to select the schedule
>
> **route** `string ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "all")` *required*
>
> Route number (1–12) or 'all' to retrieve configuration for specific or all routes
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Route Schedule
>
> **Slug:** `BART_GET_ROUTE_SCHEDULE`
>
> Tool to get detailed schedule information for a specific BART route showing all trains and their stops. Use when you need to see the complete schedule for a route including departure times, station stops, bike policies, and passenger load indicators. Call this after determining the specific route number (1-12).
>
> #### Input Parameters
>
> **l** `integer ("0" | "1")`
>
> Include legend in response: 0=off (default), 1=on
>
> **date** `string`
>
> Date in MM/DD/YYYY format (e.g., '01/15/2026') or 'wd' for weekday schedule, 'sa' for Saturday, 'su' for Sunday; defaults to current date
>
> **route** `string ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12")` *required*
>
> Route number (1-12): 1=Richmond-Daly City/Millbrae, 2=Pittsburg/Bay Point-SFO/Millbrae, 3=Richmond-Fremont, 4=Pittsburg/Bay Point-Daly City/Millbrae, 5=Daly City-Dublin/Pleasanton, 6=Daly City/Millbrae-East Dublin, 7=SFO/Millbrae-Antioch, 8=Berryessa/North San José-Daly City/Millbrae, 11=Richmond-Berryessa/North San José, 12=Dublin/Pleasanton-Daly City
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get BART Schedule Arrive
>
> **Slug:** `BART_GET_SCHEDULE_ARRIVE`
>
> Tool to retrieve schedule information based on a specified arrival time. Use when planning trips arriving by a given time.
>
> #### Input Parameters
>
> **a** `integer`
>
> Number of trips after the specified time (1-3)
>
> **b** `integer`
>
> Number of trips before the specified time (0-3)
>
> **l** `integer`
>
> Include legend flag: 0 omit, 1 include
>
> **date** `string`
>
> Date as 'MM/DD/YYYY', 'today', or 'now' (defaults to today)
>
> **dest** `string` *required*
>
> Destination station abbreviation (4 letters)
>
> **orig** `string` *required*
>
> Origin station abbreviation (4 letters)
>
> **time** `string`
>
> Arrival time in 'h:mm AM/PM' or 'now' (defaults to now)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get BART Schedule Depart
>
> **Slug:** `BART_GET_SCHEDULE_DEPART`
>
> Get BART train schedules departing from an origin station to a destination station at a specified time. Returns multiple trip options with departure/arrival times, fares (Clipper, cash, senior/disabled, youth), transfer details, train information, and platform numbers. Use this when you need to plan BART trips with specific departure times or when users ask about train schedules between two stations.
>
> #### Input Parameters
>
> **a** `integer`
>
> Trips after specified time (1-3); default is 2
>
> **b** `integer`
>
> Trips before specified time (0-3); default is 2
>
> **l** `integer`
>
> Include legend: 0=no, 1=yes; default is 0
>
> **date** `string`
>
> Date 'MM/DD/YYYY' or 'today'/'now'; defaults to current date
>
> **dest** `string` *required*
>
> Destination station abbreviation code. Valid codes: 12TH, 16TH, 19TH, 24TH, ASHB, ANTC, BALB, BAYF, BERY, CAST, CIVC, COLS, COLM, CONC, DALY, DBRK, DUBL, DELN, PLZA, EMBR, FRMT, FTVL, GLEN, HAYW, LAFY, LAKE, MCAR, MLBR, MLPT, MONT, NBRK, NCON, OAKL, ORIN, PITT, PCTR, PHIL, POWL, RICH, ROCK, SBRN, SFIA, SANL, SHAY, SSAN, UCTY, WARM, WCRK, WDUB, WOAK
>
> **json** `string`
>
> Set to 'y' to request JSON output
>
> **orig** `string` *required*
>
> Origin station abbreviation code. Valid codes: 12TH, 16TH, 19TH, 24TH, ASHB, ANTC, BALB, BAYF, BERY, CAST, CIVC, COLS, COLM, CONC, DALY, DBRK, DUBL, DELN, PLZA, EMBR, FRMT, FTVL, GLEN, HAYW, LAFY, LAKE, MCAR, MLBR, MLPT, MONT, NBRK, NCON, OAKL, ORIN, PITT, PCTR, PHIL, POWL, RICH, ROCK, SBRN, SFIA, SANL, SHAY, SSAN, UCTY, WARM, WCRK, WDUB, WOAK
>
> **time** `string`
>
> Departure time 'h:mm am/pm' or 'now'; defaults to current time
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Service Advisories
>
> **Slug:** `BART_GET_SERVICE_ADVISORIES`
>
> Tool to fetch current BART service advisories. Use when you need up-to-date system-wide or station-level alerts before presenting or planning transit routes.
>
> #### Input Parameters
>
> **orig** `string`
>
> Station code to filter advisories. Use 'all' for all advisories, 'bart' for system-wide only, or a station code (e.g., 'EMBR') for station-specific plus system-wide advisories.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Special Schedules
>
> **Slug:** `BART_GET_SPECIAL_SCHEDULES`
>
> DEPRECATED: Get special schedule announcements for holidays or event modifications. This endpoint is deprecated as of June 26, 2020 and references a legacy system that is no longer available. The API returns a deprecation message instead of schedule data. Use BART\_GET\_GTFS\_STATIC\_SCHEDULE\_FEED for current schedule information.
>
> #### Input Parameters
>
> **l** `integer`
>
> Include legend (0=off, 1=on)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Station Access
>
> **Slug:** `BART_GET_STATION_ACCESS`
>
> Get comprehensive station access information including parking, transit, bike facilities, and lockers. Returns detailed access information for a specific BART station including: entering/exiting instructions, parking availability and lot capacity, bike parking and bike station details, locker availability, car-sharing options, nearby destinations, and connected transit services. Use this when you need to help users understand how to access a BART station or what facilities are available.
>
> #### Input Parameters
>
> **l** `integer`
>
> Include legend explaining flag values (0=off, 1=on). When set to 1, the response will include a message section explaining what each flag value means.
>
> **orig** `string` *required*
>
> Four-letter BART station abbreviation code (e.g., 'EMBR' for Embarcadero, 'MONT' for Montgomery St., '12TH' for 12th St. Oakland). Use this to specify which station's access information you want to retrieve.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Station Info
>
> **Slug:** `BART_GET_STATION_INFO`
>
> Get detailed information for a specific BART station by its abbreviation code. Returns comprehensive station details including: name, location (address, city, county, coordinates), routes serving the station (northbound/southbound), platform information, nearby amenities (food, shopping, attractions), and general station description. Use this when you need detailed information about a specific BART station and you already have its 4-letter abbreviation code (e.g., 'EMBR' for Embarcadero, 'MONT' for Montgomery Street, '12TH' for 12th Street Oakland).
>
> #### Input Parameters
>
> **orig** `string` *required*
>
> Four-letter BART station abbreviation code (e.g., 'EMBR' for Embarcadero, 'MONT' for Montgomery St., '12TH' for 12th St. Oakland). Common stations: EMBR, MONT, POWL, CIVC (SF); 12TH, LAKE, MCAR (Oakland); MLBR, SFIA (Peninsula).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get BART Stations
>
> **Slug:** `BART_GET_STATIONS`
>
> Get a list of BART stations with names, abbreviation codes, geographic coordinates, and addresses. Use it to find station locations or codes for other API calls.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Station Schedule
>
> **Slug:** `BART_GET_STATION_SCHEDULE`
>
> Get detailed scheduled departure information for a specific BART station. Returns all trains departing from the station including route line, destination, departure time, bike allowance, crowding level, and platform number. Use this when you need to see all departures from a specific station.
>
> #### Input Parameters
>
> **l** `integer`
>
> Include legend: 0=no, 1=yes; default is 0
>
> **date** `string`
>
> Date 'MM/DD/YYYY' or 'today'/'now'; defaults to current date
>
> **orig** `string` *required*
>
> Origin station abbreviation (4 uppercase letters, e.g., 'POWL' for Powell St., 'EMBR' for Embarcadero, '24TH' for 24th St Mission)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Train Count
>
> **Slug:** `BART_GET_TRAIN_COUNT`
>
> Tool to fetch current count of trains active in the BART system. Use when you need real-time information about how many trains are currently operating.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List BART Routes
>
> **Slug:** `BART_LIST_ROUTES`
>
> List BART routes with basic information such as colors, directions, and route numbers. An optional date selects the schedule.
>
> #### Input Parameters
>
> **date** `string`
>
> Optional date in mm/dd/yyyy format or 'today'/'now' to select the schedule
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
