I want to connect to the bitcoin network and broadcast a transaction.

I can't run my own bitcoin node on localhost because I'm in php on a web server (shared host), is there an internet-accessible open-to-the-public trusted reliable well-known node I can use?

Even blockchain.info api requires a local service to be running, so that won't work.

up vote 0 down vote accepted

You can't do that using Bitcoin-core. What you can do as an alternative is using electrum servers.

You can find all the information about using it and commands in here.


  • Broadcast transactions.
  • Getting legacy address transactions, unspent and balance.
  • Free and public and there is many available peers.
  • open source (python).

Note: if you want to get segwit address balance, transactions.. you should convert it to script hash first.

  • I'm in php on a shared web server. Wouldn't this solution require me to have a private virtual server, at least? – toddmo Mar 24 at 18:47
  • Never, if you have Bitcoin-core you should get VPS, Electrum size is just 20MB, don't forget to open port 50002, 50003 – Adam Mar 25 at 2:49
  • I can't open a port. I can't install software. I don't "have" bitcoin core or anything else, just php files and html pages. I'm on a shared web server. Either I don't understand what you are suggesting or your answer isn't a suitable answer b/c it is disregarding my code environment. Maybe I don't understand then? When I look at your link, it wants me to install some software on the server, correct? – toddmo Mar 27 at 17:49
  • Sorry, I didn't notice your comment. You can get another server and install electrumx on it, or you can use other people server since its public and you don't need to open those ports though. – Adam Apr 25 at 4:41

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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