Addresses
Balance, transaction history and unspent outputs of any address, confirmed and unconfirmed.
Open source · Maintained by Ruppenium
Balances, histories and unspent outputs of addresses and xpub wallets; blocks and transactions; live events; transaction publishing. JSON over HTTP.
Haskoin follows the network and indexes every block and transaction by address, for wallets, explorers and payment services.
Balance, transaction history and unspent outputs of any address, confirmed and unconfirmed.
The same for an extended public key (xpub), across every address it derives, in one request.
By hash or height, as JSON or raw. The mempool too.
New blocks and transactions as they arrive, over a WebSocket or a stream of JSON lines, optionally filtered by address or xpub.
Send a signed transaction to the network.
Bitcoin, Bitcoin Cash and their testnets, with the same endpoints.
With Redis, Haskoin caches large xpub wallets.
Several servers sharing one Redis work as a fleet: they share the same tip and mempool, so they give the same answers. Behind a load balancer, they add capacity, and one can be taken down for maintenance while the others keep serving.
In production
Blockchain.com uses Haskoin, and Ruppenium has maintained it for them since 2022.
Each network has its own server and its own reference, which matches the running version and lets you try every request.
curl https://api.haskoin.com/btc/block/best
curl https://api.haskoin.com/btc/address/bc1q…/balance
curl -N https://api.haskoin.com/btc/events
Answers are JSON. Amounts are in satoshis. Lists are newest first and paged with limit and offset. Requests are rate-limited; a client that asks too fast gets 429 Too Many Requests.
This server is also our test bench. We test new versions of Haskoin on it, so it may be restarted, slow or briefly unavailable without notice.
For production, Ruppenium can run a dedicated fleet for you: see below.
Haskoin works alongside fully validating nodes such as Bitcoin Core and Bitcoin Cash Node, not instead of them. A full node enforces every consensus rule but is not built to serve public queries. Haskoin connects to nodes over the peer-to-peer network, ideally your own, and indexes what they relay.
| Haskoin | Bitcoin Core / Bitcoin Cash Node | |
|---|---|---|
| Checks every consensus rule and script | — | ✓ |
| Block templates for mining | — | ✓ |
| Wallet holding private keys | — | ✓ |
| Any transaction by its hash | ✓ | ✓ with -txindex |
| Balance and history of any address | ✓ | — |
| Unspent outputs of any address | ✓ | Slow full scan |
| Balances and history of an xpub wallet | ✓ | — |
| Paged lists, newest first | ✓ | — |
| Events filtered by address or wallet | ✓ | All, unfiltered (ZMQ) |
| Publish transactions | ✓ | ✓ |
| Open HTTP/JSON API for public clients | ✓ | — |
| Shared cache in Redis | ✓ | — |
| Fleet of servers giving identical answers | ✓ | — |
Nodes validate; Haskoin serves applications.
The server behind this site is haskoin-store; the Haskell client library is haskoin-store-data. Both are MIT-licensed. Run it next to your own nodes for the same API, without public rate limits.
Haskoin is maintained and funded by Ruppenium, a software engineering company in Dublin, Ireland. Ruppenium deploys, hosts and supports Haskoin for businesses, and adds features they need.