SFMTA
Access San Francisco transit data
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.
Overview
Create Account
Sign up for an SFMTA developer account
Get API Key
Generate your SFMTA API key
Copy into Create
Add your API key to Create’s secrets
Account Creation
Visit SFMTA Developer Portal
Go to https://511.org/open-data and click “Request a Token”
Register for an Account
- Fill in your developer information
- Describe your intended API usage
- Complete the verification process
Generate API Key
Copy Your API Key
- The requested token will be found in the sent email
- Copy the token found in the email
Keep your API key secure - it grants access to your SFMTA API quota
Add to Create Project
Add the integration
- In your Create project, type
/
in the chat - Select “SFMTA” from the menu
Add your API key
- Paste your API key into the “SFMTA_API_KEY” field
Need a new key? Generate one in your SFMTA developer dashboard.
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
API has rate limits - implement caching for frequently accessed data.
Example prompt for optimization:
Your SFMTA integration is now ready! Use the /SFMTA
command in chat to access San Francisco transit data.
Was this page helpful?