---
title: "Get user historical balances for protocol"
method: GET
path: "/protocolRewards/userBalance/historical/{protocol_id}"
tags: ["Protocol Rewards"]
---

# Get user historical balances for protocol

`GET /protocolRewards/userBalance/historical/{protocol_id}`

Get users and and their balances for a protocol for a given timestamp

## Path parameters

- `protocol_id` string, required

## Query parameters

- `timestamp` integer, required

## Response `200`

OK

- UserWiseSuperpositionWiseBalance[]
  - `balance` string, required — balance of the user in the vault share decimals
  - `superform_address` string, required — address of the superform wrapper for the vault that mints the vault shares
  - `user_address` string, required
  - `vault_address` string
  - `vault_chain_id` integer — ID of the chain that the vault is on.

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/superform/apis/superform-api.md) · [All operations](https://skmtc.dev/superform/apis/superform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/superform/superform-api/revisions/6eb27ced1c96/schema)
