I want to send payment to bitcoin address weekly from my bitcoin address,I have tried blockchain api but can't seem to find an answer.Need help.

  • Any suggestion on what language or system to use? (javascript, node.js, wordpress, php, etc)
    – John T
    Jan 8, 2014 at 8:20
  • This question is little scarce on details. Would you like to eloborate more what kind of wallets and what kind of transactions you need to do? Jan 8, 2014 at 8:44
  • Yeah,what I want is to send bitcoins to others,so I guess I need to send to their bitcoin address and that too weekly,and I want to do it in PHP,
    – avi
    Jan 8, 2014 at 9:02

1 Answer 1



The api call to send is:


In PHP, replace all the variables (they start with a $ in example up above) with your actual info. Some of the parameters in the url are optional so visit the page I linked to see which ones are optional. Keep the url as a string and feed it in to this:

$result = file_get_contents($the_url_you_just_made);

This should send a payment as soon as it runs, you may want to read the resulting string, it will contain the error message if anything goes wrong. The response is detailed on the link and you can try out URLs in browser as well, just type in GUID, amount, address, etc in the correct places.

  • Thanks boss,now that's what I wanted when asked for the question
    – avi
    Jan 8, 2014 at 9:24
  • How to make the API call in a dummy way i.e. in a sanbox manner just like PayPal ? Apr 26, 2020 at 14:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.