# Get the balance

`GET /api/me/balance` · API key (scope `read`)

Your TRX and USDT balance, and the loyalty tier whose discount your orders get.

Amounts come twice: as decimal strings for display (`balances`) and as integers in the smallest unit (`units`: sun for TRX, micro-USDT for USDT). Do arithmetic on `units`.

## Request

Base URL: `https://feebolt.com`. Needs an API key: Authorization: Bearer fb_live_…

## Examples

```bash
curl https://feebolt.com/api/me/balance \
  -H "Authorization: Bearer $FEEBOLT_API_KEY"
```

```js
const res = await fetch("https://feebolt.com/api/me/balance", {
  headers: {
    Authorization: `Bearer ${process.env.FEEBOLT_API_KEY}`,
  },
});
const data = await res.json();
if (!res.ok) throw new Error(data.message);
```

```python
import os, requests

r = requests.get(
    "https://feebolt.com/api/me/balance",
    headers={"Authorization": f"Bearer {os.environ['FEEBOLT_API_KEY']}"},
)
r.raise_for_status()
data = r.json()
```

## Response: 200 OK

The balance.

```json
{
  "balances": {
    "TRX": "48.25",
    "USDT": "0"
  },
  "units": {
    "TRX": "48250000",
    "USDT": "0"
  },
  "tier": {
    "id": "standard",
    "name": "Standard",
    "discountPct": 0
  },
  "transfers30d": 12
}
```

## Errors

| HTTP | error | When |
| --- | --- | --- |
| 401 | `missing_api_key` | This endpoint needs an API key: `Authorization: Bearer fb_live_…`. |
| 401 | `invalid_api_key` | The key is malformed or unknown. A bad key is refused on every endpoint that takes keys, never ignored. |
| 401 | `api_key_revoked` | The key was revoked in Settings › API keys. |
| 403 | `account_closed` | The key's account is closed. |
| 403 | `insufficient_scope` | The key lacks the scope this endpoint needs (`read` or `order`). |
| 429 | `rate_limited` | Too many calls (per IP, or per key with a key). Wait for Retry-After seconds. |

## Rate limits

- With an API key: 120 at once, then 2 per second, per key.

---

HTML: https://feebolt.com/developers/get-balance/ · OpenAPI: https://feebolt.com/developers/openapi.json · All docs as one Markdown file: https://feebolt.com/developers/full.md
