SFMTA (San Francisco Municipal Transportation Agency) API provides access to real-time transit data, schedules, and route information for San Francisco’s public transportation system.
Need a new key? Generate one in your SFMTA developer dashboard.
3
Use it
You can now use prompts with the integration to access transit data.Some examples:
Get real-time bus arrivals using /SFMTA
Show transit routes with /SFMTA
Create a transit tracker using /SFMTA
The API limits how often your app can fetch data. If your app loads the same data often, ask the agent to save it locally so it doesn’t re-fetch every time.
Example prompt for optimization:
Copy
Ask AI
When using /SFMTA, save the transit schedules so my app doesn't have to fetch them again
Your SFMTA integration is now ready! Use the /SFMTA command in chat to access San Francisco transit data.
Was this page helpful?
⌘I
Assistant
Responses are generated using AI and may contain mistakes.