v3
latestOpenAPI 3.0.02026-07-311784111.3 MBRetrieves settlement, delivery, and bankruptcy events for a specific instrument that have affected your account. Settlements occur when futures or options contracts expire and are settled at the delivery price.
Results can be filtered by settlement type and timestamp. Use pagination parameters (count and continuation) to retrieve large settlement histories. This method is useful for tracking settlement events for a specific instrument.
Scope: trade:read
Query parameters
Unique instrument identifier
Instrument name
The type of settlement. settlement, delivery or bankruptcy.
Settlement type
Number of requested items, default - 20, maximum - 1000
Continuation token for pagination
The timestamp (milliseconds since the Unix epoch)
The latest timestamp to return result from (milliseconds since the UNIX epoch)
Response
Success response
Example response
{
"result": {
"continuation": "xY7T6cutS3t2B9YtaDkE6TS379oKnkzTvmEDUnEUP2Msa9xKWNNaT",
"settlements": [
{
"funding": -0.000002511,
"index_price": 11008.37,
"instrument_name": "BTC-30MAR18",
"mark_price": 11000,
"position": 1000,
"session_bankruptcy": 0.001160788,
"session_profit_loss": 0.001160788,
"session_tax": -0.001160788,
"session_tax_rate": 0.000103333,
"socialized": -0.001160788,
"timestamp": 1536569522277
}
]
}
}