Try using the Routes API (https://developers.google.com/maps/documentation/routes) with routingPreference set to "TRAFFIC_AWARE". This will give the index and travel speed along your route, which you can visualize by drawing a custom polyline in the color of your choice (https://blog.afi.io/blog/plan-a-route-with-multiple-stops-using-the-routes-api/).