Bitcoin Forum
April 20, 2024, 01:41:09 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: API for block info?  (Read 788 times)
havocist (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


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)?
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
1713620469
Hero Member
*
Offline Offline

Posts: 1713620469

View Profile Personal Message (Offline)

Ignore
1713620469
Reply with quote  #2

1713620469
Report to moderator
havocist (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!