> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account Balance

> Get user's trading account balance

## Get Balance

Returns user's trading account balance.

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.yield.xyz/v1/perps/balance?address=0x..." \
    -H "x-api-key: your_api_key"
  ```
</RequestExample>

## Response

```json theme={null}
{
  "balances": [
    {
      "provider": "hyperliquid",
      "total": "10000",
      "available": "8000",
      "inPosition": "2000",
      "unrealizedPnl": "150"
    }
  ]
}
```
