Query vehicle details

Vehicle data is useful to display more information about a vehicle. The vehicle query is used to access this data. Looking for more data? Use the vehiclePremium query. Please contact us for more information on how to get access to our premium data set.

Query vehicle details

Render all the ins and outs about a vehicle.

Query vehicle details

Query

To get specific details about a vehicle it is necessary to provide a vehicleId. This id can be obtained by using the vehicleList query.

Arguments

id ID

Required

Vehicles unique ID.

country CountryCodeAlpha2

ISO-3166 alpha-2 country code to apply localization on vehicle data if available.

Show CountryCodeAlpha2 enum values

Frequently used fields

id ID

Vehicles unique ID.

naming VehicleNaming

Naming of the vehicle.

connectors VehicleConnector

Available connectors for the vehicle.

availability VehicleAvailability

Availability of the vehicle.

Other fields

drivetrain VehicleDrivetrain

Drivetrain of the vehicle.

adapters VehicleConnector

Adapters for the connectors of the vehicle.

battery VehicleBattery

Battery of the vehicle.

body VehicleBody

Body of the vehicle.

performance VehiclePerformance

Performance of the vehicle.

range VehicleRange

Range of the vehicle.

media VehicleMedia

Media of the vehicle.

routing VehicleRouting

Routing of the vehicle.

connect Connect

Information about vehicle connectivity.

region VehicleRegion

Regions in which the vehicle is available. Based on the continent code (CC) standard.

Show VehicleRegion enum values

purpose VehiclePurpose

Vehicle intended use. Can be passenger, cargo, or utility.

Show VehiclePurpose enum values

type VehicleType

Type of vehicle.

Show VehicleType enum values

Response

A response can either contain a data or an errors object. The response header will always return 200 as a status code.

Data object

When successful, a data object will be returned with the requested fields. If there are no fields present the data object will return the operation name with the appropriate return type. If the operation was a query, this output will be an object of the schema’s query root type; if the operation was a mutation, this output will be an object of the schema’s mutation root type.

Error object

If unsuccessful, an errors object will be returned with more details in the extensions object. The error object can contain any of the following objects.