Assets/Withdraw/Settle PnL
Get PnL Settlement History
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
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
Assets/Withdraw/Settle PnL
Get PnL Settlement History
Limit: 20 requests per 1 second
GET /v1/pnl_settlement/history
Retrieve the historical PnL settlement history of the account.
GET
/
v1
/
pnl_settlement
/
history
curl --request GET \
--url https://api-evm.orderly.org/v1/pnl_settlement/history \
--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": {
"meta": {
"total": 9,
"records_per_page": 25,
"current_page": 1
},
"rows": [
{
"id": 10001,
"old_balance": 4050,
"new_balance": 3050,
"settled_amount": -500,
"requested_time": 1575014255089,
"settled_time": 1575014255910,
"symbols": [
{
"symbol": "PERP_BTC_USDC",
"settled_amount": -500
}
]
}
]
}
}
Headers
Response
200 - application/json
OK
Unix epoch time in ms
Unix epoch time in ms
curl --request GET \
--url https://api-evm.orderly.org/v1/pnl_settlement/history \
--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": {
"meta": {
"total": 9,
"records_per_page": 25,
"current_page": 1
},
"rows": [
{
"id": 10001,
"old_balance": 4050,
"new_balance": 3050,
"settled_amount": -500,
"requested_time": 1575014255089,
"settled_time": 1575014255910,
"symbols": [
{
"symbol": "PERP_BTC_USDC",
"settled_amount": -500
}
]
}
]
}
}