API Documentation
The REST API provides simple interfaces to most of the data available on the Ontario 511 website. The REST API enables developers to access essential data on the Ontario 511 website including Events, Construction, Cameras, Road Conditions, Transit Hubs, Carpool Lots, Ferries, Service Centres, Travel Info Centres, HOT / HOV, Truck Rest Areas, Inspection Stations, Roundabouts, Seasonal Loads, Rest Areas, Alerts. This API enables developers to create mobile traffic apps for Ontario.
Notes:- Throttling is enabled. Ten calls every 60 seconds.
The following outlines the resources available via the Ontario 511 API.
Resource | Description |
---|---|
Events |
Returns all traffic events. |
Construction |
Returns all construction projects. |
Cameras |
Returns all cameras. |
Road Conditions |
Returns current road conditions. |
Transit Hubs |
Returns all transit hubs. |
Carpool Lots |
Returns all carpool lots. |
Ferries |
Returns all ferry terminals. |
Service Centres |
Returns all service centers. |
Travel Info Centres |
Returns all travel information centers. |
HOT / HOV |
Returns all HOT/HOV lanes. |
Truck Rest Areas |
Returns all truck rest areas. |
Inspection Stations |
Returns all inspection stations. |
Roundabouts |
Returns all roundabouts. |
Seasonal Loads |
Returns all seasonal loads. |
Rest Areas |
Returns all rest areas. |
Alerts |
Returns all alert notifications. |