Engine Oil Life API
Check the status of a vehicle’s engine oil life using Smartcar’s APIs.
Retrieve the remaining life span of a vehicle’s engine oil.
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 engine oil life
const oil = await vehicle.oil();
// Example http response from Smartcar
{
"lifeRemaining": 0.35
}
Offer automatic engine oil life checks as part of your fleet management software and predictive maintenance products.
Learn more about fleet managementInvite customers to schedule a maintenance visit when their vehicle’s engine oil reaches the end of its recommended life span.
Learn more about on-demand servicesSmartcar is the easiest way to integrate mobility apps and services with cars.