Skip to Content
Trading

Balances

GET
/v1/account/balances

Returns the balance details for the account the token acts on (the main account or a subaccount).

account_equity, margin_used and margin_available are expressed in USD, the collateral currency for futures. If balances cannot be retrieved from the exchange, the request fails with 500.

Required API scope: any valid API key. This endpoint is rate-limited.

This endpoint takes no query parameters. Unknown query parameters are rejected with 400 UNEXPECTED_PARAMETERS.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key created in the One Trading UI, sent as Authorization: Bearer <token>. Each endpoint lists the key permission it needs.

Response Body

OK

application/json
  1. response
account_id*string

The account the balances belong to.

Formatuuid
account_equity*string

Account equity in USD, as a decimal string.

margin_available*string

account_equity minus margin_used, in USD, as a decimal string.

margin_used*string

Margin used by open futures positions and orders, in USD, as a decimal string.

balances*array<>
Example Request
curl -X GET 'https://api.onetrading.com/fast/v1/account/balances'
Example Response
{  "account_id": "50034b63-9607-4801-810a-6ab00d185eca",  "account_equity": "171.83539848",  "margin_available": "171.83539848",  "margin_used": "0",  "balances": [    {      "currency_code": "USDC",      "available": "50.5359915",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "SOL",      "available": "0.22381479",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "USD",      "available": "23.19951955",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "USDT",      "available": "0",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "BTC",      "available": "0.00015998",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "EUR",      "available": "85.80718666",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "SUI",      "available": "10.93207",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    },    {      "currency_code": "XRP",      "available": "0",      "locked": "0",      "time": "2026-01-19T10:35:32.227Z"    }  ]}