Historical travel time using Calculate a Distance Matrix

Dahlia 1 Reputation point
2022-01-18T23:08:12.473+00:00

Can Calculate a Distance Matrix be used to get historical/past travel times by entering a past date as the startTime parameter?

The docs state the following description for the startTime parameter, which does not answer the above question:
Optional for Driving. Specifies the start or departure time of the matrix to calculate and /=uses predictive traffic data. This should be a date string in a format that can be parsed by DateTimeOffset.Parse. This option is only supported when the travel mode is set to driving.
Example: startTime=2017-06-15T8:00:00-07:00

https://learn.microsoft.com/en-us/bingmaps/rest-services/routes/calculate-a-distance-matrix

Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2022-01-20T01:27:58.543+00:00

    Hi @Dahlia ,

    Our underlying Routing API would use historical averages to do the calculation for routes in the past as well as the future. Only current trips will use live traffic.

    Sincerely,
    IoTGirl

    0 comments No comments