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

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

<pre><code>$http({
    method: 'POST'
    ,url: 'https://blockchain.info/pushtx?cors=true'
    ,data: $.param({tx:txHex})
    ,headers:{
        "Content-Type":"application/x-www-form-urlencoded"
    }
})
</code></pre>

CC BY-SA 3.0
2015-06-17T22:09:28.067Z
2015-06-17T22:22:23.023Z
2015-06-17T22:22:23.023Z
Akhil F
<p>There are like a million services that will let you do this.</p>

<p>LuxStack - <a href="https://luxstack.com/docs" rel="nofollow">https://luxstack.com/docs</a> (Ctrl-F "pushTransaction")</p>

<p>Chain.com - <a href="https://chain.com/docs#bitcoin-transaction-send" rel="nofollow">https://chain.com/docs#bitcoin-transaction-send</a></p>

<p>Any BitcoinJS exit node - <a href="https://github.com/bitcoinjs/node-bitcoin-exit/wiki/REST-API" rel="nofollow">https://github.com/bitcoinjs/node-bitcoin-exit/wiki/REST-API</a></p>

<p>Blocktrail.com - <a href="https://www.blocktrail.com/api/docs#sending_transactions" rel="nofollow">https://www.blocktrail.com/api/docs#sending_transactions</a></p>

<p>I'm sure there's more I'm forgetting.</p>

CC BY-SA 3.0
2015-06-17T20:46:55.310Z
Heads up, helloblock will be shutting down soon (it officially suspended on apr 1 2015). I'll check out the others. Thanks!~
Akhil F
CC BY-SA 3.0
2015-06-17T21:06:36.407Z
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.
Akhil F
CC BY-SA 3.0
2015-10-10T19:49:53.447Z
LuxStack link doesn't work
Riccardo Casatta
CC BY-SA 3.0
2015-06-17T20:45:20.140Z
2015-06-17T20:48:34.353Z
2015-06-17T20:48:34.353Z
Nick ODell
<p>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.</p>

CC BY-SA 3.0
2015-06-17T20:21:08.330Z
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
CC BY-SA 3.0
2015-06-17T20:22:09.503Z
I agree, but I'm not able to deal with the legal implications of running my own service =(
Akhil F
<api><websites>
Pushing tx to the network via AJAX, without installing bitcoin
Akhil F
# Pushing tx to the network via AJAX, without installing bitcoin

(Asked by: username_0 on 2015-06-17)

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.

**Tags:** api, websites

> **Comments:**
> **username_1**: 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.  
> **username_0**: I agree, but I'm not able to deal with the legal implications of running my own service =(  

---

## 2 answers

### Answer by username_0 on 2015-06-17. Score: 3 | Accepted answer

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
$http({
    method: 'POST'
    ,url: 'https://blockchain.info/pushtx?cors=true'
    ,data: $.param({tx:txHex})
    ,headers:{
        "Content-Type":"application/x-www-form-urlencoded"
    }
})


---

### Answer by username_2 on 2015-06-17. Score: 1

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.

> **Comments:**
> **username_0**: Heads up, helloblock will be shutting down soon (it officially suspended on apr 1 2015). I'll check out the others. Thanks!~  
> **username_0**: 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.  
> **username_3**: LuxStack link doesn't work  

---

