Bart

Learn how to use Bart with Composio

Overview

SLUG

BART

Description

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

Authentication Details

generic_api_key
stringRequired

Tools

SLUG: BART_BART_GET_AVAILABLE_SCHEDULES

Tool to retrieve a list of currently released bart schedules. use when you need schedule versioning info.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_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.

Action Parameters

date
string
route
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_GET_GTFS_RT_TRIP_UPDATES

Tool to fetch real-time trip updates in gtfs-realtime format. use when you need the latest live trip information as raw protobuf.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_GET_GTFS_STATIC_SCHEDULE_FEED

Tool to download the static gtfs feed (google transit.zip). use when needing the latest gtfs schedule data.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

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.

Action Parameters

a
integerDefaults to 2
b
integerDefaults to 2
date
string
dest
stringRequired
l
integer
orig
stringRequired
time
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_GET_SCHEDULE_DEPART

Tool to get schedule information based on a specified depart time. use when planning trips from an origin to a destination with time constraints after confirming station codes.

Action Parameters

a
integer
b
integer
date
string
dest
stringRequired
json
stringDefaults to y
l
integer
orig
stringRequired
time
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

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.

Action Parameters

orig
stringDefaults to all

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_GET_STATION_INFO

Tool to fetch detailed information for a specified bart station. use after you have a station's abbreviation. (e.g., get station info for 'balb')

Action Parameters

orig
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_BART_GET_API_VERSION

Stub action for bart api version retrieval.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: BART_BART_GET_STATIONS

Stub action for bart stations retrieval.

Action Parameters

Action Response

data
objectRequired
error
string
successful
booleanRequired