I observed the trafficDelayInSeconds always 0 in my test cases using Route API. Remaining parameters varying. How the Delay is calculating?
Thank you for your question! Indeed the ‘trafficDelayInSeconds’ can be 0. May I ask if you added the ‘traffic=true’ query parameter in your API call? and perhaps are you trying the API at different times?
As well, the delay is calculated having the real time or historical traffic information available at the moment. Specially if you are calculating a route in the future… the delay comes from historical data.
I hope this can help.