Bitcoin Forum
May 13, 2024, 06:23:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: API for block info?  (Read 789 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)?
1715624635
Hero Member
*
Offline Offline

Posts: 1715624635

View Profile Personal Message (Offline)

Ignore
1715624635
Reply with quote  #2

1715624635
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. 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.
1715624635
Hero Member
*
Offline Offline

Posts: 1715624635

View Profile Personal Message (Offline)

Ignore
1715624635
Reply with quote  #2

1715624635
Report to moderator
1715624635
Hero Member
*
Offline Offline

Posts: 1715624635

View Profile Personal Message (Offline)

Ignore
1715624635
Reply with quote  #2

1715624635
Report to moderator
1715624635
Hero Member
*
Offline Offline

Posts: 1715624635

View Profile Personal Message (Offline)

Ignore
1715624635
Reply with quote  #2

1715624635
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!