mempool.space

liveCrypto

Bitcoin block explorer + mempool / fee stats. Mainnet, testnet, signet, Liquid sidechain. Keyless.

10tools
0msauth
free tier50 calls/day

Tools

mempool_stats

Current mempool size + tx count + total fees.

Parameters
NameTypeDescription
networkoptstring—
▶Try it
block_height

Return the current chain tip block height (latest mined block number) for mainnet, testnet, signet, or liquid.

Parameters
NameTypeDescription
networkoptstring—
▶Try it
get_blockrequired: hash_or_height

Block detail by hash or height.

Parameters
NameTypeDescription
hash_or_heightreqstring—
networkoptstring—
▶Try it
get_transactionrequired: txid

Fetch full transaction detail (inputs, outputs, fee, size, confirmation status) for a given txid on mainnet/testnet/signet/liquid.

Parameters
NameTypeDescription
txidreqstring—
networkoptstring—
▶Try it
get_tx_statusrequired: txid

Return confirmation status (confirmed, block hash, block height) for a txid without fetching the full transaction body.

Parameters
NameTypeDescription
txidreqstring—
networkoptstring—
▶Try it
get_addressrequired: address

Address summary (UTXO + tx counts).

Parameters
NameTypeDescription
addressreqstring—
networkoptstring—
▶Try it
get_address_transactionsrequired: address

Recent Bitcoin transactions touching one address, read from the mempool.space block explorer API (mainnet by default; testnet, signet, and Liquid also selectable). Returns up to 50 transactions with t

Parameters
NameTypeDescription
addressreqstring—
limitoptnumber—
networkoptstring—
▶Try it
hashrate

Network hashrate + difficulty history.

Parameters
NameTypeDescription
periodoptstring—
networkoptstring—
▶Try it
mining_pools

Block share by mining pool.

Parameters
NameTypeDescription
periodoptstring—
networkoptstring—
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/mempool-space/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/mempool-space/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"recommended_fees","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("recommended_fees", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("bitcoin block explorer + mempool / fee stats");