Author

Topic: Blockchain.info Receive API problem (Read 709 times)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
August 31, 2013, 06:21:17 PM
#3
I know why. Had that problem a lot. BlockChain will block you IP for a while if it receives to much request.
I send them an e-mail asking for an API bypass, but they never responded -sigh-
sr. member
Activity: 493
Merit: 250
IDENA.IO - Proof-Of-Person Blockchain
August 31, 2013, 06:18:36 PM
#2
Hello, i have the same problem in some times maybe is a failure on blockchain json.
full member
Activity: 230
Merit: 100
June 30, 2013, 05:14:28 PM
#1
I have a service running with Blockchain.info Receive Payments API.

My PHP script requests an address and in 95% of the times it works. The other 5% it receives an empty address. Why is this happening?

I've also setup a 2nd request in my script so if it fails to get an address for the first time, it will request another one, but again, it also fails in this 2nd attempt.

Can you give me some help? I've tried submitting an help request with them but no answer.

Code: (PHP)
$object = blockchain_api($url, $secret, $my_address);
$addr = $object->input_address;

// if 1st time fails, try one more time
if(empty($addr )){
// it ALWAYS fails the 2nd time if the 1st time also fails
$object = blockchain_api($url, $secret, $my_address);
$addr = $object->input_address;
}
Jump to: