<p>Another public API I found for this:</p>

<p><a href="https://blockexplorer.com/api/status?q=getBlockCount" rel="nofollow">https://blockexplorer.com/api/status?q=getBlockCount</a></p>

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

<p>MainNet: <a href="http://btc.blockr.io/api/v1/coin/info" rel="nofollow">http://btc.blockr.io/api/v1/coin/info</a></p>

<p>TestNet: <a href="http://tbtc.blockr.io/api/v1/coin/info" rel="nofollow">http://tbtc.blockr.io/api/v1/coin/info</a></p>

CC BY-SA 3.0
2016-06-27T01:50:42.667Z
2016-06-28T02:13:50.137Z
2016-06-28T02:13:50.137Z
knocte
<p>You can use our API:</p>

<p>Get latest block (total blocks count )</p>

<p><a href="https://bitaps.com/api/#Get_latest_block" rel="nofollow noreferrer">https://bitaps.com/api/#Get_latest_block</a></p>

CC BY-SA 3.0
2016-12-29T08:05:57.473Z
testnet support?
knocte
CC BY-SA 3.0
2016-12-28T16:37:25.900Z
2016-12-28T16:37:25.900Z
bitaps.com
<p>This URL today: <a href="https://blockchain.info/q/getblockcount" rel="nofollow">https://blockchain.info/q/getblockcount</a></p>

<p>Was giving the error "Too many requests".</p>

<p>Any alternative out there to get the blockcount via an API? Thanks</p>

CC BY-SA 3.0
2016-06-27T00:42:32.723Z
Works fine for me (5 minutes after you posted your question).
Greg Hewgill
<api><blockchain.info>
Blockchain.info's blockcount API call giving error, alternatives?
knocte
# Blockchain.info's blockcount API call giving error, alternatives?

(Asked by: username_0 on 2016-06-27)

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

**Tags:** api, blockchain.info

> **Comments:**
> **username_1**: Works fine for me (5 minutes after you posted your question).  

---

## 2 answers

### Answer by username_0 on 2016-06-27. Score: 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>


---

### Answer by username_2 on 2016-12-28. Score: 0

You can use our API:

Get latest block (total blocks count )

<https://username_2/api/#Get_latest_block>

> **Comments:**
> **username_0**: testnet support?  

---

