get https://api.amberdata.com/market/swaps/liquidations//latest
Retrieves the latest liquidations for the specified instrument and exchange(s).
Deprecation Notice
As part of our ongoing efforts to improve our API and services, we will be deprecating this endpoint on June 28, 2024. This decision is in line with our commitment to providing high-quality, efficient, and secure API services to our users.
We encourage all users of this endpoint to transition to the Futures Liquidations Historical endpoint as soon as possible. This endpoint offers the same data, we have simply merged our Swaps data together with the Futures data. Therefore, "Swaps" data (aka Perpetual Futures) can now be found under the Futures section of the Amberdata API docs.
RESPONSE DATA
Field | Type | Description |
---|---|---|
exchange | string | The name of the exchange. |
timestamp | number or string | The time at which the liquidation occurred. |
originalQuantity | number | The original quantity before the liquidation occurred. |
price | number | The price of the instrument at the time of the liquidation. |
side | string | The direction of the trade. |
status | string | The status of the liquidation. |
type | string | The type of liquidation. |
timeInForce | string | How long the order is to remain active before it is executed or expires, for example: - IOC: immediate-or-cancel - FOK: fill-or-kill - GTC: good-'till-canceled - etc |
action | string | The type of action taken during the liquidation process (for example: delete, insert, update, etc). |
orderId | string | The order identifier. |
unit | string | null | The units are on originalQuantity Refer to Liquidations - Information for more detail on unit |