Vehicle Endpoints
Oil Life
Returns the remaining life span of a vehicle’s engine oil.
GET
/v2.0/vehicles/{id}/engine/oil
Permission
read_engine_oil
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/engine/oil" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
lifeRemaining
number
The engine oil’s remaining life span based on the current quality of the oil as percent.
1
indicates the oil was changed recently and 0
indicates the oil should be changed immediately.
It is not a representation of how much oil is left in the vehicle.
{
"lifeRemaining": 0.35
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/engine/oil" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"lifeRemaining": 0.35
}