Trip Planner

Endpoints for Trip Planner

Plans a route based on the vehicle specifications and charge state. Trips that require charging will set waypoints based on Tesla Supercharger locations along the route.

POST trip-planner/api/v1/tripplan

Request a trip plan based on the car model, origin, destination and remaining charge.

Request body parameters

Field
Example
Description

car_trim

74D

Car Model Variant

car_type

ModelY

Car model

destination

37.485767,-122.240207

Destination Latitude and Longitude, separated by comma

origin

37.79307,-125.108

Origin Latitude and Longitude, separated by comma

origin_soe

0.64

State of energy (charging) on the origin. Values goes from 0.0 to 1.0

vin

5YJSA11111111111

Car VIN

Request body

{
  "car_trim": "74D",
  "car_type": "ModelY",
  "destination": "37.485767,-122.340207",
  "origin": "37.79307,-125.108",
  "origin_soe": 0.64,
  "vin": "5YJSA11111111111"
}

Reponse

Last updated