v1

latestOpenAPI 3.0.0Apache 2.02026-07-26916119.7 KB
Vehicle Data

Get Charges

Returns the charges for a vehicle.

get/{vin}/charges

Query parameters

distance_format'mi' | 'km'

Whether to return data in miles or kilometers.

format'json' | 'csv'

Whether to output the results in JSON or CSV.

superchargers_onlyboolean

Whether to only include charges from Superchargers.

origin_latitudenumber
Example:37.4925

The latitude of the charging station.

origin_longitudenumber
Example:121.9447

The longitude of the charging station.

origin_radiusnumber
Example:80

The radius from the charging station, in meters.

exclude_originboolean

Whether to exclude the charging station.

timezonestring

The IANA timezone name.

fromnumber

The start of the timeframe. Unix timestamp in seconds.

tonumber

The end of the timeframe. Unix timestamp in seconds.

minimum_energy_addednumber
Example:1

The minimum energy added to the battery, in kWh.

limitnumber

The maximum number of results.

Response

Success