Is there any web service anywhere that allows me to push raw transactions to the network via an ajax call? Blockchain's pushtx only works if you copy/paste so I can't build around it.

  • If you are building a service you need to make your own endpoint. Relying on anyone elses has privacy implications, and opens them to censoring you at their leisure.
    – Claris
    Jun 17, 2015 at 20:21
  • I agree, but I'm not able to deal with the legal implications of running my own service =(
    – A F
    Jun 17, 2015 at 20:22

2 Answers 2


Looks like the premise of this question was wrong. Blockchain.info DOES support raw transactions via ajax however you have to include ?cors=true to the end.

Note they also require application/x-www-form-urlencoded data. Here's what my request looked like in angular

    method: 'POST'
    ,url: 'https://blockchain.info/pushtx?cors=true'
    ,data: $.param({tx:txHex})

There are like a million services that will let you do this.

LuxStack - https://luxstack.com/docs (Ctrl-F "pushTransaction")

Chain.com - https://chain.com/docs#bitcoin-transaction-send

Any BitcoinJS exit node - https://github.com/bitcoinjs/node-bitcoin-exit/wiki/REST-API

Blocktrail.com - https://www.blocktrail.com/api/docs#sending_transactions

I'm sure there's more I'm forgetting.

  • Heads up, helloblock will be shutting down soon (it officially suspended on apr 1 2015). I'll check out the others. Thanks!~
    – A F
    Jun 17, 2015 at 20:46
  • So it looks like all the services you listed require API Keys, which may not work in my use case. And the "permanent" exit node listed on the bitcoinjs repo is down so its probably safe to consider the project dead.
    – A F
    Jun 17, 2015 at 21:06
  • LuxStack link doesn't work Oct 10, 2015 at 19:49

Your Answer

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

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