---
title: "Get state of charge of a battery in kWh"
method: GET
path: "/v2/deployments/{userkey}/battery/historical/soc"
tags: ["deployment"]
---

# Get state of charge of a battery in kWh

`GET /v2/deployments/{userkey}/battery/historical/soc`

## Path parameters

- `userkey` string, required

## Query parameters

- `start` integer
- `end` integer
- `delta_t` integer

## Headers

- `Reposit-Auth` string

## Response `200`

Successful operation

- BatteryHistoricalSoC
  - `batteryCapacity` number
  - `batterySOC` array[]
    - number[]

---

[API](https://skmtc.net/repositpower/apis/reposit-customer-api-openapi-3-0.md) · [All operations](https://skmtc.net/repositpower/apis/reposit-customer-api-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/repositpower/reposit-customer-api-openapi-3-0/revisions/8c625fc29409/schema)
