511 SF Bay’s Portal for Open Traffic Data. Data is free and available using a token.
Once you have obtained your API token, you can use the data endpoint below to obtain traffic incident and event data from major highways in the San Francisco Bay Area. The traffic event API has been updated recently to include enhanced content. In addition to road closure geometries, this API now provides additional data to help end users with more precise information.
The default rate limit per API token is 60 requests per 3600 seconds. If you need increased rate limit for your purpose, please send your request to firstname.lastname@example.org without including your API Key. For more detail on these data endpoints, you can download the technical specification.
Traffic Events API
Provides all active and planned incidents and events on all major highways in the nine county San Francisco Bay Area
- Endpoint: http://api.511.org/traffic/events?api_key=[your_key]
- Allowable parameters: please consult the technical document
Want to use 511 Open Data APIs?
Here's a short text of the process. And don't forget to check the Terms & Conditions of usage.