TRADER4CRYPTO API

Coin Methods

All coin methods request authorization

Return all CryptoCurrency with true if user select this Crypto


GEThttp://api.trader4crypto.com/api/Coin/GetCoinList


Response
{ "$id":"1", "message":"success", "coins": [{ "$id":"2", "coinId":98, "name":"365Coin", "shortName":"365", "IsSelected":false }, { "$id":"3", "coinId":1, "name":"AsiaCoin", "shortName":"AC", "IsSelected":false },...] }

Set follow CryptoCurrency


PUThttp://api.trader4crypto.com/api/Coin/SetFollow


Request parameters
NameTypeRequiredDescription
followlist<int>Yeslista id-ova crypto valute koju korisnik zeli da prati

Response
Status message

Get user ceiling and floor, average BTC and LTC ratio and recommended values for BTC and LTC ceiling and floor


GEThttp://api.trader4crypto.com/api/Coin/GetCeilingFloor


Response
{ "$id":"1", "message":"success", "ceilingFlors": [{ "$id":"2", "coinId":1, "coinName":"AsiaCoin", "ceilingBTC":null, "floorBTC":null, "ceilingLTC":null, "floorLTC":null, "averageBTC":0.00000107, "averageLTC":0.00000000, "maxBTC":0.00000160, "minBTC":0.00000054, "maxLTC":0.00000000, "minLTC":0.00000000 },...] }

Set ceiling and floor for selected CryptoCurrency


POSThttp://api.trader4crypto.com/api/Coin/SetCeilingFloor


Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
ceilingBTCdecimalNo*Description
floorBTCdecimalNo*Description
ceilingLTCdecimalNo*Description
floorLTCdecimalNo*Description
*Required only one of this four parameters

Response
Status message

Delete ceiling and floor for selected CryptoCurrency


DELETEhttp://api.trader4crypto.com/api/Coin/DeleteCeilingFloor/{coinId}


Request parameters
NameTypeRequiredDescription
coinIdintYesDescription

Response
Status message

Market Methods

All market methods request authorization

Return all supported markets


GEThttp://api.trader4crypto.com/api/Market/GetMarketList


Response
{ "$id":"1", "message":"success", "markets": [{ "$id":"2", "id":3, "name":"Bittrex" }, { "$id":"3", "id":4, "name":"BTCe" },...] }

Return all markets and coins witch supprot


GEThttp://api.trader4crypto.com/api/Market/SupportCoin


Response
{ "$id":"1", "message":"success", "supportCoins": [{ "$id":"2", "coinId":98, "coinName":"365Coin", "supportMarkets": [{ "$id":"3", "marketId":3, "marketName":"Bittrex", "support":false }, { "$id":"4", "marketId":4, "marketName":"BTCe", "support":false },...] },...] }

Return all user market settings


GEThttp://api.trader4crypto.com/api/Market/GetSettings


Response
{ "$id":"1", "message":"success", "settingsList": [{ "$id":"2", "marketId":1, "marketName":"Mintpal", "settings": [{ "$id":"3", "id":1, "name":"Key", "value":"" }, { "$id":"4", "id":2, "name":"Secret Key", "value":"" }] }, { "$id":"5", "marketId":2, "marketName":"Poloniex", "settings": [{ "$id":"6", "id":3, "name":"Key", "value":"shsd*****************" }, { "$id":"7", "id":4, "name":"Secret Key", "value":"sdfg****************" }] },...] }

Add new settings for market


POSThttp://api.trader4crypto.com/api/Market/NewSettings


Request parameters
NameTypeRequiredDescription
marketIdintYesDescription
settingslist<object>*YesDescription

*Settings object parameters

NameTypeRequiredDescription
idintYesDescription
valuestringYesDescription

Response
Status message

Delete settings for market


DELETEhttp://api.trader4crypto.com/api/Market/DeleteSettings/{marketId}


Request parameters
NameTypeRequiredDescription
marketIdintYesDescription

Response
Status message

Value Methods

All value methods except GetCountryList request authorization

Return all supported markets


GEThttp://api.trader4crypto.com/api/Value/GetCountryList


