GET
/
v1
/
client
/
aggregate
/
holding
curl --request GET \
  --url https://api.orderly.org/v1/client/aggregate/holding \
  --header 'orderly-account-id: <orderly-account-id>' \
  --header 'orderly-key: <orderly-key>' \
  --header 'orderly-signature: <orderly-signature>' \
  --header 'orderly-timestamp: <orderly-timestamp>'
{
  "success": true,
  "timestamp": 1702989203989,
  "data": [
    {
      "account_id": "0x1111",
      "updated_time": 1580794149000,
      "token": "BTC",
      "holding": -28.000752,
      "frozen": 0,
      "pending_short": -2000
    },
    {
      "account_id": "0x2222",
      "updated_time": 1580794149000,
      "token": "ETH",
      "holding": -10.123456,
      "frozen": 0,
      "pending_short": -500
    }
  ]
}

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required

Response

200 - application/json

OK

The response is of type object.