Bitcoin Forum

Other => Beginners & Help => Topic started by: havocist on March 30, 2012, 04:26:59 PM



Title: API for block info?
Post by: havocist on March 30, 2012, 04:26:59 PM
In the bitcoind API (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list)) getblockbycount is now disabled, and on http://blockexplorer.com/q the API for block info isn't available.

Why? It's public data that no one could use for nefarious purposes, right?

Does anyone know of an API that has block info similar to http://blockexplorer.com/block/00000000000003c84999bf88ce9da07b1fda2fe302caf09b1c205ba26b89745f (without having to scrape that site)?


Title: Re: API for block info?
Post by: havocist on March 30, 2012, 04:30:02 PM
Nevermind. Found a solution:
http://blockchain.info/api (http://blockchain.info/api)

And this is very nice:
http://blockchain.info/api_websocket (http://blockchain.info/api_websocket)