Data

GET /api/1/vehicles/{id}/vehicle_data

A rollup of all the data_request endpoints plus vehicle configuration.
Note: all *_range values are in miles, irrespective of GUI configuration.

Response

1
{
2
"response": {
3
"id": 12345678901234567,
4
"user_id": 123,
5
"vehicle_id": 1234567890,
6
"vin": "5YJSA11111111111",
7
"display_name": "Nikola 2.0",
8
"option_codes": "AD15,MDL3,PBSB,RENA,BT37,ID3W,RF3G,S3PB,DRLH,DV2W,W39B,APF0,COUS,BC3B,CH07,PC30,FC3P,FG31,GLFR,HL31,HM31,IL31,LTPB,MR31,FM3B,RS3H,SA3P,STCP,SC04,SU3C,T3CA,TW00,TM00,UT3P,WR00,AU3P,APH3,AF00,ZCST,MI00,CDM0",
9
"color": null,
10
"access_type": "OWNER",
11
"tokens": ["abcdef1234567890", "1234567890abcdef"],
12
"state": "online",
13
"in_service": false,
14
"id_s": "12345678901234567",
15
"calendar_enabled": true,
16
"api_version": 13,
17
"backseat_token": null,
18
"backseat_token_updated_at": null,
19
"drive_state": {
20
"gps_as_of": 1607623884,
21
"heading": 5,
22
"latitude": 33.111111,
23
"longitude": -88.111111,
24
"native_latitude": 33.111111,
25
"native_location_supported": 1,
26
"native_longitude": -88.111111,
27
"native_type": "wgs",
28
"power": -9,
29
"shift_state": null,
30
"speed": null,
31
"timestamp": 1607623897515
32
},
33
"climate_state": {
34
"battery_heater": false,
35
"battery_heater_no_power": false,
36
"climate_keeper_mode": "off",
37
"defrost_mode": 0,
38
"driver_temp_setting": 21.1,
39
"fan_status": 0,
40
"inside_temp": 22.1,
41
"is_auto_conditioning_on": false,
42
"is_climate_on": false,
43
"is_front_defroster_on": false,
44
"is_preconditioning": false,
45
"is_rear_defroster_on": false,
46
"left_temp_direction": -66,
47
"max_avail_temp": 28.0,
48
"min_avail_temp": 15.0,
49
"outside_temp": 18.0,
50
"passenger_temp_setting": 21.1,
51
"remote_heater_control_enabled": false,
52
"right_temp_direction": -66,
53
"seat_heater_left": 0,
54
"seat_heater_right": 0,
55
"side_mirror_heaters": false,
56
"timestamp": 1607623897515,
57
"wiper_blade_heater": false
58
},
59
"charge_state": {
60
"battery_heater_on": false,
61
"battery_level": 59,
62
"battery_range": 149.92,
63
"charge_current_request": 40,
64
"charge_current_request_max": 40,
65
"charge_enable_request": true,
66
"charge_energy_added": 2.42,
67
"charge_limit_soc": 90,
68
"charge_limit_soc_max": 100,
69
"charge_limit_soc_min": 50,
70
"charge_limit_soc_std": 90,
71
"charge_miles_added_ideal": 10.0,
72
"charge_miles_added_rated": 8.0,
73
"charge_port_cold_weather_mode": null,
74
"charge_port_door_open": true,
75
"charge_port_latch": "Engaged",
76
"charge_rate": 28.0,
77
"charge_to_max_range": false,
78
"charger_actual_current": 40,
79
"charger_phases": 1,
80
"charger_pilot_current": 40,
81
"charger_power": 9,
82
"charger_voltage": 243,
83
"charging_state": "Charging",
84
"conn_charge_cable": "SAE",
85
"est_battery_range": 132.98,
86
"fast_charger_brand": "<invalid>",
87
"fast_charger_present": false,
88
"fast_charger_type": "<invalid>",
89
"ideal_battery_range": 187.4,
90
"managed_charging_active": false,
91
"managed_charging_start_time": null,
92
"managed_charging_user_canceled": false,
93
"max_range_charge_counter": 0,
94
"minutes_to_full_charge": 165,
95
"not_enough_power_to_heat": false,
96
"scheduled_charging_pending": false,
97
"scheduled_charging_start_time": null,
98
"time_to_full_charge": 2.75,
99
"timestamp": 1607623897515,
100
"trip_charging": false,
101
"usable_battery_level": 59,
102
"user_charge_enable_request": null
103
},
104
"gui_settings": {
105
"gui_24_hour_time": false,
106
"gui_charge_rate_units": "mi/hr",
107
"gui_distance_units": "mi/hr",
108
"gui_range_display": "Rated",
109
"gui_temperature_units": "F",
110
"show_range_units": true,
111
"timestamp": 1607623897515
112
},
113
"vehicle_state": {
114
"api_version": 13,
115
"autopark_state_v2": "standby",
116
"autopark_style": "standard",
117
"calendar_supported": true,
118
"car_version": "2020.48.10 f8900cddd03a",
119
"center_display_state": 0,
120
"df": 0,
121
"dr": 0,
122
"fd_window": 0,
123
"fp_window": 0,
124
"ft": 0,
125
"homelink_device_count": 2,
126
"homelink_nearby": true,
127
"is_user_present": false,
128
"last_autopark_error": "no_error",
129
"locked": false,
130
"media_state": { "remote_control_enabled": true },
131
"notifications_supported": true,
132
"odometer": 57869.762487,
133
"parsed_calendar_supported": true,
134
"pf": 0,
135
"pr": 0,
136
"rd_window": 0,
137
"remote_start": false,
138
"remote_start_enabled": true,
139
"remote_start_supported": true,
140
"rp_window": 0,
141
"rt": 0,
142
"sentry_mode": false,
143
"sentry_mode_available": true,
144
"smart_summon_available": true,
145
"software_update": {
146
"download_perc": 0,
147
"expected_duration_sec": 2700,
148
"install_perc": 1,
149
"status": "",
150
"version": ""
151
},
152
"speed_limit_mode": {
153
"active": false,
154
"current_limit_mph": 85.0,
155
"max_limit_mph": 90,
156
"min_limit_mph": 50,
157
"pin_code_set": false
158
},
159
"summon_standby_mode_enabled": false,
160
"sun_roof_percent_open": 0,
161
"sun_roof_state": "closed",
162
"timestamp": 1607623897515,
163
"valet_mode": false,
164
"valet_pin_needed": true,
165
"vehicle_name": null
166
},
167
"vehicle_config": {
168
"can_accept_navigation_requests": true,
169
"can_actuate_trunks": true,
170
"car_special_type": "base",
171
"car_type": "models2",
172
"charge_port_type": "US",
173
"default_charge_to_max": false,
174
"ece_restrictions": false,
175
"eu_vehicle": false,
176
"exterior_color": "White",
177
"has_air_suspension": true,
178
"has_ludicrous_mode": false,
179
"motorized_charge_port": true,
180
"plg": true,
181
"rear_seat_heaters": 0,
182
"rear_seat_type": 0,
183
"rhd": false,
184
"roof_color": "None",
185
"seat_type": 2,
186
"spoiler_type": "None",
187
"sun_roof_installed": 2,
188
"third_row_seats": "None",
189
"timestamp": 1607623897515,
190
"trim_badging": "p90d",
191
"use_range_badging": false,
192
"wheel_type": "AeroTurbine19"
193
}
194
}
195
}
Copied!

GET /api/1/vehicles/{id}/data

A "legacy" version of the data endpoint.

Response

Currently, this has the exact same response structure as the newer vehicle_data endpoint.
Last modified 9mo ago