Mempool
专注于交易费用的比特币 API 服务
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- No
- 分类
- 加密货币
- 文档 / URL
- https://mempool.space/api
简介
Mempool.space 提供免费开放的比特币 API——内存池统计、区块、交易、费率估算和地址——无需密钥(实测可用)。它是热门 Mempool Explorer 背后的数据源。
快速开始
当前区块高度(实测可用):
curl "https://mempool.space/api/blocks/tip/height"
900123
费率估算:
curl "https://mempool.space/api/v1/fees/recommended"
{ "fastestFee": 12, "halfHourFee": 9, "hourFee": 6, "economyFee": 3, "minimumFee": 1 }
最新区块 / 一笔交易:
curl "https://mempool.space/api/blocks"
curl "https://mempool.space/api/tx/{txid}"
地址信息:
curl "https://mempool.space/api/address/{address}"
认证方式
无需认证——免密钥(公开实例免费;需要更多可自建实例)。
速率限制与注意事项
- 公开实例免费;重度使用请自建(项目开源)。
- 端点:
/api/blocks、/api/blocks/tip/height、/api/v1/fees/recommended、/api/tx/{id}、/api/address/{addr}、/api/mempool…… - 费率建议单位是 sat/vB——适合钱包 UI。
- 自建实例(
mempool.spaceDocker 栈)可消除限流。
常见问题
Mempool 免费吗? 是的——公开 API 免费且免密钥。
如何获取费率估算?
/api/v1/fees/recommended 返回 sat/vB 费率。
公开限额不够怎么办? 自建开源栈。
加密货币 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 0x API for querying token and pool stats across various liquidity pools | No auth | Yes | Yes | ↗ |
| 1inch API for querying decentralize exchange | No auth | Yes | Unknown | ↗ |
| Alchemy Ethereum Ethereum Node-as-a-Service Provider | API Key | Yes | Yes | ↗ |
| Alpha (Mossland) Korean crypto channel stance + RAG Q&A + canonical entity/topic/event store | No auth | Yes | Yes | ↗ |
| Binance Exchange for Trading Cryptocurrencies based in China | API Key | Yes | Unknown | ↗ |