I have an application that needs to makes queries to get address balances and transaction data from Bitcoin.

What are some possible solutions to this? It would be great if I didn't have to manage a full node if possible.

  • 4
    Host your own node, and run some code that allows you to make these queries to it. If you are handling customer funds this is the responsible thing to do.
    – chytrik
    Jul 24 '20 at 20:44

You can use a self-hosted (but low-burden!) instance of Esplora.

Blockstream is also exposing an instance for free (at the moment) at blockstream.info.

Disclaimer: if you take part of Bitcoin as an economic actor (as an application providing account balances may imply), you should really consider using your own source of truth and self-host the instance. It's just a docker to start and an nginx reverse proxy to set up after all :-).

  • i forgot why i couldn't use blockstream.info for whatever technical reason. But is there another alternative? My main thing is checking if there is there a balance at an address and if an address has an outgoing or incoming transaction. Jul 24 '20 at 19:16
  • There are APIs at all most famous explorer, on the top of my head: mempool.space (mempool.space/about), blockchair (blockchair.com/bitcoin), blockcypher (live.blockcypher.com/btc). That said, the best one I know of is Esplora's one (even though mempool.space is great for Bisq support). I'd be very interested in knowing what you couldn't use BS.info.
    – darosior
    Jul 24 '20 at 21:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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