Skip to content

Latest commit

 

History

History
66 lines (56 loc) · 1.73 KB

get_account_balance.md

File metadata and controls

66 lines (56 loc) · 1.73 KB

Get User Balance

Fetch your spot wallet balances.

If you require real-time updates or a high-frequency trading environment, we recommend using the websocket account balance api. For more details, please refer to this link.

Api Request

GET /accounts/balance

Parameters:

You can find how to create payload and signature from authentication document.

Header Path Query Type Required Description Default Range Example
X-BITOPRO-APIKEY string Yes API Key
X-BITOPRO-PAYLOAD string Yes Payload
X-BITOPRO-SIGNATURE string Yes Signature

Api Response

Response Example:

{
  "data": [
    {
      "amount": "10001",
      "available": "1.0",
      "currency": "bito",
      "stake": "10000",
      "tradable": true
    },
    {
      "amount": "0.0",
      "available": "1.0",
      "currency": "btc",
      "stake": "0",
      "tradable": true
    },
    {
      "amount": "3.0",
      "available": "0.01",
      "currency": "eth",
      "stake": "0",
      "tradable": true
    },
    {
      "amount": "30000",
      "available": "2500",
      "currency": "twd",
      "stake": "0",
      "tradable": true
    },
    {
      "amount": "30000",
      "available": "2500",
      "currency": "npxs",
      "stake": "0",
      "tradable": false
    }
  ]
}

Back