---
title: "Blockstream"
description: "Bitcoin through Esplora at blockstream.info. An independent second backend for the same chain, so a Mempool outage isn't your outage."
canonical_url: "https://explorers.agntn.dev/providers/blockstream"
---
# Blockstream

> Bitcoin through Esplora at blockstream.info. An independent second backend for the same chain, so a Mempool outage isn't your outage.

<provider-facts provider="blockstream">



</provider-facts>

## Address it

```ts
const blockstream = await create("blockstream");
await blockstream.getBalance("1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa");
```

Bitcoin only, no key.

## What it reads

The Esplora wire format: `/api/address/:address`, `/api/address/:address/txs`, `/api/address/:address/utxo`, `/api/tx/:hash`, `/api/tx/:hash/outspends` and `/api/blocks/:height`, a page of blocks the provider searches for the exact height. Balances with funded and spent totals and the mempool delta, history, unspent outputs, the public key a spend showed. One transaction, where its outputs went, blocks. The signed hex comes off `/api/tx/:hash/hex`.

## Gotchas

- `/api/address/:address/utxo` answers 400 past a few hundred unspent outputs, same as mempool.space, and that comes back as an `HTTPError` rather than a partial list.
- `/api/fee-estimates` doesn't match Mempool's recommendation shape, so gas data stays unsupported rather than approximated. Read fees through Mempool.
- Blockstream and Mempool share the mapping in `src/core/esplora.ts`. A transaction, its spent outputs, an unspent output, a shown key or a block looks the same from either. OP_RETURN and inscriptions too, both read through `src/core/script.ts`.
- History sorts and filters by block like [Mempool](https://explorers.agntn.dev/providers/mempool). A request that needs rows beyond the newest 1000 transactions throws `UnsupportedOperationError`.
- In [provider selection](https://explorers.agntn.dev/guide/selection) Blockstream sits after Mempool among keyless Bitcoin providers, so it answers when you didn't name a provider and Mempool fails. Rate limited, blocked, unreachable, a 5xx, all the same. Keyless Blockchair comes after it. That's the whole reason it's here.

## Where it lives

`src/providers/blockstream.ts`.


## Sitemap

See the full [sitemap](https://explorers.agntn.dev/sitemap.md) for all pages.
