---
title: "Get balance"
method: GET
path: "/api/v2/agent/balance"
tags: ["Account"]
---

# Get balance

`GET /api/v2/agent/balance`

## Request

- Base URL: `https://powersun.vip`
- URL: `https://powersun.vip/api/v2/agent/balance`
- Auth: API key in header `X-API-Key`

Get current TRX balance and estimated transaction capacity.

## Response `200`

Balance info

- object
  - `address` string
  - `balanceTrx` number
  - `balanceSun` integer
  - `depositAddress` string
  - `estimatedCapacity` object

---

[API](https://skmtc.dev/powersun/apis/powersun-agent-api.md) · [All operations](https://skmtc.dev/powersun/apis/powersun-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/powersun/apis/powersun-agent-api/revisions/169cc1ebfd26?raw)
