API

Koinbazar Market REST API Documentation

Welcome to the Koinbazar Market REST API documentation. This API (Application Programming Interface) will allow you to access the functionality of this exchange by means of HTTP requests, making integration with your own applications possible.

Usage

In order to use a public API method, you must make an HTTP request to the appropriate endpoint for that particular method.

Public API Methods

These methods can be accessed without an account or API key.

The base endpoint is: https://api.koinbazar.com

Trade Pairs
Link :

GET https://api.koinbazar.com/markets

Response :
										
{
  "status": "1",
  "markets": [
    {
      "trading_pairs": "BTC_USDT",
      "last_price": "19047.36000000",
      "lowest_ask": "18548.50000000",
      "highest_bid": "19144.99000000",
      "base_volume": "8670.05643544",
      "quote_volume": "0.45521700",
      "price_change_percent_24h": "+2.73",
      "highest_price_24h": "19144.99000000",
      "lowest_price_24h": "18548.50000000"
    }]
}
						
					
Assets
Link :

GET https://api.koinbazar.com/asset

Response :
										
{
  "status": "1",
  "message": "success",
  "assets": [
    {
      "name": "Bitcoin",
      "unified_cryptoasset_id": "1",
      "can_withdraw": "true",
      "can_deposit": "true",
      "min_withdraw": "0.00010000",
      "max_withdraw": "0.50000000",
      "maker_fee": 0.25,
      "taker_fee": 0.25
    }]
}
						
					
Ticker
Link :

GET https://api.koinbazar.com/ticker

Response :
						
{
    "status": "1",
    "message": "success",
    "tickers": {
        "XRP_BTC": {
            "base_id": "52",
            "quote_id": "1",
            "last_price": "0",
            "quote_volume": "0.00000000",
            "base_volume": "0.00000000",
            "isFrozen": 0
        }
    }
}
						
					
Orderbook
Link :

GET https://api.koinbazar.com/orderbook?market_pair=ETH_BTC

GET https://api.koinbazar.com/orderbook?market_pair=ETH_BTC&depth=5

GET https://api.koinbazar.com/orderbook?market_pair=ETH_BTC&level=1

Params :

market_pair(ETH_BTC) required

depth : ['5', '10', '20', '50', '100', '500'] optional

level : ['1', '2', '3'] optional

Note : Level 1 – Only the best bid and ask, Level 2 – Arranged by best bids and asks, Level 3 – Complete order book, no aggregation.

Response :
						
{
"status":"1",
"asks":[
	{"1":"0.20000000","0":"0.03221"}
],
"bids":[
	{"1":"0.20000000","0":"0.0321121"}
	]
}
						
					
Trades
Link :

GET https://api.koinbazar.com/trades?market_pair=ETH_BTC

Params :

market_pair(ETH_BTC) required

Response :
										
{
  "status": "1",
  "message": "success",
  "data": [
    {
      "trade_id": "22440",
      "price": "16919.02",
      "base_volume": 16919.02,
      "quote_volume": 1,
      "timestamp": 1606557700,
      "type": "sell"
    },
    {
      "trade_id": "38960",
      "price": "19499.49",
      "base_volume": 26668.765,
      "quote_volume": 1.5,
      "timestamp": 1606802067,
      "type": "sell"
    }]
}
										
									

Get In Touch

24/7 Support

Raise the ticket. Post your query. Get it sorted. Round the clock assistance from the customer support team.

Community

Join our official global Koinbazar telegram community. Learn. Upgrade. Triumph.

Blog

Read our blog and stay updated with the latest happenings, to stay ahead of your competitors.

Copyright © 2021 Koinbazar | All Rights Reserved