Tesla API guide

tesla.com

Use Tesla to list the vehicles and energy sites on your account, check charging status, and review charging costs by date range.

Actions and inputs

products

List the vehicles and energy sites linked to your account.

charging

Check charging status for your vehicle.

cost ledger

Summarize charging costs over a chosen period, split between home and Supercharger sessions.

Inputs lookback period

Charging schedules

Create

Add a scheduled charging window in the Tesla app for a vehicle you own, where supported.

Inputs Vehicle, charging times, repeat days

Read

Review the saved charging windows and current charging status without reading vehicle location.

Inputs Authorized vehicle

Update

Change the start time, end time, or repeat days of a schedule on your vehicle without starting a live charging session.

Inputs Vehicle, existing schedule, revised times or days

Delete

Remove the selected charging schedule from your vehicle without issuing a live charging command.

Inputs Vehicle, schedule, removal confirmation