> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# mempool.space

> Bitcoin blockchain data from mempool.space's keyless REST API: addresses, transactions, blocks, mempool backlog, fee estimates and BTC prices.

![](https://mintcdn.com/webrouter/JBFYvcRI1PVnd4YX/logo/data-apis/mempool-space.webp?fit=max\&auto=format\&n=JBFYvcRI1PVnd4YX\&q=85\&s=990ee9af09a2da6660261a08153077e7)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

No key needed

Endpoints

10

Auth

None

[Vendor docs](https://mempool.space/docs/api/rest)

## Notes

* Keyless public API. Exceeding its rate limits answers 429, and repeated violations can get you banned; enterprise sponsorship raises limits.
* Lists are newest first and page by transaction id: pass the last txid seen to get the next page, not a page number.
* This entry leaves out POST /api/tx, which broadcasts a transaction to the Bitcoin network.

## Endpoints

GET

Get a Bitcoin address's summary

Funded and spent output counts and sums for one address, on chain and in the mempool.

[Open](#mempool-space-address-get)

GET

List a Bitcoin address's transactions

Up to 50 mempool transactions plus the first 25 confirmed ones of an address, newest first.

[Open](#mempool-space-address-txs)

GET

List a Bitcoin address's unspent outputs

Unspent transaction outputs of an address.

[Open](#mempool-space-address-utxo)

GET

Get a Bitcoin transaction

Inputs, outputs, fee and confirmation status of one transaction.

[Open](#mempool-space-tx-get)

GET

List blocks from a height

Ten blocks, including the one at the given height.

[Open](#mempool-space-blocks-list)

GET

Get the latest block height

Height of the chain tip, as plain text.

[Open](#mempool-space-blocks-tip-height)

GET

Get recommended fee rates

Suggested fee rates for a new transaction.

[Open](#mempool-space-fees-recommended)

GET

Get mempool backlog statistics

Current mempool backlog statistics.

[Open](#mempool-space-mempool-stats)

GET

Get the current Bitcoin price

Latest BTC price in the main fiat currencies (USD, EUR, GBP, CAD, CHF, AUD, JPY).

[Open](#mempool-space-prices-current)

GET

Get historical Bitcoin prices

BTC price at a time, in one currency.

[Open](#mempool-space-prices-historical)

### Get a Bitcoin address's summary

GET

`/address/{address}`

`mempool-space.address.get`

Funded and spent output counts and sums for one address, on chain and in the mempool.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`address` required</td><td>string</td><td>path</td><td>Bitcoin address. Example `1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Alchemy](https://docs.webrouter.net/data-apis/alchemy.md#alchemy-token-balances), [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-account-balance), [GoldRush (formerly Covalent)](https://docs.webrouter.net/data-apis/goldrush.md#goldrush-balances-tokens), [Hyperliquid](https://docs.webrouter.net/data-apis/hyperliquid.md#hyperliquid-account-state), [Moralis](https://docs.webrouter.net/data-apis/moralis.md#moralis-wallet-tokens)

```python Python theme={null}
router.call_data_api("mempool-space.address.get", {'address': '1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv'})
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.address.get", params={"address": "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv"})
```

### List a Bitcoin address's transactions

GET

`/address/{address}/txs`

`mempool-space.address.txs`

Up to 50 mempool transactions plus the first 25 confirmed ones of an address, newest first.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`address` required</td><td>string</td><td>path</td><td>Bitcoin address. Example `1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv`</td></tr>

    <tr>
      <td>
        `after_txid`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Last confirmed txid seen, to get the next confirmed transactions.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-account-txlist), [GoldRush (formerly Covalent)](https://docs.webrouter.net/data-apis/goldrush.md#goldrush-transactions-recent), [Moralis](https://docs.webrouter.net/data-apis/moralis.md#moralis-wallet-history)

```python Python theme={null}
router.call_data_api("mempool-space.address.txs", {'address': '1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv'})
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.address.txs", params={"address": "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv"})
```

### List a Bitcoin address's unspent outputs

GET

`/address/{address}/utxo`

`mempool-space.address.utxo`

Unspent transaction outputs of an address.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`address` required</td><td>string</td><td>path</td><td>Bitcoin address. Example `1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv`</td></tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Alchemy](https://docs.webrouter.net/data-apis/alchemy.md#alchemy-token-balances), [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-account-balance), [GoldRush (formerly Covalent)](https://docs.webrouter.net/data-apis/goldrush.md#goldrush-balances-tokens), [Hyperliquid](https://docs.webrouter.net/data-apis/hyperliquid.md#hyperliquid-account-state), [Moralis](https://docs.webrouter.net/data-apis/moralis.md#moralis-wallet-tokens)

```python Python theme={null}
router.call_data_api("mempool-space.address.utxo", {'address': '1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv'})
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.address.utxo", params={"address": "1wiz18xYmhRX6xStj2b9t1rwWX4GKUgpv"})
```

### Get a Bitcoin transaction

GET

`/tx/{txid}`

`mempool-space.tx.get`

Inputs, outputs, fee and confirmation status of one transaction.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `txid`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        Transaction id (hex).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-account-txlist), [GoldRush (formerly Covalent)](https://docs.webrouter.net/data-apis/goldrush.md#goldrush-transactions-recent), [Moralis](https://docs.webrouter.net/data-apis/moralis.md#moralis-wallet-history)

### List blocks from a height

GET

`/blocks/{start_height}`

`mempool-space.blocks.list`

Ten blocks, including the one at the given height.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start_height` required</td><td>integer</td><td>path</td><td>Block height to start from. Example `730000`</td></tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-block-getblocknobytime)

```python Python theme={null}
router.call_data_api("mempool-space.blocks.list", {'start_height': 730000})
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.blocks.list", params={"start_height": 730000})
```

> [!NOTE]
>
> * Get the current tip with GET /blocks/tip/height.

### Get the latest block height

GET

`/blocks/tip/height`

`mempool-space.blocks.tip_height`

Height of the chain tip, as plain text.

Input

No inputs.

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-block-getblocknobytime)

```python Python theme={null}
router.call_data_api("mempool-space.blocks.tip_height")
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.blocks.tip_height")
```

### Get recommended fee rates

GET

`/v1/fees/recommended`

`mempool-space.fees.recommended`

Suggested fee rates for a new transaction.

Input

No inputs.

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-gastracker-gasoracle)

```python Python theme={null}
router.call_data_api("mempool-space.fees.recommended")
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.fees.recommended")
```

### Get mempool backlog statistics

GET

`/mempool`

`mempool-space.mempool.stats`

Current mempool backlog statistics.

Input

No inputs.

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Etherscan](https://docs.webrouter.net/data-apis/etherscan.md#etherscan-gastracker-gasoracle)

```python Python theme={null}
router.call_data_api("mempool-space.mempool.stats")
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.mempool.stats")
```

### Get the current Bitcoin price

GET

`/v1/prices`

`mempool-space.prices.current`

Latest BTC price in the main fiat currencies (USD, EUR, GBP, CAD, CHF, AUD, JPY).

Input

No inputs.

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-crypto-daily), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-ticker-price), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-ticker-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-price-simple), [CoinMarketCap](https://docs.webrouter.net/data-apis/coinmarketcap.md#coinmarketcap-cryptocurrency-listings-latest), [CryptoCompare](https://docs.webrouter.net/data-apis/cryptocompare.md#cryptocompare-index-latest-tick)

```python Python theme={null}
router.call_data_api("mempool-space.prices.current")
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.prices.current")
```

### Get historical Bitcoin prices

GET

`/v1/historical-price`

`mempool-space.prices.historical`

BTC price at a time, in one currency.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`currency`</td><td>string</td><td>query</td><td>Fiat currency code. Example `EUR`</td></tr>
    <tr><td>`timestamp`</td><td>integer</td><td>query</td><td>Point in time, as in the docs' example 1500000000. Example `1500000000`</td></tr>
  </tbody>
</table>

[Vendor docs](https://mempool.space/docs/api/rest) · Same job: [Alpha Vantage](https://docs.webrouter.net/data-apis/alphavantage.md#alphavantage-daily), [Bank of Canada](https://docs.webrouter.net/data-apis/bankofcanada.md#bankofcanada-observations-series), [Bank of England](https://docs.webrouter.net/data-apis/bankofengland.md#bankofengland-series-csv), [Binance](https://docs.webrouter.net/data-apis/binance.md#binance-klines), [Coinbase Exchange](https://docs.webrouter.net/data-apis/coinbase-exchange.md#coinbase-exchange-candles-get), [CoinGecko](https://docs.webrouter.net/data-apis/coingecko.md#coingecko-coins-market-chart)

```python Python theme={null}
router.call_data_api("mempool-space.prices.historical", {'currency': 'EUR', 'timestamp': 1500000000})
```

```text MCP theme={null}
call_data_api(endpoint="mempool-space.prices.historical", params={"currency": "EUR", "timestamp": 1500000000})
```

> [!NOTE]
>
> * Without either parameter the answer is the full price history in every currency, which is large.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.