get https://api.amberdata.com/market/swaps/liquidations/information
Retrieves the list of all the available exchanges, supported instruments and time range availability.
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 Information 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 |
---|---|---|
payload.metadata.next | string | Pagination |
payload.data[index].exchange | string | The name of the exchange. |
payload.data[index].instrument | string | The name of the instrument. |
payload.data[index].startDate | number | string | The first date/time for which data is available. |
payload.data[index].endDate | number | string | The last date/time for which data is available. |
payload.data[index].active | boolean | False if the instrument is no longer active (only available when includeInactive=true ). |
payload.data[index].unit | string | The units are on originalQuantity Liquidation orders can have 3 different units: “usd”, “base_asset”, “contract_quantity” The USD value of a liquidation order with unit as “usd” is the originalQuantity. To calculate the USD value of a liquidation order with unit as “base_asset”, the following formula should be used: originalQuantity x base_asset price To calculate the USD value of a liquidation order with unit as “contract_quantity”, the following formula should be used: originalQuantity x Contract Multiplier Contract multipliers for exchanges with contract_quantity as their unit can be accessed through these links: Binance, Bitmex, Huobi |
payload.data[index].positionType | string | The position of the instrument (Long/Short) |