API

.mdOpenAPI

Your account

Get the balance

GET/api/me/balanceAPI key· 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.

Errors

HTTPerrorWhen
401missing_api_keyThis endpoint needs an API key: Authorization: Bearer fb_live_….
401invalid_api_keyThe key is malformed or unknown. A bad key is refused on every endpoint that takes keys, never ignored.
401api_key_revokedThe key was revoked in Settings › API keys.
403account_closedThe key's account is closed.
403insufficient_scopeThe key lacks the scope this endpoint needs (read or order).
429rate_limitedToo 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.