GET
/
api
/
v1
/
user
/
balances
curl --request GET \
  --url https://apiserver.beratrade.io/api/v1/user/balances \
  --header 'Bliq-Key: <bliq-key>' \
  --header 'Bliq-Secret: <bliq-secret>'
{
  "body": {
    "ETH": {
      "product_id": 1,
      "balance_x18": "1000000000000000000",
      "locked_x18": "0"
    },
    "USDC": {
      "product_id": 2,
      "balance_x18": "5000000000000000000000",
      "locked_x18": "1000000000000000000000"
    }
  },
  "message": "<string>",
  "status": 123
}

Headers

Bliq-Key
string
required

bliq_key obtained during authentication

Bliq-Secret
string
required

bliq_secret obtained during authentication

Response

200
application/json
Spot balances of user
body
object
required
Example:
{
  "ETH": {
    "product_id": 1,
    "balance_x18": "1000000000000000000",
    "locked_x18": "0"
  },
  "USDC": {
    "product_id": 2,
    "balance_x18": "5000000000000000000000",
    "locked_x18": "1000000000000000000000"
  }
}
message
string
required
status
integer
required