Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
- Sub-account
Trading API
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Private User Data
Sub-account
Get aggregate holding
Limit: 1 request per 60 seconds
GET /v1/client/aggregate/holding
Only the main account is allowed to call this API
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
Response
200 - application/json
OK
The response is of type object
.
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
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.