get https://api.amberdata.com/market/swaps/ohlcv//latest
Retrieves the latest Open High Low Close Volume data for the specified instrument.
Deprecation Notice
This endpoint is now considered a legacy version and will be deprecated on September 30, 2024. We strongly encourage all users to migrate to the new version of this endpoint for improved performance, enhanced features, and better support. The new version can be found here.
We recommend updating your applications at the earliest convenience to ensure uninterrupted service and access to the latest functionalities.
For any questions or assistance during migration, please contact our support team at [email protected].
Exchanges Supported
This endpoint supports Bitmex, Huobi, Okex, and FTX.US.
RESPONSE DATA
Field | Type | Description |
---|---|---|
exchange | string | The name of the exchange. |
timestamp | number | string | The time at which the event occurred. |
open | number | The value when the bar/time interval started. |
high | number | The highest value within the bar/time interval. |
low | number | The lowest value within the bar/time interval. |
close | number | The value when the bar/time interval closed. |
volume | number | The volume within the bar/time interval. |