cURL
curl --request GET \ --url https://api.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 } ] } ] } }
Limit: 20 requests per 1 second
GET /v1/pnl_settlement/history
Retrieve the historical PnL settlement history of the account.
OK
The response is of type object.
object