Block-node.Info API

The Blocknet

The Internet Of Blockchains

And

Decentralized Application Platform via Xbridge technology

Intro


These API's are provided based on external information. Ticker type information is refreshed every minute while external prices are updated every 5 minutes.
For any questions or issues, please use the Contact page and we will respond as quickly as possible.

Rate Limits


For the use of the API's please not that using more than 8 calls per minute will result in invalid request page.

Responses


Responses are in JSON

API's


Getrevenue.php
- Example : https://api.block-node.info/getrevenue.php
- Parameters
   < optional > val (getrevenue.php?val=)
   This is a numeric value and should represent the number of staking Blocknet Coins

- Result
[{"getrevenue":{"Message":"Sample used : 1000"}},{"getrevenue":{"block_price_usd":"17.20","daily_generated_total":1440,"daily_assigned_to_staking":0.5538027543643119,"your_daily_stake_total":"0.47","your_daily_stake_total_usd":"8.03","est_time_1st_stake":"15.42","your_yearly_stake_total":186.36197599845968,
"your_staking_value_usd":"17,202.10","your_yearly_stake_value_usd":"3,205.82","current_staking_interest_percentage":"18.64","total_number_nodes":"467","total_amount_blocks_allocated_node":"2,335,000.00","current_node_interest_percentage":"15.76","amount_neither_staking_or_node":"1,986,625.03",
"block_height":"495687","difficulty":"9759.49899335","total_being_staked":"925,002.86","cmc_price_btc":"0.00211852","cmc_rank":"159","cmc_market_cap_usd":"88,530,008.00","cmc_24h_volume_usd":"431,721.00","cmc_percent_change_24h":"-10.8"}}]

Show interest rate for the staked amount of BLOCK
MessageSample used : 1000
block_price_usd17.20
daily_generated_total1440
daily_assigned_to_staking0.5538027543643119
your_daily_stake_total0.47
your_daily_stake_total_usd8.03
est_time_1st_stake15.42
your_yearly_stake_total186.36197599845968
your_staking_value_usd17,202.10
your_yearly_stake_value_usd3,205.82
current_staking_interest_percentage18.64
total_number_nodes467
total_amount_blocks_allocated_node2,335,000.00
current_node_interest_percentage15.76
amount_neither_staking_or_node1,986,625.03
block_height495687
difficulty9759.49899335
total_being_staked925,002.86
cmc_price_btc0.00211852
cmc_rank159
cmc_market_cap_usd88,530,008.00
cmc_24h_volume_usd431,721.00
cmc_percent_change_24h-10.8


getDXticker.php
- Example : https://api.block-node.info/getDXticker.php
- Parameters
   None

- Result
[{"Ticker":{"BLOCK":{"last":"0.00164049","last_timestamp":"2018-07-18 14:18:22","name":"Blocknet","low":"0.00164049","high":"0.00168308","volume_BTC":0.0612370557107,"volume_USD":454.384977546,"coins_traded":36.703857},"LTC":{"last":"0.00746837","last_timestamp":"2018-07-16 20:09:51","name":"Litecoin","low":"0.00746837","high":"0.00925304","volume_BTC":0.0025532846836000002,"volume_USD":17.043423320000002,"coins_traded":0.29792},"SYS":{"last":"0.00012105","last_timestamp":"2018-07-20 22:58:41","name":"Syscoin","low":"0","high":"0.00012105","volume_BTC":0.000120885,"volume_USD":0.8945000000000001,"coins_traded":2.5}}},{"Ticker":{"BLOCK_LTC":{"last":"0.00164049","last_timestamp":"2018-07-18 14:18:22","name_from":"Blocknet","name_to":"Litecoin","low":"0.00164049","high":"0.00168308","volume_BTC":0.0612370557107,"volume_USD":454.384977546,"coins_traded":36.703857},"LTC_BLOCK":{"last":"0.00746837","last_timestamp":"2018-07-16 20:09:51","name_from":"Litecoin","name_to":"Blocknet","low":"0.00746837","high":"0.00925304","volume_BTC":0.0025532846836000002,"volume_USD":17.043423320000002,"coins_traded":0.29792},"SYS_MONA":{"last":"0.00012105","last_timestamp":"2018-07-20 22:58:41","name_from":"Syscoin","name_to":"MonaCoin","low":"0.00006019","high":"0.00012105","volume_BTC":0.000120885,"volume_USD":0.8945000000000001,"coins_traded":1.5},"SYS_XC":{"last":"0","last_timestamp":"2018-07-18 19:55:47","name_from":"Syscoin","name_to":"XCurrency","low":"0","high":"0","volume_BTC":0,"volume_USD":0,"coins_traded":"1.000000"}}}]

Price Ticker per symbol over the last 24 hours
< Symbol >last0.00164049
last_timestamp2018-07-18 14:18:22
nameBlocknet
low0.00164049
high0.00168308
volume_BTC0.0612370557107
volume_USD454.384977546
coins_traded36.703857

Price Ticker per trading pair over the last 24 hours
< Pair >last0.00164049
last_timestamp2018-07-18 14:18:22
name_fromBlocknet
name_toLitecoin
low0.00164049
high0.00168308
volume_BTC0.0612370557107
volume_USD454.384977546
coins_traded36.703857


