Query Bitcoin (BTC L1) blockchain data with USD pricing — wallet balances, address info, transaction details, UTXO analysis, fee estimation, mempool stats, and live network health. Uses Mempool.space REST API (https://mempool.space/docs/api/rest). No API key required.
Coding
mempool.space Public API
Try itOperate mempool.space Bitcoin fee, mempool, address, transaction, and Lightning explorer reads via UXC + curated OpenAPI schema
What it does
Operate mempool.space Bitcoin fee, mempool, address, transaction, and Lightning explorer reads via UXC + curated OpenAPI schema
The skill document
mempool.space API Skill
Use this skill to run mempool.space public Bitcoin and Lightning explorer operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
Prerequisites
uxcis installed and available inPATH.- Network access to
https://mempool.space/api. - Access to the curated OpenAPI schema URL:
https://raw.githubusercontent.com/holon-run/uxc/main/skills/mempool-space-openapi-skill/references/mempool-space-public.openapi.json
Scope
This skill covers a read-first mempool.space surface for:
- Bitcoin fee estimation and mempool state reads
- block tip height checks
- address and transaction status reads
- Lightning network search, statistics, node rankings, node detail, and channel reads
This skill does not cover:
- transaction broadcast or package submission
- websocket subscriptions
- internal or admin routes
- every Esplora-compatible endpoint exposed by mempool.space
Authentication
mempool.space public reads in this skill do not require authentication.
Core Workflow
-
Use the fixed link command by default:
command -v mempool-space-openapi-cli- If missing, create it:
uxc link mempool-space-openapi-cli https://mempool.space/api --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/mempool-space-openapi-skill/references/mempool-space-public.openapi.json mempool-space-openapi-cli -h
-
Inspect operation schema first:
mempool-space-openapi-cli get:/v1/fees/recommended -hmempool-space-openapi-cli get:/mempool -hmempool-space-openapi-cli get:/address/{address} -hmempool-space-openapi-cli get:/v1/lightning/search -hmempool-space-openapi-cli get:/v1/lightning/channels/{short_id} -h
-
Prefer narrow reads before broader scans:
mempool-space-openapi-cli get:/v1/fees/recommendedmempool-space-openapi-cli get:/blocks/tip/heightmempool-space-openapi-cli get:/v1/lightning/statistics/latest
-
Execute with key/value parameters:
mempool-space-openapi-cli get:/address/{address} address=bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlhmempool-space-openapi-cli get:/tx/{txid}/status txid=4d5d7f2d5dc69aa68a51887db07dd6d906f31f9141320f9f0b4bab76d735a47fmempool-space-openapi-cli get:/v1/lightning/search searchText=bfxmempool-space-openapi-cli get:/v1/lightning/channels public_key=033d8656219478701227199cbd6f670335c8d408a92ae88b962c49d4dc0e83e025 status=activemempool-space-openapi-cli get:/v1/lightning/channels/{short_id} short_id=835866331763769345
Operations
get:/v1/fees/recommendedget:/mempoolget:/blocks/tip/heightget:/address/{address}get:/tx/{txid}/statusget:/v1/lightning/statistics/latestget:/v1/lightning/searchget:/v1/lightning/nodes/rankingsget:/v1/lightning/nodes/{public_key}get:/v1/lightning/channelsget:/v1/lightning/channels/{short_id}
Guardrails
- Keep automation on the JSON output envelope; do not use
--text. - Parse stable fields first:
ok,kind,protocol,data,error. - Treat this v1 skill as read-only. Do not use
tx/push, package submission, or internal routes. - Prefer the curated fee, mempool, and Lightning reads here before dropping to the much larger generic Esplora surface.
mempool.spaceis a public explorer service, so mempool state and Lightning rankings can move quickly. Re-query instead of assuming cached values remain current.- For
get:/v1/lightning/channels/{short_id}, mempool.space currently accepts the channelidstring even though the route label saysshort_id; prefer values returned by search or node channel listing. mempool-space-openapi-cli ...is equivalent touxc https://mempool.space/api --schema-url ....
References
- Usage patterns:
references/usage-patterns.md - Curated OpenAPI schema:
references/mempool-space-public.openapi.json - Official mempool repository: https://github.com/mempool/mempool
Related skills
Operate Helius Solana wallet intelligence reads via UXC + curated OpenAPI schema
Operate CoinAPI market data reads via UXC + curated OpenAPI schema
Use OKX OnchainOS MCP through UXC for token discovery, market data, wallet balance, and swap execution planning. Use when tasks need OKX MCP tools such as to...
Operate Blockscout explorer reads via UXC + curated OpenAPI schema
Operate Nodit's multichain entity, account, and token reads via UXC + curated OpenAPI schema