Response
{ "$id":"1", "message":"success", "countryes": [{ "$id":"2", "id":1, "name":"Afghanistan" }, { "$id":"3", "id":244, "name":"Aland Islands" },...] }

Get Comparison Value (points for graphic)


GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue


GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue/{coinId}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription

GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue/{coinId}/{hours}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
hoursintYesDescription

GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue/{coinId}/{days}/{hours}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
daysintYesDescription
hoursintYesDescription

GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue/{coinId}/{days}/{hours}/{compareTo}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
daysintYesDescription
hoursintYesDescription
compareTo*stringYesDescription
*must be BTC or LTC

GEThttp://api.trader4crypto.com/api/Value/GetComparisonValue/{coinId}/{days}/{hours}/{compareTo}/{marketId}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
daysintYesDescription
hoursintYesDescription
compareTo*stringYesDescription
marketId**stringYesDescription
*must be BTC or LTC
**marketId separated by '-' eg: 1-3

Response
{ "$id":"1", "message":"success", "coinId":1, "coinName":"AsiaCoin", "marketPoints": [{ "$id":"2", "marketId":1, "marketName":"Mintpal", "points": [{ "$id":"3", "timeStamp":"2014-08-20T12:05:36.04", "value":0.00000039 }, { "$id":"4", "timeStamp":"2014-08-20T12:05:58.157", "value":0.00000039 },...] },...] }

Return Statistic data for last 24h


GEThttp://api.trader4crypto.com/api/Value/GetStatistic


GEThttp://api.trader4crypto.com/api/Value/GetStatistic/{coinId}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription

Response
{ "$id":"1", "message":"success", "marketId":4, "marketName":"BTCe", "values": [{ "$id":"2", "coinName":"Feathercoin", "highBTC":0.00006000, "lowBTC":0.00005000, "changeBTC":20.0, "highLTC":null, "lowLTC":null, "changeLTC":null }, { "$id":"3", "coinName":"Litecoin", "highBTC":0.01129000, "lowBTC":0.01021000, "changeBTC":10.58, "highLTC":null, "lowLTC":null, "changeLTC":null },...] }

Check if have ceiling and floor for user selected coins


GEThttp://api.trader4crypto.com/api/Value/CheckCeilingFloor


Response
{ "$id":"1", "message":"success", "brokenCeilingFloor": [{ "$id":"2", "coinId":3, "coinName":"BlackCoin", "marketName":"Poloniex", "isBrokenBTC":true, "isBrokenLTC":false, "timeBrokenBTC":"2014-08-21T12:24:01.25", "timeBrokenLTC":null, "ceilingBrokenValBTC":0.00011533, "floorBrokenValBTC":null, "ceilingBrokenValLTC":null, "floorBrokenValLTC":null },...] }

Get coin address status


GEThttp://api.trader4crypto.com/api/Value/GetAddressStatus/{coinId}/{address}

Request parameters
NameTypeRequiredDescription
coinIdintYesDescription
addressstringYesDescription

Response
{ "$id":"1", "message":"success", "address":"LfVszG74eZKRxrx2s29rQs3MR2Vvau3LsE", "addressValues": { "$id":"2", "balance":2.0, "received":2.0, "sent":0.0, "transactions":2 } }

Wallet Methods

All wallet methods request authorization

Insert new crypto address


POSThttp://api.trader4crypto.com/api/Wallet/InsertAddress


Response
Status message

Get user crypto addres


GEThttp://api.trader4crypto.com/api/Wallet/GetAddress


Response
{ "$id":"1", "message":"success", "address": [{ "$id":"2", "walletId":19, "coinName":"BlackCoin", "coinId":3, "address":"LUPvoZwmr2V5w2yDdnrmfGmxZpk4k38TSF" }, { "$id":"3", "walletId":20, "coinName":"Litecoin", "coinId":25, "address":"LfVszG74eZKRxrx2s29rQs3MR2Vvau3LsE" }] }

Delete user crypto address


DELETEhttp://api.trader4crypto.com/api/Wallet/DeleteAddress/{walletId}

Request parameters
NameTypeRequiredDescription
walletIdintYesDescription

Response
Status message