enSights Storage API
Battery storage system metadata and energy data
Battery storage system metadata and energy data
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ensights:ensights-storage-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: enSights Monitoring Storage API
version: 1.0.0
description: The enSights Monitoring API provides comprehensive access to renewable energy asset data across solar PV systems and battery storage units infrastructure. It enables real-time monitoring, historical performance analysis, and intelligent alerting for distributed energy portfolios — empowering operators and integrators to maximize clean energy yield, optimize self-consumption, and drive the transition to a sustainable grid.
servers:
- url: https://external-api.ensights.ai
security:
- accesstoken: []
tags:
- name: Storage
description: Battery storage system metadata and energy data
paths:
/api/v1/storage/data:
get:
summary: Get battery data
description: Get battery periodic data for a given period and date.
tags:
- Storage
security:
- accesstoken: []
parameters:
- in: query
name: batteryId
required: true
schema:
type: string
description: Battery ID
- in: query
name: period
required: true
schema:
type: string
enum:
- day
- week
- month
- year
example: day
description: Aggregation period. day and week are bucketed from raw records at `frequency` minutes; month and year read the daily and monthly aggregates
- in: query
name: date
required: true
schema:
type: string
example: '2025-03-19'
description: Date in YYYY-MM-DD format
responses:
'200':
description: Battery periodic data keyed by batteryId, each containing an array of [timestamp, data] tuples
content:
application/json:
schema:
type: object
additionalProperties:
type: array
items:
type: array
items:
oneOf:
- type: number
- type: object
properties:
batteryPower:
type: number
example: -0.895
gridPower:
type: number
example: -0.385
loadPower:
type: number
example: -1
energyExport:
type: number
energyImport:
type: number
soc:
type: number
example: 85
energyRemaining:
type: number
example: 2585
batteryAvailability:
type:
- number
- 'null'
example: 98.6
description: Percent available over the bucket. null when nothing in it was measurable, which is not 0%
availabilityValidSlices:
type: number
example: 84
description: The percentage's denominator — rack-slices a verdict could be reached on
availabilityAvailableSlices:
type: number
example: 82.8
description: The percentage's numerator. Fractional on vendor-reported data, where a slice is a sample rather than a verdict
timestamp:
type: number
'400':
description: Bad request — invalid or missing parameters
'401':
description: Unauthorized — missing or invalid access token
'500':
description: Internal server error
operationId: getApiV1StorageData
x-operation-id-source: derived
/api/v1/storage/data/live:
get:
summary: Get battery live data
description: Get the latest live data for a battery.
tags:
- Storage
security:
- accesstoken: []
parameters:
- in: query
name: batteryId
required: true
schema:
type: string
description: Battery ID
responses:
'200':
description: Live battery data keyed by batteryId
content:
application/json:
schema:
type: object
additionalProperties:
type: object
properties:
batteryPower:
type: number
example: -0.765
loadPower:
type: number
example: 4
gridPower:
type: number
example: 5
energyFull:
type: number
example: 0
energyRemaining:
type: number
example: 0
energyImport:
type: number
example: 76597
energyExport:
type: number
example: 67897
batteryFrequency:
type: number
example: 50
siteFrequency:
type: number
example: 50
batteryVoltage:
type: number
example: 408
soc:
type: number
example: 0
timestamp:
type: number
example: 1715082250
'400':
description: Bad request — invalid or missing batteryId
'401':
description: Unauthorized — missing or invalid access token
'500':
description: Internal server error
operationId: getApiV1StorageDataLive
x-operation-id-source: derived
/api/v1/storage:
get:
summary: Get batteries metadata
description: Get batteries data such as name, capacity, address etc.
tags:
- Storage
security:
- accesstoken: []
responses:
'200':
description: List of batteries
content:
application/json:
schema:
type: array
items:
type: object
properties:
_id:
type: string
example: 64fe0e8883a1b1c32aff3b12
name:
type: string
example: battery name
model:
type: string
example: Megapack 2
sn:
type: string
example: STST-SM-XXXX
timezone:
type: string
example: Asia/Jerusalem
capacity:
type: string
example: '3071'
vendor:
type: string
example: tesla
sitePowerLimit:
type: string
example: '580'
'401':
description: Unauthorized — missing or invalid access token
'500':
description: Internal server error
operationId: getApiV1Storage
x-operation-id-source: derived
components:
securitySchemes:
accesstoken:
type: apiKey
in: header
name: accesstoken
description: Access token obtained from POST /app/auth