API Documentation
The REST API provides simple interfaces to most of the data available on the 511NY website. The REST API enables developers to access essential data on the 511NY website including Traffic Speeds, Incidents, Roadwork, and Cameras. This API enables developers to create mobile traffic apps for New York.
Notes:- Requires a developer key. For most calls, query strings key={developerKey} and format={XmlOrJson} is required.
- Throttling is enabled. 10 calls every 60 seconds.
Developer API Key
A registered account is needed before you can sign up for a Developer API key. For new users, sign up for an account; otherwise log in and then you can request for an API key here. The Developer API key info will display here as well.
The following outlines the resources available via the 511NY API.
Resource | Description |
---|---|
GET GetEvents |
Returns all event types. |
GET GetRoadways |
Returns all roadway names. |
GET GetCameras |
Returns all cameras. |
GET GetMessageSigns |
Returns all VMS. |
GET GetAlerts |
Returns all traffic alerts. |
GET GetWinterRoadConditions |
Returns all winter road conditions. |