getDXticker7.php
- Example : https://api.block-node.info/getDXticker7.php
- Parameters
   None

- Result
[{"Ticker":{"BLOCK":{"last":"0.00164049","last_timestamp":"2018-07-18 14:18:22","name":"Blocknet","low":"0.00164049","high":"0.00168308","volume_BTC":0.0612370557107,"volume_USD":454.384977546,"coins_traded":36.703857},"LTC":{"last":"0.00746837","last_timestamp":"2018-07-16 20:09:51","name":"Litecoin","low":"0.00746837","high":"0.00925304","volume_BTC":0.0025532846836000002,"volume_USD":17.043423320000002,"coins_traded":0.29792},"SYS":{"last":"0.00012105","last_timestamp":"2018-07-20 22:58:41","name":"Syscoin","low":"0","high":"0.00012105","volume_BTC":0.000120885,"volume_USD":0.8945000000000001,"coins_traded":2.5}}},{"Ticker":{"BLOCK_LTC":{"last":"0.00164049","last_timestamp":"2018-07-18 14:18:22","name_from":"Blocknet","name_to":"Litecoin","low":"0.00164049","high":"0.00168308","volume_BTC":0.0612370557107,"volume_USD":454.384977546,"coins_traded":36.703857},"LTC_BLOCK":{"last":"0.00746837","last_timestamp":"2018-07-16 20:09:51","name_from":"Litecoin","name_to":"Blocknet","low":"0.00746837","high":"0.00925304","volume_BTC":0.0025532846836000002,"volume_USD":17.043423320000002,"coins_traded":0.29792},"SYS_MONA":{"last":"0.00012105","last_timestamp":"2018-07-20 22:58:41","name_from":"Syscoin","name_to":"MonaCoin","low":"0.00006019","high":"0.00012105","volume_BTC":0.000120885,"volume_USD":0.8945000000000001,"coins_traded":1.5},"SYS_XC":{"last":"0","last_timestamp":"2018-07-18 19:55:47","name_from":"Syscoin","name_to":"XCurrency","low":"0","high":"0","volume_BTC":0,"volume_USD":0,"coins_traded":"1.000000"}}}]

Price Ticker per symbol over the last 7 days
< Symbol >last0.00164049
last_timestamp2018-07-18 14:18:22
nameBlocknet
low0.00164049
high0.00168308
volume_BTC0.0612370557107
volume_USD454.384977546
coins_traded36.703857

Price Ticker per trading pair over the last 7 days
< Pair >last0.00164049
last_timestamp2018-07-18 14:18:22
name_fromBlocknet
name_toLitecoin
low0.00164049
high0.00168308
volume_BTC0.0612370557107
volume_USD454.384977546
coins_traded36.703857


gettradevalue.php
- Example : https://api.block-node.info/gettradevalue.php?source=btc&value=1&target=block
- Parameters
   source ticker symbol
   value numeric value for the source ticker amount
   target ticker symbol
   * note : As a ticker can have duplicate references, a counter has been added
- Result
[{"gettradevalue":{"message":"No Messages"}},{"gettradevalue":{"BTC":{"1":{"BLOCK":{"1":{"timestamp":"2018-07-22 15:20:01","source_msg":"","source_symbol":"BTC","source_name":"Bitcoin","source_BTC_price":"1.0","target_msg":"","target_symbol":"BLOCK","target_name":"Blocknet","target_price":"0.00170995","target_amount":"584.81242142"}}}}}}]

Price Ticker per symbol over the last 7 days
messageNo Messages
< From Symbol >< Counter >< To Symbol >< Counter >timestamp2018-07-22 15:20:01
source_msg< error >
source_symbolBTC
source_nameBitcoin
source_BTC_price1.0
target_msg< error >
target_symbolBLOCK
target_nameBlocknet
target_price0.00170995
target_amount584.81242142


getservicenodes.php
- Example : https://api.block-node.info/getservicenodes.php
- Parameters
   None

- Result
[{"servicenode":[{"rank":"1","status":"ENABLED","version":"70711","addr":"Bd6XHf8HsxU8EBaCb68vrLgq86n2zeKw37","lastseen":"1532425482","activetime":"7512229","servicenode_lastpaid":"1532420904","servicenode_xwallets":""},"getmininginfo":{"numberOfNodes":0}}]

Retrieve nodes
rank1
statusENABLED
version70711
addrBd6XHf8HsxU8EBaCb68vrLgq86n2zeKw37
lastseen1532425482
activetime7512229
servicenode_lastpaid1532420904
servicenode_xwalletsAEX,ALQO,BANQ,BITG,BLAST,BLOCK,BTC,BWK,COLX,CRAVE,CRC,CRW,DASH,DGB,DMD,DOGE,DYN,EMC2,ENT,FAIR,FLO,GBX,HTML,HXX,INN,IOP,JEW,KLKS,KREDS,LBC,LTC,LYNX,MGN,MNX,MONA,MUE,NMC,NORT

Retrieve total number of nodes
numberOfNodes461