Market | Assets info
Exchange available assets
get
Query Parameter(s)
Field |
Type |
Description |
symbol
optional
|
String |
For example BTC, ETH, USDT, BNB etc.
|
Success 200
Field |
Type |
Description |
name
|
String
|
Cryptocurrency name
|
unifiedCryptoassetId
|
Integer
|
Unique ID of cryptocurrency
|
unified_cryptoasset_id
|
Integer
|
Unique ID of cryptocurrency
|
withdrawStatus
|
Boolean
|
Identifies withdrawals true/false
|
depositStatus
|
Boolean
|
Identifies deposits true/false
|
tradeStatus
|
Boolean
|
Identifies trades true/false
|
minWithdraw
|
Decimal
|
Minimum withdrawal amount
|
maxWithdraw
|
Decimal
|
Maximum withdrawal amount
|
makerFee
|
Decimal
|
Liquidity added fees
|
takerFee
|
Decimal
|
Liquidity removed fees
|
withdrawFees
|
Decimal
|
Withdrawal fee
|
platform
|
String
|
Platform network where currency is based on
|
precision
|
Decimal
|
Cryptocurrency decimal number
|
Error 4xx
Name |
Description |
SymbolNotFound
|
The provided symbol was not found.
|
Error 5xx
Name |
Description |
InternalServerError
|
The server encountered an internal error.
|
Market | Klines Candlestick
Kline/candlestick bars for a symbol
get
Query Parameter(s)
Field |
Type |
Description |
market_id
|
String |
Identifier of a market's with delimiter to separate base_quote, e.g. BTC_USDT,ETH_BTC,ETH_USDT .
|
r
optional
|
Integer |
Period (5m, 15m, 30m, 60m, 1D, 2D, 1W, 3W, 1M, 6M). Need to be provided after integer ( m - minutes, D - days, W - weeks, M - months)
|
startTime
optional
|
Integer |
The time from which data is loading
|
endTime
optional
|
Integer |
The time from which data loading end
|
limit
optional
|
Integer |
Limit count of return results under given value
|
Success 200
Field |
Type |
Description |
low
|
Integer
|
Low rate
|
high
|
Integer
|
High rate
|
volume
|
Integer
|
Base Volume
|
openTime
|
Integer
|
Open time in unix timestamp
|
closeTime
|
Integer
|
Close time in unix timestamp
|
open
|
Integer
|
Price at open time
|
close
|
Integer
|
Price at close time
|
Error 4xx
Name |
Description |
InvalidMarket
|
The provided pair was not found
|
InvalidInterval
|
Must be one of items from 5m,15m,30m,60m,1D,2D,1W,3W,1M,6M
|
InvalidStartTime
|
Should be valid unix timestamp
|
InvalidEndTime
|
Should be valid unix timestamp
|
Error 5xx
Name |
Description |
InternalServerError
|
The server encountered an internal error.
|
Market | OrderBook info
Get Orderbook of given market, output could be limited, see example Curl example with limit and level.
get
Query Parameter(s)
Field |
Type |
Description |
market_id
|
String |
Active orders of base_quote, ex BTC_USDT, TRX_USDT
|
limit
optional
|
Integer |
Orders limit quantity: [0,6,10,20,50] Not defined or 0 = full order book limit = 20 means 10 for each bid/ask side. If limit > 500, then the response will truncate to 500
|
level
optional
|
Integer |
Level 1 Only the best bid and ask. Level 2 Arranged by best bids and asks with 2% market depth. Level 3 Complete order book, no aggregation.
|
Success 200
Field |
Type |
Description |
lastUpdated
|
Integer
|
Ask/Bid time in unix timestamp.
|
bids
|
Decimal
|
Order price, Order quantity
|
asks
|
Decimal
|
Order price, Order quantity
|
Error 4xx
Name |
Description |
InvalidMarket
|
Market pair was not found.
|
InvalidParameter
|
Please specify market_id correct parameter.
|
Error 5xx
Name |
Description |
InternalServerError
|
The server encountered an internal error.
|
Market | Ticker info
The ticker api is to provide a 24-hour pricing and volume summary for each market pair available on the exchange.
get
Query Parameter(s)
Field |
Type |
Description |
marketid
optional
|
String |
Identifier of a ticker with delimiter to separate base_quote.
|
Success 200
Field |
Type |
Description |
marketId
|
String
|
Identifier of a market with delimiter to separate base_quote
|
base_id
|
Integer
|
Unique ID of base cryptocurrency
|
quote_id
|
Integer
|
Unique ID of quote cryptocurrency
|
lastPrice
|
Decimal
|
Last transacted price of base currency
|
avgPrice
|
Decimal
|
Avg price of base currency
|
lowPrice
|
Decimal
|
Minimal price of last 24h
|
highPrice
|
Decimal
|
Maximal price of last 24h
|
priceChangePercent
|
Decimal
|
% Price change for 24-hr
|
quoteVolume
|
Decimal
|
Trade volume in quote currency
|
baseVolume
|
Decimal
|
Trade volume in base currency
|
time
|
Integer
|
Last filled order execution time
|
Error 4xx
Name |
Description |
InvalidMarket
|
The provided market Id was not found.
|
InvalidRequest
|
Check specified markets list.
|
Error 5xx
Name |
Description |
InternalServerError
|
The server encountered an internal error.
|
Market | Trades info
Lists trade history for provided market, output could be with parameters, see example Curl example with limit, interval, pagination etc.
get
Query Parameter(s)
Field |
Type |
Description |
market_id
|
String |
Identifier of a market's with delimiter to separate base_quote, e.g. BTC_USDT,ETH_BTC,ETH_USDT .
|
limit
optional
|
Integer |
Limit count of return results under given value. (1~5000)
|
since
optional
|
Integer |
Indicates a trade ID from a previous /trades response
|
startTime
optional
|
Integer |
Returns result submitted after given timestamp
|
endTime
optional
|
Integer |
Returns result submitted before given timestamp
|
interval
optional
|
Integer |
Provided parameter indicates days, (ex. interval=2 will execute 2 days trades history)
|
page
optional
|
Integer |
Indicates pages with quantity result ( ex. page=2&count=4)
|
count
optional
|
Integer |
Count of results on each page (used together with page)
|
Success 200
Field |
Type |
Description |
trade_id
|
Integer
|
Operation ID
|
price
|
Decimal
|
Price for current operation ID
|
qty
|
Decimal
|
Trade amount for current operation ID
|
quoteQty
|
Decimal
|
Amount of quote for current operation ID
|
time
|
Integer
|
Operation ID execution time
|
side
|
String
|
buy/sell operation ID
|
orderType
|
String
|
Operation ID type, limit/market/swap
|
Error 4xx
Name |
Description |
InvalidMarket
|
Market pair was not found.
|
InvalidParameter
|
Please specify market_id correct parameter.
|
InvalidTime
|
Invalid startTime or endTime, should be valid unix timestamp.
|
InvalidInterval
|
Invalid interval, should be valid day number.
|
InvalidLimitRequest
|
Invalid request, please specify page and count for pagination or limit for limiting trades result.
|
InvalidPagination
|
Invalid request, for pagination please specify both page and count parameters.
|
InvalidLimitValue
|
Invalid limit, should be maximum 5000.
|
Error 5xx
Name |
Description |
InternalServerError
|
The server encountered an internal error.
|