Public API

Public API

Note: In API "Label" like BTC_FSC where BTC is currency and FSC is market respectively.

Get Currencies

To return all currency data

Parameters

Currency (Optional to get single currency data)

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":[{
  • "Id":"1",
  • "Name":"Bitcoin",
  • "Symbol":"BTC",
  • "MinDeposit":"0.0016",
  • "WithdrawFee":"0.0005",
  • "MinWithdraw":"0.00050001",
  • "ListingStatus":"Acitve"
  • },
  • {
  • ...
  • }]
  • }

Get Currencies

To return all currency data

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":[{
  • "BTC":{
  • "name": "Bitcoin",
  • "unified_cryptoasset_id": "1",
  • "can_withdraw": "TRUE",
  • "can_deposit": "TRUE",
  • "min_withdraw": "0.001",
  • "max_withdraw": "0.00",
  • "maker_fee": "0.2",
  • "taker_fee": "0.2",
  • "min_deposit": "0.00025",
  • "listing_status": "Acitve"
  • },
  • {
  • ...
  • }
  • }]
  • }

Get Order Book

To return order book data

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":{
  • FSC_BTC":{
  • "Ask":[
  • ["0.00008000" , "50.00000000"],
  • ...
  • ["0.00023950" , "3.90000000"]
  • ],
  • "Bid":[
  • ["0.00005002" , "9.99600159"],
  • ...
  • ["0.00002552" , "0.39112000"]
  • ],
  • }
  • }

Get Ticker

To return ticker last 24 hours.

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":{
  • "BTC_TRX":{
  • "ID":"45",
  • "last":"0.00000350",
  • "lowestAskBid":"0.00000348",
  • "highestBid":"0.00000350",
  • "percentChange":"0.00",
  • "baseVolume":"0.32190379",
  • "quoteVolume":"92204.86111108",
  • "isFrozen":"0",
  • "high24hr":"0.00000350",
  • "low24hr":"0.00000348",
  • },
  • "INR_BAT":{
  • ...
  • }
  • }

Get Trade Data

To return all trade Data

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":[{
  • "tradeID": "978928",
  • "price": "66.79230000",
  • "base_volume": "320.83333333",
  • "quote_volume": "21429.19624978",
  • "trade_timestamp": "1605683858",
  • "type": "Buy"
  • },
  • {
  • "tradeID": "976683",
  • "price": "63.05400000",
  • "base_volume": "0.41916000",
  • "quote_volume": "26.42971464",
  • "trade_timestamp": "1605681905",
  • "type": "Sell"
  • },
  • {
  • ...
  • }]
  • }

Get Pairs

To return all trading pairs

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":[{
  • "ticker_id":"INR_FSC"
  • "base":"INR"
  • "target":"FSC"
  • },{....}]
  • }

Get Ticker

To return ticker last 24 hours.

Parameters

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":[{
  • "ticker_id":"INR_FSC",
  • "base_currency":"INR",
  • "target_currency":"FSC",
  • "last_price":"0.01999799",
  • "low":"0.01989999",
  • "high":"0.01999799",
  • "bid":"0.01999799",
  • "ask":"0.01989999",
  • "target_volume":"49635.41666664",
  • "base_volume":"990.32847334"
  • },{...}]
  • }

Get Order Book

To return order book data

Parameters

ticker_id is mandatory and must be string.
A ticker such as "INR_FSC", with delimiter between different cryptoassets

depth is optional and must be integer
Orders depth quantity: [0, 100, 200, 500...]. 0 returns full depth. Depth = 100 means 50 for each bid/ask side.

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":{
  • "ticker_id": "INR_FSC",
  • "timestamp":"1700050000",
  • "bids":[
  • ["0.00008000" , "50.00000000"],
  • ...
  • ["0.00023950" , "3.90000000"]
  • ],
  • "asks":[
  • ["0.00005002" , "9.99600159"],
  • ...
  • ["0.00002552" , "0.39112000"]
  • ],
  • }
  • }

Get Trade Data

To return all trade Data

Parameters

ticker_id is string and Mandatory
A pair such as "INR_FSC", with delimiter between different cryptoassets

type is string and Mandatory
To indicate nature of trade - buy/sell

limit is integer and Optional
Number of historical trades to retrieve from time of query. [0, 200, 500...]. 0 returns full history.

start_time is date and Optional
Start time from which to query historical trades from

end_time is date and Optional
End time for historical trades query

Request

Response

  • {
  • "Status":1,
  • "Message":"Success",
  • "Data":{
  • "buy": [{
  • "trade_id": "978928",
  • "price": "66.79230000",
  • "base_volume": "320.83333333",
  • "target_volume": "21429.19624978",
  • "trade_timestamp": "1605683858",
  • "type": "Buy"
  • },
  • {
  • ...
  • }],
  • "sell": [{
  • "trade_id": "976683",
  • "price": "63.05400000",
  • "base_volume": "0.41916000",
  • "target_volume": "26.42971464",
  • "trade_timestamp": "1605681905",
  • "type": "Sell"
  • },
  • {
  • ...
  • }]}
  • }