Market

Market | Assets info

Exchange available assets

get
https://api.blynex.com/v1/assets

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.

Send a Sample Request

url

Query Parameters

String

Market | Klines Candlestick

Kline/candlestick bars for a symbol

get
https://api.blynex.com/v1/klines

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.

Send a Sample Request

url

Query Parameters

String
Integer
Integer
Integer
Integer

Market | Market info

Get market info

get
https://api.blynex.com/v1/market

Query Parameter(s)

Field Type Description
pair optional String

Identifier of a market's with delimiter to separate base_quote, e.g. BTC_USDT,ETH_BTC,ETH_USDT.

Success 200

Field Type Description
id String

Identifier of a pair with delimiter to separate base_quote

type String

Exchange trade method (ex. spot, margin)

base String

Symbol of base currency, e.g. BTC

quote String

Symbol of quote currency, e.g. USDT

lastPrice Decimal

Last transacted price of base currency

avgPrice Decimal

Average price for last 24 hours

askPrice Decimal

Current lowest sell price

bidPrice Decimal

Current highest buy price

baseVolume Decimal

24-hr volume of market denoted in base currency

quoteVolume Decimal

24-hr volume of market denoted in quote currency

priceChangePercent_24h Decimal

% price change for 24-hr

highPrice_24h Decimal

The highest price of base currency in the last 24-hr

lowPrice_24h Decimal

The lowest price of base currency in the last 24-hrs.

tradesCount_24h Decimal

Trades count for 24-hrs.

openTime Integer

Last filled order execution time minus 24hr

closeTime Integer

Last filled order execution time

makerFee Decimal

Liquidity added fees

takerFee Decimal

Liquidity removed fees

Error 4xx

Name Description
InvalidPair

The provided pair was not found.

Error 5xx

Name Description
InternalServerError

The server encountered an internal error.

Send a Sample Request

url

Query Parameters

String

Market | OrderBook info

Get Orderbook of given market, output could be limited, see example Curl example with limit and level.

get
https://api.blynex.com/v1/orderbook

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.

Send a Sample Request

url

Query Parameters

String
Integer
Integer

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
https://api.blynex.com/v1/ticker

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.

Send a Sample Request

url

Query Parameters

String

Market | Trades info

Lists trade history for provided market, output could be with parameters, see example Curl example with limit, interval, pagination etc.

get
https://api.blynex.com/v1/trades

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.

Send a Sample Request

url

Query Parameters

String
Integer
Integer
Integer
Integer
Integer
Integer
Integer

Info

Info | Get server time

Get the server time

get
https://api.blynex.com/v1/time

Success 200

Field Type Description
serverTime Number

Server time of our system

Error 5xx

Name Description
InternalServerError

The server encountered an internal error.

Send a Sample Request

url

Info | Request exchange info

Exchange Information.

get
https://api.blynex.com/v1/info

Success 200

Field Type Description
name String

Exchange platform name

description String

Exchange platform short description

location String

Exchange platform Geo location

logo URL

Exchange platform logo

website URL

Exchange platform website

twitter URL

Exchange platform Twitter account

telegram URL

Exchange platform Telegram account

reddit URL

Exchange platform Reddit account

facebook URL

Exchange platform Facebook account

instagram URL

Exchange platform Instagram account

medium URL

Exchange platform Medium account

youtube URL

Exchange platform Youtube account

version String

Exchange platform API version

capability Object

Exchange platform tools

markets Boolean

false/true

trades Boolean

false/true

ordersSnapshot Boolean

false/true

candles Boolean

false/true

ticker Boolean

false/true

Error 5xx

Name Description
InternalServerError

The server encountered an internal error.

Send a Sample Request

url

Generated with apidoc 1.2.0 - Tue Oct 01 2024 19:17:53 GMT+0000 (Coordinated Universal Time)