One Trading API
REST APIWebSocket API
REST APIWebSocket API
  1. Trading
  • Public
    • Currencies
      GET
    • Instruments
      GET
    • Candlesticks
      GET
    • Fee Groups
      GET
    • Order Book
      GET
    • Market Ticker
      GET
    • Market Ticker For Instrument
      GET
    • Time
      GET
  • Trading
    • Balances
      GET
    • Fees
      GET
    • Get Orders
      GET
    • Create Order
      POST
    • Get Order by Order ID
      GET
    • Get Order by Client ID
      GET
    • Cancel All Orders
      DELETE
    • Cancel Order by Order ID
      DELETE
    • Cancel Order by Client ID
      DELETE
    • Get Trades for Order
      GET
    • Get Trades
      GET
    • Get Trade by Trade ID
      GET
  • Futures
    • Introduction
    • Funding Rate Methodology
    • Current Funding Rate
      GET
    • Funding Rate History
      GET
    • Futures Portfolio Summary
      GET
    • Get Futures Open Positions
      GET
  1. Trading

Balances

GET
https://api.onetrading.com/fast/v1/account/balances
trading
Returns the balance details for an account.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.onetrading.com/fast/v1/account/balances'
Response Response Example
{
  "account_id": "483a880a-220a-d7f9-2355-0a21a67809ab",
  "balances": [
    {
      "currency_code": "EUR",
      "available": "150000",
      "locked": "0",
      "time": "2024-12-18T15:57:49.900Z"
    },
    {
      "currency_code": "BTC",
      "available": "0.95",
      "locked": "0",
      "time": "2025-03-27T02:18:13.868Z"
    }
  ]
}

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************

Responses

🟢200Success
application/json
Body
account_id
string <uuid>
required
balances
array[object (Balance) {4}] 
required
currency_code
string 
required
Currency of the balance
available
string 
required
The amount of the currency available to trade or withdraw
locked
string 
required
The amount of the currency locked in orders
time
string 
required
Time the balance was last updated
Previous
Time
Next
Fees
Built with