get
https://api.dcepay.io/api/balance
Balances are segmented per (currency, network) pair — deposits on a chain can only be withdrawn on that same chain.
Query (both optional): currency — USDT | USDC; network — TRX, ETH, BNB, SOL (testnets: TRX_SHASTA, SEP, tBNB, SOL_DEVNET).
Response:
- With BOTH
currencyandnetwork: the single balance row for that pair —currency,network,available,pending(decimal strings),lastUpdatedAt(zero balances if no row exists yet). - Otherwise:
{ balances: [...] }— every balance row the account holds (optionally filtered), each withcurrency,network,available,pending,withdrawalEnabled,networkFee(current per-chain withdrawal fee,nullwhen withdrawals are disabled for the pair),maxWithdrawable(available minus the network fee, floored at 0), andlastUpdatedAt.
Currently only USDT on TRX is enabled for deposits and withdrawals; other pairs appear once enabled.
Authentication: Authorization: <API key> — send the raw key (no Bearer prefix required). Bearer <API key> is still accepted for compatibility.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Success
400Bad request — validation error or business rule failure.
401Unauthorized — missing or invalid API key.
403Forbidden — insufficient permissions for this operation.
500Internal server error

