2

This URL today: https://blockchain.info/q/getblockcount

Was giving the error "Too many requests".

Any alternative out there to get the blockcount via an API? Thanks

  • Works fine for me (5 minutes after you posted your question). – Greg Hewgill Jun 27 '16 at 0:42
2

Another public API I found for this:

https://blockexplorer.com/api/status?q=getBlockCount

But the best one so far, is blockR.io because it even has testnet support:

MainNet: http://btc.blockr.io/api/v1/coin/info

TestNet: http://tbtc.blockr.io/api/v1/coin/info

| improve this answer | |
0

You can use our API:

Get latest block (total blocks count )

https://bitaps.com/api/#Get_latest_block

| improve this answer | |
  • testnet support? – knocte Dec 29 '16 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.