Skip to main content

Exchange data

Version: v1

GET /api/futures/exchange-data/candles

Summary:

Candles history

Request Parameters
NameLocated inDescriptionRequiredSchema
DateFromqueryNodateTime
DateToqueryNodateTime
CurrencyPairqueryNostring
CandleTimePeriodqueryOneMinute = 60,ThreeMinutes = 180,FiveMinutes = 300, FifteenMinutes = 900, ThirtyMinutes = 1800, OneHour = 3600, FourHour = 14400, EightHour = 28800, OneDay = 86400, OneWeek = 604800, OneMonth = 2592000Nointeger
Response model
[
{
"currencyPairCode": "string",
"openPrice": 0,
"closePrice": 0,
"maxPrice": 0,
"minPrice": 0,
"candleTimePeriod": 60,
"volume": 0,
"volumeBase": 0,
"openTimestamp": "2024-04-26T04:34:22.189Z",
"closeTimestamp": "2024-04-26T04:34:22.189Z"
}
]
Response codes
CodeDescription
200Success

GET /api/futures/exchange-data/pairs

Summary:

Currency pairs info

Response model
[
{
"id": 0,
"сurrencyPairCode": "string",
"isActive": true,
"basePricePrecision": 0,
"quantityPrecision": 0,
"quotePricePrecision": 0,
"contractValue": 0,
"fundingRate": 0,
"fundingRateStartTimestamp": "2024-04-26T04:41:06.711Z",
"fundingRateFinishTimestamp": "2024-04-26T04:41:06.711Z"
}
]
Response codes
CodeDescription
200Success