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 a new user, register for an account; otherwise sign up for a Developer API Key after you have already logged in. The Developer API key info is located at the bottom of the Manage Account page.
The following outlines the resources available via the 511NY API.
Resource | Description |
---|---|
GET GetMainlineLinkDefinitions |
Returns all link definitions for which a link status exists. |
GET GetMainlineLinkStatuses |
Returns all link status. |
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. |