Tesla API
  • Tesla API
  • Authentication
    • OAuth
    • User
  • Products
    • List
  • Vehicles
    • List
    • State And Settings
    • Commands
  • Powerwalls
    • State And Settings
    • Commands
  • Energy Sites
    • State And Settings
    • Commands
  • Preferences
    • Device
    • Subscriptions
    • Notifications
  • Logs
    • Diagnostics
    • Logs
  • Codes
    • Model S Options
    • Model X Options
Powered by GitBook
On this page
  • Battery Status
  • Battery Data
  • Battery Power Time-series Data
  • Battery Energy Time-series Data
  1. Powerwalls

State And Settings

Work In Progress

Battery Status

GET https://owner-api.teslamotors.com/api/1/powerwalls/:battery_id/status

Path Parameters

Name
Type
Description

:battery_id

integer

The {battery_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Battery Data

GET https://owner-api.teslamotors.com/api/1/powerwalls/:battery_id

Path Parameters

Name
Type
Description

:battery_id

integer

The {battery_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Battery Power Time-series Data

GET https://owner-api.teslamotors.com/api/1/powerwalls/:battery_id/powerhistory

Path Parameters

Name
Type
Description

:battery_id

integer

The {battery_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

Battery Energy Time-series Data

GET https://owner-api.teslamotors.com/api/1/powerwalls/:battery_id/energyhistory

Path Parameters

Name
Type
Description

:battery_id

integer

The {battery_id} from the products list

Headers

Name
Type
Description

Authorization

string

Bearer {access_token} from authentication

PreviousCommandsNextCommands

Last updated 6 years ago