API Documentation
The REST API provides simple interfaces to most of the data available on the New Brunswick 511 website. The REST API enables developers to access essential data on the New Brunswick 511 website including Road Conditions, Cameras, Ferries, Events, Advisories. This API enables developers to create mobile traffic apps for New Brunswick.
Notes:- Requires a developer key. For most calls, query string 'key' parameter is required.
- Throttling is enabled. Ten 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 New Brunswick 511 API.
Resource | Description |
---|---|
Road Conditions |
Returns current road conditions. |
Cameras |
Returns all cameras. |
Ferries |
Returns all ferry terminals. |
Events |
Returns all traffic events. |
Advisories |
Returns all advisories. |