APIs/Connected Vehicle APIVersion 2
APIs/Connected Vehicle APIVersion 2

Fuel

Get fuel amount

Endpoint used to get vehicle’s latest fuel amount in litres and/or battery charge level. The data returned will differ dependent on whether the vehicle is using diesel/petrol, a battery, or both, to power engine of the vehicle.

get

https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/fuel

Scopes

  • openid

  • conve:fuel_status

  • conve:battery_charge_level

Headers

All these header values are mandatory. They must exist in every request.

Response body

The response’s data node lists the vehicle’s latest fuel amount.

Examples

curl -X GET 'https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/fuel' \
  -H 'accept: application/json' \
  -H 'authorization: Bearer <your-access-token>' \
  -H 'vcc-api-key: <your-vcc-api-key>'

/