Your account
Get the balance
GET
/api/me/balanceAPI key· readYour 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.
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. |
Every error is {"error": "<code>", "message": "<text>"}. All error codes.
Rate limits
- With an API key: 120 at once, then 2 per second, per key.