APIs/Connected Vehicle API
APIs/Connected Vehicle API

Statistics

Get statistics

Endpoint used to get vehicle values grouped under the category of statistics. The latest retrieved value is presented upon a successful execution.

get

https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/statistics

Scopes

  • openid

  • conve:trip_statistics

Headers

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

Response body

The response’s data node lists the vehicle’s latest statistic values.

The vehicle have two trip meters, tripMeter1 and tripMeter2. This enables calculations between two different journeys in separate trip meter readings.

FieldDescription

Examples

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

Statistics/Get statistics