Bitcoin Forum
May 20, 2024, 05:30:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain API  (Read 657 times)
Zetler (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
April 17, 2014, 06:41:29 PM
 #1

I can open https://blockchain.info/q/getblockcount in my browser, but a program I made cannot access it.

The program is supposed to check the blockchain once every 60 seconds. If I cannot access blockchain.info, is there another source?
jojolororo
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 17, 2014, 06:47:32 PM
 #2

I have this problem for generat new adress with file get contents in PHP
nachius
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile
April 17, 2014, 07:31:58 PM
 #3

https://bitcointalk.org/index.php?topic=564022.0
Zetler (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
April 18, 2014, 06:57:56 AM
 #4

Blockchain.info worked for a while this morning, but my robot is blocked again. Note that I only make one request every 30 seconds - no more.

All I would need is actually just the last block, raw from the blockchain would do, but stability is very important. Where else can I find this?
xenoky
Member
**
Offline Offline

Activity: 99
Merit: 20


View Profile
April 18, 2014, 10:43:03 AM
 #5

i had the same problem, setting a user-agent in my request seem to solve the problem, at least for now
jojolororo
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
April 18, 2014, 04:30:21 PM
 #6

For generat address its ok now but for withdrawing with "https://blockchain.info/fr/merchant/$guid/payment?password=$main_password&second_password=$second_password&to=$address&amount=$amount&from=$from&shared=$shared&fee=$fee¬e=$note" dont work
mriou
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 18, 2014, 11:16:30 PM
 #7

You might want to try this too:

https://api.blockcypher.com/v1/btc/main

There are more APIs to retrieve blocks, transactions, addresses, etc. See:

http://dev.blockcypher.com
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!