Tickers
PublicApi
/api/tickers
GET
Summary:
Get ticker info
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
currencyPairCode | query | currency pair code | No | string |
Responses
Json example:
[
{
"timestamp": 0,
"currencyPairCode": "string",
"price": 0,
"price24hAgo": 0,
"priceChangePercentage24h": 0,
"volume24h": 0,
"bidPrice": 0,
"askPrice": 0,
"low24h": 0,
"high24h": 0
}
]
Code | Description |
---|---|
200 | Success |
/api/ohlc
GET
Summary:
Get candles
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
interval | query | Candle interval. Possible values: year, month, day, hour4, hour, minutes30, minutes15, minutes5, minutes3, minute | No | string |
currencyPairCode | query | Example: "BTC_USDT" | No | string |
start | query | Range start. Example: "2021-02-05T14:00:00" | No | dateTime |
end | query | Range end. Example: "2021-02-05T15:00:00" | No | dateTime |
Responses
Json example:
[
{
"date": "2024-08-14T08:45:22.621Z",
"open": 0,
"max": 0,
"min": 0,
"close": 0,
"volume": 0,
"volumeBase": 0
}
]
Code | Description |
---|---|
200 | Success |