Odometer API
Check a car’s odometer reading instantly, accurately, and cost-effectively with Smartcar’s APIs.
Retrieve the total mileage traveled by a vehicle.
const smartcar = require('smartcar');
// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicles("<access-token>");
// Construct a new vehicle instance using the first vehicle's id
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");
// Fetch the vehicle's odometer
const odometer = await vehicle.odometer();
// Example http response from Smartcar
{
"distance": 104.32
}
Reduce premium leakage from underreported mileage or offer pay-per-mile insurance.
Learn more about auto insuranceSimplify fleet tracking and predictive maintenance with our hardware-free telematics APIs.
Learn more about fleet managementSmartcar is the easiest way to integrate mobility apps and services with cars.