Shriyak Shah
Shriyak Shah

Reputation: 41

Get traffic data

Are there any public APIs or reference documentation which provide real-time traffic data (number of vehicles, road congestion's/blocks etc...) between 2 points? I have researched in Google Maps API and several other APIs which provide traffic data(MapQuest, Bing Maps, TomTom etc...) but they don't how the data is being represented on maps. Any help to this would be appreciated. Thank You.

Upvotes: 2

Views: 10290

Answers (1)

rbrundritt
rbrundritt

Reputation: 17974

Some departments of transportation have services that provide car counts, but these would be limited to their area of focus and likely only available in a hand full of places. Traffic data is not based on car count information alone. A lot of higher resolution traffic data uses other signals to measure traffic more accurately.

Take a look at Azure Maps. All the traffic data they provide in their map controls is also available as data in a REST service, even the data used to generate the traffic flow maps. Here is some useful links:

Traffic REST API: https://learn.microsoft.com/en-us/rest/api/maps/traffic

Getting Started with Azure Maps: https://learn.microsoft.com/en-us/azure/azure-maps/how-to-manage-account-keys

Upvotes: 1

Related Questions