FCB API Documntation

Here's the list of all API commands to perform actions required for your interface

Public API

Use to receive JSON array, containing information about all coin pairs from the current FCB account exchange

API

https://fcbaccount.com/api/public/v1/get/exchange/pairs

Result

				
{
	"status":true,
	"message":"successfully",
	"result":[
		{
			"marketFullName":"Bitcoin",
			"twoFullName":"FirstCryptoBank",
			"marketName":"FCB",
			"twoName":"BTC",
			"marketSymbol":"BTC",
			"twoSymbol":"FCB",
			"pairs":"BTC\/FCB",
			"volume":"19110.98384200"
		},
		{
			"marketFullName":"Monero",
			"twoFullName":"FirstCryptoBank",
			"marketName":"FCB",
			"twoName":"XMR",
			"marketSymbol":"XMR",
			"twoSymbol":"FCB",
			"pairs":"XMR\/FCB",
			"volume":"1315.84200"
		}
	]
}	
				
			

Use to receive JSON, containing current exchange statistics about the specified coin pair

API

https://fcbaccount.com/api/public/v1/get/exchange/market?pair=BTC-FCB

Result

				
{
	"status":true,
	"message":"successfully",
	"data":{
		"bid":"0.00000203",
		"ask":"0.00003999",
		"low":"0.00000000",
		"high":"0.00000000",
		"volume":"0.00000000",
		"lastSell":"0.00003999",
		"lastBuy":"0.00000010",
		"last":"0.00000203"
	}
}
				
			

Use to receive JSON array, containing the list of all crypto currencies on FCB exchange

API

https://fcbaccount.com/api/public/v1/get/exchange/list

Result

				
{
	"status":true,
	"message":"successfully",
	"results":[
		{
			"symbol":"XMR",
			"name":"Monero"
		},
		{
			"symbol":"BTC",
			"name":"Bitcoin"
		},
		{
			"symbol":"ETH",
			"name":"Ethereum"
		},
		{
			"symbol":"USDT",
			"name":"USDT"
		},
		{
			"symbol":"FCB",
			"name":"FirstCryptoBank"
		}
	]
}
				
			

Use to receive JSON array, containing the list of all BUY and SELL orders for the specified coin pair

API

https://fcbaccount.com/api/public/v1/get/exchange/orders?pair=BTC-FCB

Result

				
{
	"status":true,
	"message":"successfully",
	"results":
	{
		"sell":{
			"0.00003999":"0.24429891",
			"0.00004000":"0.05560000",
			"0.00004900":"0.00000856",
			"0.00057770":"0.38128200",
			"0.00071370":"0.15415920",
			"0.00071938":"0.01079070",
			"0.00071940":"0.00719400",
			"0.00078000":"0.02340000",
			"0.00079000":"0.05688000",
			"0.00080000":"0.08000000",
			"0.00100000":"0.10000000",
			"0.00150000":"0.00199500",
			"0.00170000":"1.33110000",
			"0.00190000":"2.60680000",
			"0.00200000":"0.00200000",
			"0.00500000":"0.05000000",
			"0.01000000":"1.00000000"
		},
		buy":{
			"0.00000203":"0.00017255",
			"0.00000202":"0.00000202",
			"0.00000201":"0.00026130",
			"0.00000180":"0.00004680",
			"0.00000120":"0.00036000",
			"0.00000115":"0.00287500",
			"0.00000112":"0.00019136",
			"0.00000110":"0.00071788",
			"0.00000109":"0.00006540",
			"0.00000108":"0.00046440",
			"0.00000100":"0.00086900",
			"0.00000080":"0.00055120",
			"0.00000010":"0.00023600"
		}
	}
}