get https://api.amberdata.com/market/swaps/tickers//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 Tickers 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 event occurred. |
bid | number | The bid price for instrument. |
ask | number | The ask price for instrument. |
mid | number | The mid price for instrument. |
last | number | The last price for instrument. |
sequence | number | null | The sequence number (equal to null if it is not provided by the exchange). |
bidVolume | number | null | It represents the requested order size of all best bids. |
askVolume | number | null | It represents the requested order size of all best asks. |