The mta.bus namespace provides access to real-time bus data sourced from the MTA’s Bus Time API. Use mta.bus.arrivals to get the next predicted buses at a specific stop, and mta.bus.vehicles to see where every active bus on a route is right now, including its coordinates, bearing, next stop, and passenger occupancy status.
mta.bus.arrivals(params)
Returns upcoming bus arrival predictions for a single stop. Pass an optional route to limit results to one route serving that stop.
Parameters
stopIdstringrequiredThe MTA bus stop ID to query (for example, '308214'). Look up stop IDs with mta.stops.near or from the MTA’s published stop data.routestringOptional route filter (for example, 'M23'). When omitted, all routes serving the stop are returned.limitnumberMaximum number of upcoming arrivals to return. Must be between 1 and 100.includeRawbooleanWhen true, the response includes the raw upstream feed payload alongside the normalized arrivals. Useful for debugging or accessing fields not yet surfaced by the normalized API.
Code example
import { MTA } from 'mta-js'const mta = new MTA({ apiKey: process.env.MTA_API_KEY })const response = await mta.bus.arrivals({ stopId: '308214', route: 'M23', limit: 5,})for (const arrival of response.arrivals) { console.log(`${arrival.route} — ${arrival.headsign} — vehicle ${arrival.vehicleId}`)}
mta.bus.vehicles(params)
mta.bus.vehicles(params)
Returns active bus vehicles. Pass route to scope to a single route, or vehicleId to look up a specific vehicle. Data is refreshed approximately every 30 seconds and reflects the most recent position reported by each vehicle’s onboard GPS unit.
Parameters
routestringOptional bus route ID to filter on (for example, 'B63' for the Brooklyn route along Fifth Avenue, or 'M15' for the Manhattan crosstown route on First and Second Avenue). Route IDs are case-sensitive and match MTA’s published route identifiers.vehicleIdstringOptional MTA vehicle ID to look up a single vehicle (for example, 'MTA_8741').limitnumberMaximum number of vehicles to return. Must be between 1 and 100.includeRawbooleanWhen true, the response includes the raw upstream feed payload alongside the normalized vehicle list.
TypeScript signature
interface BusVehiclesParams { route?: string vehicleId?: string limit?: number includeRaw?: boolean}interface BusVehicle { vehicleId: string lat: number lon: number bearing: number nextStop: string occupancyStatus: string}interface BusVehiclesResponse { route: string vehicles: BusVehicle[]}mta.bus.vehicles(params: BusVehiclesParams): Promise<BusVehiclesResponse>
Response fields
routestringrequiredThe route ID that was queried, echoed back in the response.vehiclesobject[]requiredAn array of active vehicles on the route. Returns an empty array if no vehicles are currently in service.vehicles propertiesvehicleIdstringrequiredThe unique identifier for the vehicle, matching the MTA’s fleet numbering system.latnumberrequiredThe vehicle’s current latitude in decimal degrees (WGS 84).lonnumberrequiredThe vehicle’s current longitude in decimal degrees (WGS 84).bearingnumberrequiredThe vehicle’s direction of travel in degrees, measured clockwise from true north (0–359).nextStopstringrequiredThe name or ID of the next scheduled stop for this vehicle.occupancyStatusstringrequiredThe current passenger load level. Possible values: 'EMPTY', 'MANY_SEATS_AVAILABLE', 'FEW_SEATS_AVAILABLE', 'STANDING_ROOM_ONLY', 'CRUSHED_STANDING_ROOM_ONLY', 'FULL'.
Code example
import { MTA } from 'mta-js'const mta = new MTA({ apiKey: process.env.MTA_API_KEY })const response = await mta.bus.vehicles({ route: 'B63', limit: 10 })console.log(`${response.vehicles.length} buses active on route ${response.route}`)for (const vehicle of response.vehicles) { console.log( `Bus ${vehicle.vehicleId} at (${vehicle.lat}, ${vehicle.lon}) ` + `heading ${vehicle.bearing}° — next stop: ${vehicle.nextStop} ` + `— occupancy: ${vehicle.occupancyStatus}` )}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"MTA API","description":"Realtime NYC-area transit data — subway, bus, PATH, NJ Transit, NYC Ferry, Citi Bike, plus 22 more US transit agencies and 7 more bike shares — through one clean API.","colors":{"primary":"#004CB7","light":"#FFFFFF","dark":"#1E3A8A"},"logo":{"light":"https://mintcdn.com/humanintefacedesign/Q8YkInnS90xOtYky/images/logo2.svg?fit=max\u0026auto=format\u0026n=Q8YkInnS90xOtYky\u0026q=85\u0026s=6f8537a6423102044114a3759a1cf764","dark":"https://mintcdn.com/humanintefacedesign/Q8YkInnS90xOtYky/images/logo2.svg?fit=max\u0026auto=format\u0026n=Q8YkInnS90xOtYky\u0026q=85\u0026s=6f8537a6423102044114a3759a1cf764","href":"https://www.mtaapi.dev"},"favicon":"https://mintcdn.com/humanintefacedesign/U9SNkuqnZN8rjCjD/images/favicon-16x16.png?fit=max\u0026auto=format\u0026n=U9SNkuqnZN8rjCjD\u0026q=85\u0026s=5d1bc2d91e7baa872bfc6f9a29447863","api":{"openapi":"openapi.json","params":{"expanded":"all"},"playground":{"display":"interactive","proxy":true},"examples":{"languages":["typescript"],"prefill":true,"autogenerate":false},"url":"full","mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://www.mtaapi.dev"}},"appearance":{"default":"dark"},"background":{"color":{"light":"#fff","dark":"#000"}},"navbar":{"links":[{"href":"https://www.mtaapi.dev/dashboard","label":"Dashboard"},{"href":"https://www.mtaapi.dev/blog","label":"Blog"}],"primary":{"type":"github","href":"https://github.com/HumanInterfaceDesign/mta-js"}},"footer":{"socials":{"github":"https://github.com/HumanInterfaceDesign/mta-js"}},"icons":{"library":"tabler"},"integrations":{"telemetry":{"enabled":false}},"markdown":{"schema":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"humanintefacedesign","hasAudioNarration":false,"actualSubdomain":"humanintefacedesign","customDomains":["mtaapi.dev"],"gitSource":{"type":"github","owner":"humaninterfacedesign","repo":"mta-api","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":"","_id":"6ae46ad2f259c4c964c4c6bd"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af85f7209eaf940fce85a4d","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":183},{"language":"default","tag":"Regional transit REST","count":171},{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"SDK Reference","count":12},{"language":"default","tag":"Get Started","count":6},{"language":"default","tag":"Core Concepts","count":3},{"language":"default","tag":"Self-Hosting","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@mtaapi.dev","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/bus","slug":"/api-reference/bus","pageMetadata":{"title":"mta.bus.vehicles() — live bus positions by route","description":"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.","sidebarTitle":"Bus","openapi":"openapi.json GET /api/v1/bus/vehicles","href":"/api-reference/bus"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`mta.bus`}),` namespace provides access to real-time bus data sourced from the MTA’s Bus Time API. Use `,_jsx(_components.code,{children:`mta.bus.arrivals`}),` to get the next predicted buses at a specific stop, and `,_jsx(_components.code,{children:`mta.bus.vehicles`}),` to see where every active bus on a route is right now, including its coordinates, bearing, next stop, and passenger occupancy status.`]}),`\n`,_jsx(Heading,{level:`2`,id:`mta-bus-arrivals-params`,children:_jsx(_components.code,{children:`mta.bus.arrivals(params)`})}),`\n`,_jsxs(_components.p,{children:[`Returns upcoming bus arrival predictions for a single stop. Pass an optional `,_jsx(_components.code,{children:`route`}),` to limit results to one route serving that stop.`]}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`stopId`}),` `,_jsx(_components.code,{children:`string`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsxs(_components.p,{children:[`The MTA bus stop ID to query (for example, `,_jsx(_components.code,{children:`'308214'`}),`). Look up stop IDs with `,_jsx(_components.code,{children:`mta.stops.near`}),` or from the MTA’s published stop data.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`route`}),` `,_jsx(_components.code,{children:`string`})]}),`\n`,_jsxs(_components.p,{children:[`Optional route filter (for example, `,_jsx(_components.code,{children:`'M23'`}),`). When omitted, all routes serving the stop are returned.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`limit`}),` `,_jsx(_components.code,{children:`number`})]}),`\n`,_jsxs(_components.p,{children:[`Maximum number of upcoming arrivals to return. Must be between `,_jsx(_components.code,{children:`1`}),` and `,_jsx(_components.code,{children:`100`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`includeRaw`}),` `,_jsx(_components.code,{children:`boolean`})]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the response includes the raw upstream feed payload alongside the normalized arrivals. Useful for debugging or accessing fields not yet surfaced by the normalized API.`]}),`\n`,_jsx(Heading,{level:`3`,id:`code-example`,children:`Code example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MTA`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mta-js'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` mta`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` MTA`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`MTA_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mta`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`arrivals`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` stopId:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '308214'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` route:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'M23'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limit:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` arrival`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`arrivals`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`arrival`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`route`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` — `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`arrival`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`headsign`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` — vehicle `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`arrival`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicleId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`mta-bus-vehicles-params`,children:_jsx(_components.code,{children:`mta.bus.vehicles(params)`})}),`\n`,_jsx(Heading,{level:`2`,id:`mta-bus-vehicles-params-2`,children:_jsx(_components.code,{children:`mta.bus.vehicles(params)`})}),`\n`,_jsxs(_components.p,{children:[`Returns active bus vehicles. Pass `,_jsx(_components.code,{children:`route`}),` to scope to a single route, or `,_jsx(_components.code,{children:`vehicleId`}),` to look up a specific vehicle. Data is refreshed approximately every 30 seconds and reflects the most recent position reported by each vehicle’s onboard GPS unit.`]}),`\n`,_jsx(Heading,{level:`3`,id:`parameters-2`,children:`Parameters`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`route`}),` `,_jsx(_components.code,{children:`string`})]}),`\n`,_jsxs(_components.p,{children:[`Optional bus route ID to filter on (for example, `,_jsx(_components.code,{children:`'B63'`}),` for the Brooklyn route along Fifth Avenue, or `,_jsx(_components.code,{children:`'M15'`}),` for the Manhattan crosstown route on First and Second Avenue). Route IDs are case-sensitive and match MTA’s published route identifiers.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`vehicleId`}),` `,_jsx(_components.code,{children:`string`})]}),`\n`,_jsxs(_components.p,{children:[`Optional MTA vehicle ID to look up a single vehicle (for example, `,_jsx(_components.code,{children:`'MTA_8741'`}),`).`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`limit`}),` `,_jsx(_components.code,{children:`number`})]}),`\n`,_jsxs(_components.p,{children:[`Maximum number of vehicles to return. Must be between `,_jsx(_components.code,{children:`1`}),` and `,_jsx(_components.code,{children:`100`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`includeRaw`}),` `,_jsx(_components.code,{children:`boolean`})]}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`true`}),`, the response includes the raw upstream feed payload alongside the normalized vehicle list.`]}),`\n`,_jsx(Heading,{level:`3`,id:`typescript-signature`,children:`TypeScript signature`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`22`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`22`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BusVehiclesParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` route`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` vehicleId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` limit`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` includeRaw`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` boolean`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BusVehicle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` vehicleId`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` lat`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` lon`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` bearing`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` number`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` nextStop`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` occupancyStatus`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`interface`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BusVehiclesResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` route`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` string`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` vehicles`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BusVehicle`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`mta`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`vehicles`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`params`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BusVehiclesParams`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`Promise`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`BusVehiclesResponse`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response fields`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`route`}),` `,_jsx(_components.code,{children:`string`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The route ID that was queried, echoed back in the response.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`vehicles`}),` `,_jsx(_components.code,{children:`object[]`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`An array of active vehicles on the route. Returns an empty array if no vehicles are currently in service.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`vehicles properties`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`vehicleId`}),` `,_jsx(_components.code,{children:`string`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The unique identifier for the vehicle, matching the MTA’s fleet numbering system.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`lat`}),` `,_jsx(_components.code,{children:`number`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The vehicle’s current latitude in decimal degrees (WGS 84).`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`lon`}),` `,_jsx(_components.code,{children:`number`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The vehicle’s current longitude in decimal degrees (WGS 84).`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`bearing`}),` `,_jsx(_components.code,{children:`number`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The vehicle’s direction of travel in degrees, measured clockwise from true north (0–359).`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`nextStop`}),` `,_jsx(_components.code,{children:`string`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsx(_components.p,{children:`The name or ID of the next scheduled stop for this vehicle.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`occupancyStatus`}),` `,_jsx(_components.code,{children:`string`}),` `,_jsx(_components.em,{children:`required`})]}),`\n`,_jsxs(_components.p,{children:[`The current passenger load level. Possible values: `,_jsx(_components.code,{children:`'EMPTY'`}),`, `,_jsx(_components.code,{children:`'MANY_SEATS_AVAILABLE'`}),`, `,_jsx(_components.code,{children:`'FEW_SEATS_AVAILABLE'`}),`, `,_jsx(_components.code,{children:`'STANDING_ROOM_ONLY'`}),`, `,_jsx(_components.code,{children:`'CRUSHED_STANDING_ROOM_ONLY'`}),`, `,_jsx(_components.code,{children:`'FULL'`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`code-example-2`,children:`Code example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MTA`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'mta-js'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` mta`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` MTA`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`MTA_API_KEY`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mta`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bus`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`vehicles`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`route:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'B63'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`limit:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicles`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`length`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` buses active on route `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`route`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` vehicle`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicles`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `Bus \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicleId`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` at (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`lon`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\") `\"}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `heading \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`bearing`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`° — next stop: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`nextStop`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `\"}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\" `— occupancy: \"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`vehicle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`occupancyStatus`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:\"`\"})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`example-response`,children:`Example response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"route\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"B63\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vehicles\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vehicleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MTA_8741\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40.6765`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lon\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-73.9927`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bearing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`342`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextStop\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5 AV/ATLANTIC AV\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"occupancyStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MANY_SEATS_AVAILABLE\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vehicleId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MTA_8804\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40.6621`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lon\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-73.9891`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bearing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`162`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nextStop\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5 AV/65 ST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"occupancyStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"FEW_SEATS_AVAILABLE\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`bearing`}),` together with `,_jsx(_components.code,{children:`lat`}),` and `,_jsx(_components.code,{children:`lon`}),` to render animated bus icons on a map that point in the correct direction of travel.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"mta.bus.vehicles() — live bus positions by route","description":"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.","sidebarTitle":"Bus","openapi":"openapi.json GET /api/v1/bus/vehicles","href":"/api-reference/bus"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"mta.bus.arrivals(params)","slug":"mta-bus-arrivals-params","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]},{"title":"Code example","slug":"code-example","depth":3,"children":[]}]},{"title":"mta.bus.vehicles(params)","slug":"mta-bus-vehicles-params","depth":2,"children":[]},{"title":"mta.bus.vehicles(params)","slug":"mta-bus-vehicles-params-2","depth":2,"children":[{"title":"Parameters","slug":"parameters-2","depth":3,"children":[]},{"title":"TypeScript signature","slug":"typescript-signature","depth":3,"children":[]},{"title":"Response fields","slug":"response-fields","depth":3,"children":[]},{"title":"Code example","slug":"code-example-2","depth":3,"children":[]},{"title":"Example response","slug":"example-response","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get bus vehicles","tags":["bus"],"parameters":["339040d7-967b-4743-bc21-5b3131d9c30f","957435d5-c8bb-4259-a657-5d03f863efbe","b1bad519-211d-4d80-a06c-3dcd81eaba4d","aac3bae8-48e9-4009-8588-2aa76a48a576"],"responses":{"200":"d18baf28-e5ce-4b03-9392-fd41f48455ad"},"operationId":"getApiV1BusVehicles","method":"get","type":"path","servers":["0557b014-5191-4d70-bda5-11bc6a54b632"],"security":["63d21101-db75-4fd6-8ace-e7c6b309158b","4c8bf785-780f-4edb-bda9-133cf408118f"],"path":"/api/v1/bus/vehicles","baseUrlOptions":["https://www.mtaapi.dev"],"title":"Get bus vehicles","description":"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.","codeSamples":[],"requestExampleLanguages":["typescript"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[],"urlDisplay":"full"},"dependencies":{"parameters":{"339040d7-967b-4743-bc21-5b3131d9c30f":{"name":"route","in":"query","required":false,"schema":{"minLength":1,"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"957435d5-c8bb-4259-a657-5d03f863efbe":{"name":"vehicleId","in":"query","required":false,"schema":{"minLength":1,"type":"string","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"b1bad519-211d-4d80-a06c-3dcd81eaba4d":{"name":"limit","in":"query","required":false,"schema":{"minimum":1,"maximum":100,"type":"number","isRequired":false,"uniqueKey":"","typeLabel":"number"}},"aac3bae8-48e9-4009-8588-2aa76a48a576":{"name":"includeRaw","in":"query","required":false,"schema":{"type":"boolean","isRequired":false,"uniqueKey":"","typeLabel":"boolean"}}},"responses":{"d18baf28-e5ce-4b03-9392-fd41f48455ad":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","required":["mode","route","source"],"properties":{"mode":{"type":"string","enum":["subway","bus","path","nj-transit-rail","lirr","metro-north"],"isRequired":true,"uniqueKey":"items.[INDEX].mode","typeLabel":"enum\u003cstring>"},"route":{"type":"object","required":["id"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].route.id","typeLabel":"string"},"gtfsId":{"type":"string","uniqueKey":"items.[INDEX].route.gtfsId","typeLabel":"string"},"shortName":{"type":"string","uniqueKey":"items.[INDEX].route.shortName","typeLabel":"string"},"longName":{"type":"string","uniqueKey":"items.[INDEX].route.longName","typeLabel":"string"},"type":{"type":"number","uniqueKey":"items.[INDEX].route.type","typeLabel":"number"},"color":{"type":"string","uniqueKey":"items.[INDEX].route.color","typeLabel":"string"},"textColor":{"type":"string","uniqueKey":"items.[INDEX].route.textColor","typeLabel":"string"}},"isRequired":true,"uniqueKey":"items.[INDEX].route","typeLabel":"object"},"source":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].source","typeLabel":"string"},"vehicleId":{"type":"string","uniqueKey":"items.[INDEX].vehicleId","typeLabel":"string"},"tripId":{"type":"string","uniqueKey":"items.[INDEX].tripId","typeLabel":"string"},"stop":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].stop.id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"items.[INDEX].stop.name","typeLabel":"string"},"displayName":{"type":"string","uniqueKey":"items.[INDEX].stop.displayName","typeLabel":"string"},"lat":{"type":"number","uniqueKey":"items.[INDEX].stop.lat","typeLabel":"number"},"lon":{"type":"number","uniqueKey":"items.[INDEX].stop.lon","typeLabel":"number"},"mode":{"enum":["subway","bus","path","nj-transit-rail","nyc-ferry","lirr","metro-north"],"type":"string","uniqueKey":"items.[INDEX].stop.mode","typeLabel":"enum\u003cstring>"},"parentId":{"type":"string","uniqueKey":"items.[INDEX].stop.parentId","typeLabel":"string"}},"uniqueKey":"items.[INDEX].stop","typeLabel":"object"},"lat":{"type":"number","uniqueKey":"items.[INDEX].lat","typeLabel":"number"},"lon":{"type":"number","uniqueKey":"items.[INDEX].lon","typeLabel":"number"},"bearing":{"type":"number","uniqueKey":"items.[INDEX].bearing","typeLabel":"number"},"destinationName":{"type":"string","uniqueKey":"items.[INDEX].destinationName","typeLabel":"string"},"recordedAt":{"type":"string","uniqueKey":"items.[INDEX].recordedAt","typeLabel":"string"},"raw":{"oneOf":[{}],"uniqueKey":"items.[INDEX].raw","typeLabel":"any"}},"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"examples":{"Example":{"title":"Example","value":[{"mode":"subway","route":{"id":"\u003cstring>","gtfsId":"\u003cstring>","shortName":"\u003cstring>","longName":"\u003cstring>","type":123,"color":"\u003cstring>","textColor":"\u003cstring>"},"source":"\u003cstring>","vehicleId":"\u003cstring>","tripId":"\u003cstring>","stop":{"id":"\u003cstring>","name":"\u003cstring>","displayName":"\u003cstring>","lat":123,"lon":123,"mode":"subway","parentId":"\u003cstring>"},"lat":123,"lon":123,"bearing":123,"destinationName":"\u003cstring>","recordedAt":"\u003cstring>","raw":"\u003cunknown>"}]}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"63d21101-db75-4fd6-8ace-e7c6b309158b":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Key","scopes":[],"schemeName":"bearerAuth"}},"4c8bf785-780f-4edb-bda9-133cf408118f":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"0557b014-5191-4d70-bda5-11bc6a54b632":{"url":"https://www.mtaapi.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API Key","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"humanintefacedesign","siteName":"MTA API","title":"mta.bus.vehicles() — live bus positions by route - MTA API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T18:19:04.919Z","originalFileLocation":"api-reference/bus.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MTA API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"mta.bus.vehicles() — live bus positions by route - MTA API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MTA API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://mtaapi.dev/docs/api-reference/bus\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://humanintefacedesign.mintlify.site/docs/_mintlify/api/og/v2?division=SDK+Reference\u0026amp;title=mta.bus.vehicles%28%29+%E2%80%94+live+bus+positions+by+route\u0026amp;description=Reference+for+mta.bus+in+mta-js.+Retrieve+live+bus+vehicle+positions%2C+GPS+coordinates%2C+heading%2C+next+stop%2C+and+occupancy+for+any+MTA+route.\u0026amp;theme=0bac45188922c012362b8c6c\u0026amp;signature=b369351aedc222b01a973d34359bf5ea8230bf8ec2fec614058ac31abf9abb60\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"mta.bus.vehicles() — live bus positions by route - MTA API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://humanintefacedesign.mintlify.site/docs/_mintlify/api/og/v2?division=SDK+Reference\u0026amp;title=mta.bus.vehicles%28%29+%E2%80%94+live+bus+positions+by+route\u0026amp;description=Reference+for+mta.bus+in+mta-js.+Retrieve+live+bus+vehicle+positions%2C+GPS+coordinates%2C+heading%2C+next+stop%2C+and+occupancy+for+any+MTA+route.\u0026amp;theme=0bac45188922c012362b8c6c\u0026amp;signature=b369351aedc222b01a973d34359bf5ea8230bf8ec2fec614058ac31abf9abb60\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/humanintefacedesign/JAp0EAWeC0Ql7tpl/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MTA API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#004CB7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://mtaapi.dev/docs/api-reference/bus\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/bus.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://mtaapi.dev/#organization\",\"name\":\"MTA API\",\"url\":\"https://mtaapi.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/humanintefacedesign/Q8YkInnS90xOtYky/images/logo2.svg?fit=max\u0026auto=format\u0026n=Q8YkInnS90xOtYky\u0026q=85\u0026s=6f8537a6423102044114a3759a1cf764\"}},{\"@type\":\"WebSite\",\"@id\":\"https://mtaapi.dev/docs#website\",\"name\":\"MTA API\",\"url\":\"https://mtaapi.dev/docs\",\"publisher\":{\"@id\":\"https://mtaapi.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://mtaapi.dev/docs/api-reference/bus#webpage\",\"url\":\"https://mtaapi.dev/docs/api-reference/bus\",\"name\":\"mta.bus.vehicles() — live bus positions by route\",\"description\":\"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\",\"dateModified\":\"2026-10-31T18:19:04.919Z\",\"isPartOf\":{\"@id\":\"https://mtaapi.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://mtaapi.dev/docs/api-reference/bus#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://mtaapi.dev/docs/api-reference/bus#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"SDK Reference\",\"item\":\"https://mtaapi.dev/docs/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"mta.bus.vehicles() — live bus positions by route\",\"item\":\"https://mtaapi.dev/docs/api-reference/bus\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://mtaapi.dev/docs/api-reference/bus#apireference\",\"headline\":\"mta.bus.vehicles() — live bus positions by route\",\"name\":\"mta.bus.vehicles() — live bus positions by route\",\"description\":\"Reference for mta.bus in mta-js. Retrieve live bus vehicle positions, GPS coordinates, heading, next stop, and occupancy for any MTA route.\",\"url\":\"https://mtaapi.dev/docs/api-reference/bus\",\"mainEntityOfPage\":{\"@id\":\"https://mtaapi.dev/docs/api-reference/bus#webpage\"},\"dateModified\":\"2026-10-31T18:19:04.919Z\",\"publisher\":{\"@id\":\"https://mtaapi.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://mtaapi.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MTA API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MTA API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/bus.md","siteName":"MTA API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"SDK Reference","pages":[{"title":"mta-js SDK reference: all namespaces and methods","sidebarTitle":"Overview","href":"/api-reference/overview"},{"title":"mta.subway.arrivals() — real-time subway predictions","sidebarTitle":"Subway","openapi":"openapi.json GET /api/v1/subway/arrivals","href":"/api-reference/subway"},{"title":"mta.subway.direction() — resolve a destination to a direction","description":"Reference for mta.subway.direction in mta-js. Resolve a rider-facing destination string into a typed north/south direction, terminal, and display label.","sidebarTitle":"Direction","openapi":"openapi.json GET /api/v1/subway/direction","href":"/api-reference/direction"},{"title":"mta.bus.vehicles() — live bus positions by route","sidebarTitle":"Bus","openapi":"openapi.json GET /api/v1/bus/vehicles","href":"/api-reference/bus"},{"title":"mta.alerts.current() — active MTA service alerts","description":"Reference for mta.alerts in mta-js. Retrieve current MTA service alerts—delays, planned work, and route suspensions—for subway or bus.","sidebarTitle":"Alerts","openapi":"openapi.json GET /api/v1/alerts","href":"/api-reference/alerts"},{"title":"mta.stops.near() — find stops by geolocation","sidebarTitle":"Stops","openapi":"openapi.json GET /api/v1/stops/near","href":"/api-reference/stops"},{"title":"mta.subway.arrivalBoard() — nearby subway departure board","sidebarTitle":"Subway Arrival Board","openapi":"openapi.json GET /api/v1/subway/arrival-board","href":"/api-reference/subway-arrival-board"},{"title":"mta.subway.routeStations() — ordered stations on a route","sidebarTitle":"Subway Route Stations","openapi":"openapi.json GET /api/v1/subway/routes/{route}/stations","href":"/api-reference/subway-route-stations"},{"title":"mta.bus.arrivalBoard() — nearby bus departure board","sidebarTitle":"Bus Arrival Board","openapi":"openapi.json GET /api/v1/bus/arrival-board","href":"/api-reference/bus-arrival-board"},{"title":"mta.bus.routeStops() — ordered stops on a route","sidebarTitle":"Bus Route Stops","openapi":"openapi.json GET /api/v1/bus/routes/{route}/stops","href":"/api-reference/bus-route-stops"},{"title":"mta.routes.list() — list subway and bus routes","sidebarTitle":"Routes","openapi":"openapi.json GET /api/v1/routes","href":"/api-reference/routes"},{"title":"mta.stops.byIds() — batch stop lookup","sidebarTitle":"Stops by ID","openapi":"openapi.json GET /api/v1/stops","href":"/api-reference/stops-batch"}]},{"group":"Regional transit REST","pages":[{"title":"List NJ PATH stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/path/stations","href":"/api-reference/path/list-nj-path-stations"},{"title":"List PATH routes serving New Jersey","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/path/routes","href":"/api-reference/path/list-path-routes-serving-new-jersey"},{"title":"Get PATH arrivals for NJ stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/path/arrivals","href":"/api-reference/path/get-path-arrivals-for-nj-stations"},{"title":"Get ordered PATH stations for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/path/routes/{route}/stations","href":"/api-reference/path/get-ordered-path-stations-for-a-route"},{"title":"List NJ Transit rail stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nj-transit/rail/stations","href":"/api-reference/nj-transit-rail/list-nj-transit-rail-stations"},{"title":"Get NJ Transit rail departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nj-transit/rail/departures","href":"/api-reference/nj-transit-rail/get-nj-transit-rail-departures"},{"title":"Get NJ Transit rail vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nj-transit/rail/vehicles","href":"/api-reference/nj-transit-rail/get-nj-transit-rail-vehicles"},{"title":"Get NJ Transit rail alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nj-transit/rail/alerts","href":"/api-reference/nj-transit-rail/get-nj-transit-rail-alerts"},{"title":"Get ordered NJ Transit rail stations for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nj-transit/rail/routes/{route}/stations","href":"/api-reference/nj-transit-rail/get-ordered-nj-transit-rail-stations-for-a-route"},{"title":"List NYC Ferry stops","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/stops","href":"/api-reference/nyc-ferry/list-nyc-ferry-stops"},{"title":"List NYC Ferry routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/routes","href":"/api-reference/nyc-ferry/list-nyc-ferry-routes"},{"title":"Get NYC Ferry stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/routes/{route}/stops","href":"/api-reference/nyc-ferry/get-nyc-ferry-stops-for-a-route"},{"title":"Get NYC Ferry arrivals","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/arrivals","href":"/api-reference/nyc-ferry/get-nyc-ferry-arrivals"},{"title":"Get NYC Ferry vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/vehicles","href":"/api-reference/nyc-ferry/get-nyc-ferry-vehicles"},{"title":"Get NYC Ferry alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/nyc-ferry/alerts","href":"/api-reference/nyc-ferry/get-nyc-ferry-alerts"},{"title":"Find Citi Bike stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/citi-bike/stations","href":"/api-reference/citi-bike/find-citi-bike-stations"},{"title":"Get a Citi Bike station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/citi-bike/stations/{id}","href":"/api-reference/citi-bike/get-a-citi-bike-station"},{"title":"Get Citi Bike service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/citi-bike/alerts","href":"/api-reference/citi-bike/get-citi-bike-service-alerts"},{"title":"List LIRR stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/stops","href":"/api-reference/lirr/list-lirr-stations"},{"title":"List LIRR routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/routes","href":"/api-reference/lirr/list-lirr-routes"},{"title":"Get LIRR stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/routes/{route}/stops","href":"/api-reference/lirr/get-lirr-stops-for-a-route"},{"title":"Get LIRR departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/departures","href":"/api-reference/lirr/get-lirr-departures"},{"title":"Get LIRR vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/vehicles","href":"/api-reference/lirr/get-lirr-vehicles"},{"title":"Get LIRR alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/lirr/alerts","href":"/api-reference/lirr/get-lirr-alerts"},{"title":"List Metro-North stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/stops","href":"/api-reference/metro-north/list-metro-north-stations"},{"title":"List Metro-North routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/routes","href":"/api-reference/metro-north/list-metro-north-routes"},{"title":"Get Metro-North stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/routes/{route}/stops","href":"/api-reference/metro-north/get-metro-north-stops-for-a-route"},{"title":"Get Metro-North departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/departures","href":"/api-reference/metro-north/get-metro-north-departures"},{"title":"Get Metro-North vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/vehicles","href":"/api-reference/metro-north/get-metro-north-vehicles"},{"title":"Get Metro-North alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-north/alerts","href":"/api-reference/metro-north/get-metro-north-alerts"},{"title":"List MBTA stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/stops","href":"/api-reference/mbta/list-mbta-stations"},{"title":"List MBTA routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/routes","href":"/api-reference/mbta/list-mbta-routes"},{"title":"Get MBTA stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/routes/{route}/stops","href":"/api-reference/mbta/get-mbta-stops-for-a-route"},{"title":"Get MBTA departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/departures","href":"/api-reference/mbta/get-mbta-departures"},{"title":"Get MBTA vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/vehicles","href":"/api-reference/mbta/get-mbta-vehicles"},{"title":"Get MBTA alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/mbta/alerts","href":"/api-reference/mbta/get-mbta-alerts"},{"title":"List King County Metro stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/stops","href":"/api-reference/king-county-metro/list-king-county-metro-stations"},{"title":"List King County Metro routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/routes","href":"/api-reference/king-county-metro/list-king-county-metro-routes"},{"title":"Get King County Metro stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/routes/{route}/stops","href":"/api-reference/king-county-metro/get-king-county-metro-stops-for-a-route"},{"title":"Get King County Metro departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/departures","href":"/api-reference/king-county-metro/get-king-county-metro-departures"},{"title":"Get King County Metro vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/vehicles","href":"/api-reference/king-county-metro/get-king-county-metro-vehicles"},{"title":"Get King County Metro alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/king-county-metro/alerts","href":"/api-reference/king-county-metro/get-king-county-metro-alerts"},{"title":"List CapMetro stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/stops","href":"/api-reference/capmetro/list-capmetro-stations"},{"title":"List CapMetro routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/routes","href":"/api-reference/capmetro/list-capmetro-routes"},{"title":"Get CapMetro stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/routes/{route}/stops","href":"/api-reference/capmetro/get-capmetro-stops-for-a-route"},{"title":"Get CapMetro departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/departures","href":"/api-reference/capmetro/get-capmetro-departures"},{"title":"Get CapMetro vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/vehicles","href":"/api-reference/capmetro/get-capmetro-vehicles"},{"title":"Get CapMetro alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capmetro/alerts","href":"/api-reference/capmetro/get-capmetro-alerts"},{"title":"List BART stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/stops","href":"/api-reference/bart/list-bart-stations"},{"title":"List BART routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/routes","href":"/api-reference/bart/list-bart-routes"},{"title":"Get BART stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/routes/{route}/stops","href":"/api-reference/bart/get-bart-stops-for-a-route"},{"title":"Get BART departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/departures","href":"/api-reference/bart/get-bart-departures"},{"title":"Get BART vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/vehicles","href":"/api-reference/bart/get-bart-vehicles"},{"title":"Get BART alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bart/alerts","href":"/api-reference/bart/get-bart-alerts"},{"title":"List Tri-Rail stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/stops","href":"/api-reference/tri-rail/list-tri-rail-stations"},{"title":"List Tri-Rail routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/routes","href":"/api-reference/tri-rail/list-tri-rail-routes"},{"title":"Get Tri-Rail stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/routes/{route}/stops","href":"/api-reference/tri-rail/get-tri-rail-stops-for-a-route"},{"title":"Get Tri-Rail departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/departures","href":"/api-reference/tri-rail/get-tri-rail-departures"},{"title":"Get Tri-Rail vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/vehicles","href":"/api-reference/tri-rail/get-tri-rail-vehicles"},{"title":"Get Tri-Rail alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tri-rail/alerts","href":"/api-reference/tri-rail/get-tri-rail-alerts"},{"title":"List Brightline stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/stops","href":"/api-reference/brightline/list-brightline-stations"},{"title":"List Brightline routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/routes","href":"/api-reference/brightline/list-brightline-routes"},{"title":"Get Brightline stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/routes/{route}/stops","href":"/api-reference/brightline/get-brightline-stops-for-a-route"},{"title":"Get Brightline departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/departures","href":"/api-reference/brightline/get-brightline-departures"},{"title":"Get Brightline vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/vehicles","href":"/api-reference/brightline/get-brightline-vehicles"},{"title":"Get Brightline alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/brightline/alerts","href":"/api-reference/brightline/get-brightline-alerts"},{"title":"List Pace stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/stops","href":"/api-reference/pace/list-pace-stations"},{"title":"List Pace routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/routes","href":"/api-reference/pace/list-pace-routes"},{"title":"Get Pace stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/routes/{route}/stops","href":"/api-reference/pace/get-pace-stops-for-a-route"},{"title":"Get Pace departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/departures","href":"/api-reference/pace/get-pace-departures"},{"title":"Get Pace vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/vehicles","href":"/api-reference/pace/get-pace-vehicles"},{"title":"Get Pace alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/pace/alerts","href":"/api-reference/pace/get-pace-alerts"},{"title":"List Denver RTD stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/stops","href":"/api-reference/rtd/list-denver-rtd-stations"},{"title":"List Denver RTD routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/routes","href":"/api-reference/rtd/list-denver-rtd-routes"},{"title":"Get Denver RTD stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/routes/{route}/stops","href":"/api-reference/rtd/get-denver-rtd-stops-for-a-route"},{"title":"Get Denver RTD departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/departures","href":"/api-reference/rtd/get-denver-rtd-departures"},{"title":"Get Denver RTD vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/vehicles","href":"/api-reference/rtd/get-denver-rtd-vehicles"},{"title":"Get Denver RTD alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/rtd/alerts","href":"/api-reference/rtd/get-denver-rtd-alerts"},{"title":"List Metro Transit stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/stops","href":"/api-reference/metro-transit/list-metro-transit-stations"},{"title":"List Metro Transit routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/routes","href":"/api-reference/metro-transit/list-metro-transit-routes"},{"title":"Get Metro Transit stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/routes/{route}/stops","href":"/api-reference/metro-transit/get-metro-transit-stops-for-a-route"},{"title":"Get Metro Transit departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/departures","href":"/api-reference/metro-transit/get-metro-transit-departures"},{"title":"Get Metro Transit vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/vehicles","href":"/api-reference/metro-transit/get-metro-transit-vehicles"},{"title":"Get Metro Transit alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-transit/alerts","href":"/api-reference/metro-transit/get-metro-transit-alerts"},{"title":"List Pittsburgh Regional Transit stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/stops","href":"/api-reference/prt/list-pittsburgh-regional-transit-stations"},{"title":"List Pittsburgh Regional Transit routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/routes","href":"/api-reference/prt/list-pittsburgh-regional-transit-routes"},{"title":"Get Pittsburgh Regional Transit stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/routes/{route}/stops","href":"/api-reference/prt/get-pittsburgh-regional-transit-stops-for-a-route"},{"title":"Get Pittsburgh Regional Transit departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/departures","href":"/api-reference/prt/get-pittsburgh-regional-transit-departures"},{"title":"Get Pittsburgh Regional Transit vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/vehicles","href":"/api-reference/prt/get-pittsburgh-regional-transit-vehicles"},{"title":"Get Pittsburgh Regional Transit alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/prt/alerts","href":"/api-reference/prt/get-pittsburgh-regional-transit-alerts"},{"title":"List MARTA stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/stops","href":"/api-reference/marta/list-marta-stations"},{"title":"List MARTA routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/routes","href":"/api-reference/marta/list-marta-routes"},{"title":"Get MARTA stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/routes/{route}/stops","href":"/api-reference/marta/get-marta-stops-for-a-route"},{"title":"Get MARTA departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/departures","href":"/api-reference/marta/get-marta-departures"},{"title":"Get MARTA vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/vehicles","href":"/api-reference/marta/get-marta-vehicles"},{"title":"Get MARTA alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marta/alerts","href":"/api-reference/marta/get-marta-alerts"},{"title":"List VIA Metropolitan Transit stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/stops","href":"/api-reference/via/list-via-metropolitan-transit-stations"},{"title":"List VIA Metropolitan Transit routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/routes","href":"/api-reference/via/list-via-metropolitan-transit-routes"},{"title":"Get VIA Metropolitan Transit stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/routes/{route}/stops","href":"/api-reference/via/get-via-metropolitan-transit-stops-for-a-route"},{"title":"Get VIA Metropolitan Transit departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/departures","href":"/api-reference/via/get-via-metropolitan-transit-departures"},{"title":"Get VIA Metropolitan Transit vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/vehicles","href":"/api-reference/via/get-via-metropolitan-transit-vehicles"},{"title":"Get VIA Metropolitan Transit alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/via/alerts","href":"/api-reference/via/get-via-metropolitan-transit-alerts"},{"title":"List GCRTA stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/stops","href":"/api-reference/gcrta/list-gcrta-stations"},{"title":"List GCRTA routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/routes","href":"/api-reference/gcrta/list-gcrta-routes"},{"title":"Get GCRTA stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/routes/{route}/stops","href":"/api-reference/gcrta/get-gcrta-stops-for-a-route"},{"title":"Get GCRTA departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/departures","href":"/api-reference/gcrta/get-gcrta-departures"},{"title":"Get GCRTA vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/vehicles","href":"/api-reference/gcrta/get-gcrta-vehicles"},{"title":"Get GCRTA alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/gcrta/alerts","href":"/api-reference/gcrta/get-gcrta-alerts"},{"title":"List CATS stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/stops","href":"/api-reference/cats/list-cats-stations"},{"title":"List CATS routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/routes","href":"/api-reference/cats/list-cats-routes"},{"title":"Get CATS stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/routes/{route}/stops","href":"/api-reference/cats/get-cats-stops-for-a-route"},{"title":"Get CATS departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/departures","href":"/api-reference/cats/get-cats-departures"},{"title":"Get CATS vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/vehicles","href":"/api-reference/cats/get-cats-vehicles"},{"title":"Get CATS alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/cats/alerts","href":"/api-reference/cats/get-cats-alerts"},{"title":"List SacRT stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/stops","href":"/api-reference/sacrt/list-sacrt-stations"},{"title":"List SacRT routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/routes","href":"/api-reference/sacrt/list-sacrt-routes"},{"title":"Get SacRT stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/routes/{route}/stops","href":"/api-reference/sacrt/get-sacrt-stops-for-a-route"},{"title":"Get SacRT departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/departures","href":"/api-reference/sacrt/get-sacrt-departures"},{"title":"Get SacRT vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/vehicles","href":"/api-reference/sacrt/get-sacrt-vehicles"},{"title":"Get SacRT alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/sacrt/alerts","href":"/api-reference/sacrt/get-sacrt-alerts"},{"title":"List MARC stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/stops","href":"/api-reference/marc/list-marc-stations"},{"title":"List MARC routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/routes","href":"/api-reference/marc/list-marc-routes"},{"title":"Get MARC stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/routes/{route}/stops","href":"/api-reference/marc/get-marc-stops-for-a-route"},{"title":"Get MARC departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/departures","href":"/api-reference/marc/get-marc-departures"},{"title":"Get MARC vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/vehicles","href":"/api-reference/marc/get-marc-vehicles"},{"title":"Get MARC alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/marc/alerts","href":"/api-reference/marc/get-marc-alerts"},{"title":"List UTA stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/stops","href":"/api-reference/uta/list-uta-stations"},{"title":"List UTA routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/routes","href":"/api-reference/uta/list-uta-routes"},{"title":"Get UTA stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/routes/{route}/stops","href":"/api-reference/uta/get-uta-stops-for-a-route"},{"title":"Get UTA departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/departures","href":"/api-reference/uta/get-uta-departures"},{"title":"Get UTA vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/vehicles","href":"/api-reference/uta/get-uta-vehicles"},{"title":"Get UTA alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/uta/alerts","href":"/api-reference/uta/get-uta-alerts"},{"title":"List JTA stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/stops","href":"/api-reference/jta/list-jta-stations"},{"title":"List JTA routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/routes","href":"/api-reference/jta/list-jta-routes"},{"title":"Get JTA stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/routes/{route}/stops","href":"/api-reference/jta/get-jta-stops-for-a-route"},{"title":"Get JTA departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/departures","href":"/api-reference/jta/get-jta-departures"},{"title":"Get JTA vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/vehicles","href":"/api-reference/jta/get-jta-vehicles"},{"title":"Get JTA alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jta/alerts","href":"/api-reference/jta/get-jta-alerts"},{"title":"List Muni stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/stops","href":"/api-reference/muni/list-muni-stations"},{"title":"List Muni routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/routes","href":"/api-reference/muni/list-muni-routes"},{"title":"Get Muni stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/routes/{route}/stops","href":"/api-reference/muni/get-muni-stops-for-a-route"},{"title":"Get Muni departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/departures","href":"/api-reference/muni/get-muni-departures"},{"title":"Get Muni vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/vehicles","href":"/api-reference/muni/get-muni-vehicles"},{"title":"Get Muni alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/muni/alerts","href":"/api-reference/muni/get-muni-alerts"},{"title":"List Caltrain stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/stops","href":"/api-reference/caltrain/list-caltrain-stations"},{"title":"List Caltrain routes","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/routes","href":"/api-reference/caltrain/list-caltrain-routes"},{"title":"Get Caltrain stops for a route","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/routes/{route}/stops","href":"/api-reference/caltrain/get-caltrain-stops-for-a-route"},{"title":"Get Caltrain departures","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/departures","href":"/api-reference/caltrain/get-caltrain-departures"},{"title":"Get Caltrain vehicles","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/vehicles","href":"/api-reference/caltrain/get-caltrain-vehicles"},{"title":"Get Caltrain alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/caltrain/alerts","href":"/api-reference/caltrain/get-caltrain-alerts"},{"title":"Find Bay Wheels stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bay-wheels/stations","href":"/api-reference/bay-wheels/find-bay-wheels-stations"},{"title":"Get a Bay Wheels station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bay-wheels/stations/{id}","href":"/api-reference/bay-wheels/get-a-bay-wheels-station"},{"title":"Get Bay Wheels service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bay-wheels/alerts","href":"/api-reference/bay-wheels/get-bay-wheels-service-alerts"},{"title":"Find Divvy stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/divvy/stations","href":"/api-reference/divvy/find-divvy-stations"},{"title":"Get a Divvy station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/divvy/stations/{id}","href":"/api-reference/divvy/get-a-divvy-station"},{"title":"Get Divvy service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/divvy/alerts","href":"/api-reference/divvy/get-divvy-service-alerts"},{"title":"Find Bluebikes stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bluebikes/stations","href":"/api-reference/bluebikes/find-bluebikes-stations"},{"title":"Get a Bluebikes station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bluebikes/stations/{id}","href":"/api-reference/bluebikes/get-a-bluebikes-station"},{"title":"Get Bluebikes service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/bluebikes/alerts","href":"/api-reference/bluebikes/get-bluebikes-service-alerts"},{"title":"Find Capital Bikeshare stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capital-bikeshare/stations","href":"/api-reference/capital-bikeshare/find-capital-bikeshare-stations"},{"title":"Get a Capital Bikeshare station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capital-bikeshare/stations/{id}","href":"/api-reference/capital-bikeshare/get-a-capital-bikeshare-station"},{"title":"Get Capital Bikeshare service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/capital-bikeshare/alerts","href":"/api-reference/capital-bikeshare/get-capital-bikeshare-service-alerts"},{"title":"Find Biketown stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/biketown/stations","href":"/api-reference/biketown/find-biketown-stations"},{"title":"Get a Biketown station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/biketown/stations/{id}","href":"/api-reference/biketown/get-a-biketown-station"},{"title":"Get Biketown service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/biketown/alerts","href":"/api-reference/biketown/get-biketown-service-alerts"},{"title":"Find Indego stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/indego/stations","href":"/api-reference/indego/find-indego-stations"},{"title":"Get a Indego station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/indego/stations/{id}","href":"/api-reference/indego/get-a-indego-station"},{"title":"Get Indego service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/indego/alerts","href":"/api-reference/indego/get-indego-service-alerts"},{"title":"Find Metro Bike Share stations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-bike-share/stations","href":"/api-reference/metro-bike-share/find-metro-bike-share-stations"},{"title":"Get a Metro Bike Share station","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-bike-share/stations/{id}","href":"/api-reference/metro-bike-share/get-a-metro-bike-share-station"},{"title":"Get Metro Bike Share service alerts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/metro-bike-share/alerts","href":"/api-reference/metro-bike-share/get-metro-bike-share-service-alerts"}]}]}]},"basePath":"","title":"mta.bus.vehicles() — live bus positions by route - MTA API","deploymentId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","buildId":"dpl_DPZjiNpvAcGiwobuijLfKPtJL4Ux","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-Cn6jN7s-.js","snippetPresets-DjcjTu_l.js","utils-CgDfAybK.js","style-to-object-BY3JEAdk.js","utils-BRh9RHH1.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ekgQXnrs.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DQ8efB5G.js","_Uint8Array-DxysT0ia.js","isObject-FP1Yky1u.js","Page-tKmt1iGP.js","api-description-markdown-KtPg6U4T.js","DynamicMarkdown-Ch7bkVSN.js","CodeSnippet-NZAMx71T.js","use-playground-group-access-BeZ_TnTl.js","SectionHeading-Cj70Qp9A.js","ApiExamples-B4Dcm0cf.js","usePlaygroundInputsStore-CDeMD38v.js","shallow-BG_m8ALL.js","isEqual-DPm32SJd.js","CodeSnippets-DQz1R-UZ.js","MethodPill-BAy1jSVY.js","getPastedJson-BX84PZ05.js","Check2Icon-B6AWYcHm.js","axios-CsQoIw0U.js","Markdown-CfiTBZoc.js","AssistantPageLink-SRAvT1Bg.js","dist-CnoXsf9u.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}