Tesla JSON API (Unofficial)
GitHub
Tesla
Search…
Introduction
API Basics
Authentication
Vehicles
Energy Products
Vehicle
State
Data
Charge State
Climate State
Drive State
GUI Settings
Vehicle State
Vehicle Config
Mobile Enabled
Nearby Charging Sites
Commands
Streaming
Autopark/Summon
Option Codes
Energy Products
Overview
Miscellaneous
Endpoints File
Powered By
GitBook
Drive State
GET
/api/1/vehicles/{id}/data_request/drive_state
Returns the driving and position state of the vehicle.
Response
1
{
2
"response"
:
{
3
"gps_as_of"
:
1543187664
,
4
"heading"
:
8
,
5
"latitude"
:
33.111111
,
6
"longitude"
:
-88.111111
,
7
"native_latitude"
:
33.111111
,
8
"native_location_supported"
:
1
,
9
"native_longitude"
:
-88.111111
,
10
"native_type"
:
"wgs"
,
11
"power"
:
0
,
12
"shift_state"
:
null
,
13
"speed"
:
null
,
14
"timestamp"
:
1543187666472
15
}
16
}
Copied!
Previous
Climate State
Next
GUI Settings
Last modified
1mo ago
Copy link
Edit on GitHub
Contents
GET /api/1/vehicles/{id}/data_request/drive_state
Response