v1

latestOpenAPI 3.0.32026-07-13353343.5 KB
Tesla

Retrieve compass heading for a Tesla.

Description

This endpoint returns the compass heading of a Tesla. The value is in degrees, with 0 degrees being North.

get/vehicles/{vehicle_id}/tesla/compass

Response

returns the compass heading of a Tesla.

direction'N' | 'NE' | 'E' | 'SE' | 'S' | 'SW' | 'W' | 'NW'

The direction the vehicle is traveling.

headingnumber float

The direction the vehicle is traveling (in degrees).

Example response

{
  "direction": "N",
  "heading": 90
}