Tesla JSON API (Unofficial)
GitHubTesla
  • Introduction
  • API Basics
    • Authentication
    • Users
    • Vehicles
    • Energy Products
    • Trip Planner
  • Vehicle
    • State
      • Data
      • Charge State
      • Climate State
      • Drive State
      • GUI Settings
      • Vehicle State
      • Vehicle Config
      • Mobile Enabled
      • Nearby Charging Sites
      • Miscellaneous
    • Commands
      • Wake
      • Alerts
      • Remote Start
      • Homelink
      • Speed Limit
      • Valet Mode
      • Sentry Mode
      • Doors
      • Frunk/Trunk
      • Windows
      • Sunroof
      • Charging
      • Climate
      • Media
      • Sharing
      • Software Updates
      • Calendar
      • Miscellaneous
    • Streaming
    • Autopark/Summon
    • Option Codes
  • Energy Products
    • Overview
      • History
      • State
      • Commands
  • Miscellaneous
    • Endpoints File
Powered by GitBook
On this page
  • GET /api/1/products
  • Request parameters
  • Response
Edit on GitHub
  1. API Basics

Energy Products

Endpoints for getting an account's energy products

A logged in user may have multiple Tesla Energy products (Powerwalls, Solar installations, etc.) under their account (congrats on being rich!).

GET /api/1/products

Retrieve a list of your Tesla Energy products.

The value of energy_site_id is used as site_id in the various energy product endpoints.

Request parameters

Response

{
  "response": [
    {
      "energy_site_id": 2252147638651575,
      "resource_type": "solar",
      "id": "313dbc37-555c-45b1-83aa-62a4ef9ff7ac",
      "asset_site_id": "47d04752-9cf1-4e76-88fb-08839a1c41c4",
      "solar_power": 2320,
      "solar_type": "pv_panel",
      "sync_grid_alert_enabled": false,
      "breaker_alert_enabled": false,
      "components": {
        "battery": false,
        "solar": true,
        "solar_type": "pv_panel",
        "grid": true,
        "load_meter": false,
        "market_type": "residential"
      }
    }
  ],
  "count": 1
}
PreviousVehiclesNextTrip Planner

Last updated 3 years ago