Odometer API

Verify mileage instantly

Access the odometer reading from cars across brands with a single API.

Distance

Retrieve the total distance traveled by a vehicle.

Node

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
const smartcar = require('smartcar');

// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicleIds("<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();
console.log(odometer);
// Example response from Smartcar
{
  "distance": 104.32
}

Product features

Access to live car mileage

Access to live car mileage

Compatible with 14 brands

Compatible with 14 brands

API SDKs in Node.js, Python, and Java

API SDKs in Node.js, Python, and Java

No aftermarket hardware

No aftermarket hardware

Use cases

Peer-to-peer car sharing

On-demand car wash

Check the odometer reading of your customers' vehicles immediately before and after each car rental.

Monitor the odometer reading of your customers' vehicles to know when they need their next car wash.

Peer-to-peer car sharing

Check the odometer reading of your customers' vehicles immediately before and after each car rental.

On-demand car wash

Monitor the odometer reading of your customers' vehicles to know when they need their next car wash.

Ready to get started?

Get Started

Ready to get started?

Get Started