Is there an API to retrieve total distance travelled by a car in a day?

I need to compute the total distance that has been travelled by a car in a day? Is there any API that can help?

Hi James

The most accurate way to do this would be to read the odometer from the car via OBDII, but this is not supported by all vehicles, so you will likely need to look into the situation for your specific vehicle. There might be a PID that can do this, but it is also possible that you will need to request or listen for some specifc traffic on the CAN bus.

Alternatively, less accurately you could use the trips to do this, they can be retrieved via the API.
Find out more here:

Best regards,

This topic was automatically closed 33 days after the last reply. New replies are no longer allowed.