endpoints

Odometer API

Smartcar's odometer API endpoint lets app developers read a vehicle's odometer remotely using simple HTTP requests. Access a car's mileage information for any vehicle brand, anytime, hardware-free.

Meet our odometer API

Our odometer API endpoint returns the total distance traveled by a vehicle, regardless of the make or model. The best part? You won't need to use any aftermarket hardware like mileage trackers, OBD2 dongles, or GPS tracking devices. Try it out today - it's as easy as a few lines of code!

Features

Works across car brands
Works across car brands
SDKs in six languages
SDKs in six languages
Self-service experience
Self-service experience
No aftermarket hardware
No aftermarket hardware
Reliable customer support
Reliable customer support
Scalable pay-as-you-go pricing
Scalable pay-as-you-go pricing

Our SDKs

Our RESTful API is fast, reliable, and easy to use with every tech stack. No matter which language you used to build your mobile or web app, our documentation includes six SDKs and several integration guides. Here is a sneak peek of how the odometer endpoint looks in our back-end SDKs:
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
const smartcar = require('smartcar');
 
// List all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicleIds("<access-token>"); 
 
// Use the first vehicle
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");
 
// Fetch the vehicle's odometer
const odometer = await vehicle.odometer();
console.log(odometer);

Use cases

Peer-to-peer car sharing

On-demand car wash

Use Smartcar's odometer API endpoint for a more seamless user experience in your peer-to-peer car sharing app. Our API lets you pull a vehicle's odometer reading before and after each car rental, making pickup and dropoff easier for both vehicle owners and renters. Car owners can remotely check their vehicle's mileage before and after the rental. Renters can pick up and drop off the car without taking photos or otherwise manually reporting how many miles they drove.

Use Smartcar's odometer API endpoint to make on-demand car wash easier for your users and your technicians. Automatically pull a car's odometer reading before and after each car wash that includes interior detailing. Your users can verify their car's mileage before and after the appointment to make sure it hasn't budged an inch. Your technician can start and finish each car wash worry-free, without taking photos or otherwise manually documenting the vehicle's odometer reading.

Peer-to-peer car sharing

Use Smartcar's odometer API endpoint for a more seamless user experience in your peer-to-peer car sharing app. Our API lets you pull a vehicle's odometer reading before and after each car rental, making pickup and dropoff easier for both vehicle owners and renters. Car owners can remotely check their vehicle's mileage before and after the rental. Renters can pick up and drop off the car without taking photos or otherwise manually reporting how many miles they drove.

On-demand car wash

Use Smartcar's odometer API endpoint to make on-demand car wash easier for your users and your technicians. Automatically pull a car's odometer reading before and after each car wash that includes interior detailing. Your users can verify their car's mileage before and after the appointment to make sure it hasn't budged an inch. Your technician can start and finish each car wash worry-free, without taking photos or otherwise manually documenting the vehicle's odometer reading.