GET

/v2.0/vehicles/{id}/fuel

Permission

read_fuel

This endpoint is officially supported in the US only. We cannot guarantee it will be availble in other regions.

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}/fuel" \
    -H "Authorization: Bearer {token}" \
    -X "GET"

Response

If you’re receiving a SERVER:INTERNAL error, please reach out to support.

amountRemaining
number

The remaining level of fuel in the tank as a percents.

percentRemaining
Default: "liters"
number

The amount of fuel in the tank.

range
Default: "meters"
number

The estimated remaining distance the car can travel.

{
  "amountRemaining": 53.2,
  "percentRemaining": 0.3,
  "range": 40.5
}