Bitcoin Forum
September 22, 2017, 08:18:39 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: API for block info?  (Read 713 times)
havocist
Newbie
*
Offline Offline

Activity: 2


View Profile
March 30, 2012, 04:26:59 PM
 #1

In the bitcoind API (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)?
1506068319
Hero Member
*
Offline Offline

Posts: 1506068319

View Profile Personal Message (Offline)

Ignore
1506068319
Reply with quote  #2

1506068319
Report to moderator
1506068319
Hero Member
*
Offline Offline

Posts: 1506068319

View Profile Personal Message (Offline)

Ignore
1506068319
Reply with quote  #2

1506068319
Report to moderator
Be very wary of relying on JavaScript for security on sites such as blockchain.info and brainwallet.org. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1506068319
Hero Member
*
Offline Offline

Posts: 1506068319

View Profile Personal Message (Offline)

Ignore
1506068319
Reply with quote  #2

1506068319
Report to moderator
1506068319
Hero Member
*
Offline Offline

Posts: 1506068319

View Profile Personal Message (Offline)

Ignore
1506068319
Reply with quote  #2

1506068319
Report to moderator
havocist
Newbie
*
Offline Offline

Activity: 2


View Profile
March 30, 2012, 04:30:02 PM
 #2

Nevermind. Found a solution:
http://blockchain.info/api

And this is very nice:
http://blockchain.info/api_websocket
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!