Mempool API
Returns Bitcoin fee rates, chain tip, address totals, transactions, recent blocks and mempool status.
View as Markdown| GET | /mempool/fees | Recommended Bitcoin fee rates in sat/vB for the next blocks. |
| GET | /mempool/blockTip | The height and hash of the best block. |
| GET | /mempool/address | Funding and spending totals of a Bitcoin address, confirmed and in the mempool. |
| GET | /mempool/tx | A Bitcoin transaction: confirmation status, fee and outputs. |
| GET | /mempool/blocks | The last 15 blocks, newest first, from the chain tip or from a start height. |
| GET | /mempool/mempool | Pending transactions in the mempool and the fee-rate histogram behind them. |
| GET | /mempool/difficultyAdjustment | Progress to the next difficulty retarget and the change it is projected to bring. |
| GET | /mempool/feeProjection | The blocks mempool.space expects to mine next from the current mempool, by fee band. |
| GET | /mempool/blockDetail | One Bitcoin block by its hash: height, time, size, difficulty and transaction count. |
| GET | /mempool/recentMempoolTxs | The most recent transactions that entered the mempool, newest first, with fee and size. |
| GET | /mempool/hashrate | Network hashrate and difficulty history over a time window, with the current values. |
| GET | /mempool/miningPools | Bitcoin mining pools ranked by blocks found in a time window. |
| GET | /mempool/historicalPrice | The price of one bitcoin in USD, EUR, GBP and other currencies at a Unix time. |
| GET | /mempool/txOutspends | For each output of a transaction, whether it is spent and by which transaction. |
| GET | /mempool/addressTxs | The transactions of a Bitcoin address, newest first: unconfirmed ones, then confirmed ones 25 per page. Page with cursor. |
| GET | /mempool/addressUtxos | The unspent outputs (UTXOs) of a Bitcoin address, confirmed and unconfirmed, with their amounts. |
| GET | /mempool/blockTxs | The transactions of one Bitcoin block by its hash, in block order, 25 per page. Page with cursor. |
fees
/v1/mempool/feesRecommended Bitcoin fee rates in sat/vB for the next blocks.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
economyFee | integer (int64) |
fastestFee | integer (int64) |
halfHourFee | integer (int64) |
hourFee | integer (int64) |
minimumFee | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/fees" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/fees", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/fees", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "economyFee": 2, "fastestFee": 5, "halfHourFee": 4, "hourFee": 3, "minimumFee": 1 }, "meta": { "cached": false, "endpoint": "fees", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
blockTip
/v1/mempool/blockTipThe height and hash of the best block.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
hash | string |
height | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/blockTip" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/blockTip", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/blockTip", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "hash": "00000000000000000001920d9b0769107ae1c037f3658a12ce04893e4421dc66", "height": 974833 }, "meta": { "cached": false, "endpoint": "blockTip", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
address
/v1/mempool/addressFunding and spending totals of a Bitcoin address, confirmed and in the mempool.
Parameters
addressstring required | Bitcoin address or mempool.space address URL. e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
address | string |
chainStats | Stats |
fundedTxoCount | integer (int64) |
fundedTxoSum | integer (int64) |
spentTxoCount | integer (int64) |
spentTxoSum | integer (int64) |
txCount | integer (int64) |
mempoolStats | Stats |
fundedTxoCount | integer (int64) |
fundedTxoSum | integer (int64) |
spentTxoCount | integer (int64) |
spentTxoSum | integer (int64) |
txCount | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/address?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/address?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/address?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "chainStats": { "fundedTxoCount": 83353, "fundedTxoSum": 5770640234, "spentTxoCount": 0, "spentTxoSum": 0, "txCount": 67377 }, "mempoolStats": { "fundedTxoCount": 6, "fundedTxoSum": 33184, "spentTxoCount": 0, "spentTxoSum": 0, "txCount": 6 } }, "meta": { "cached": false, "endpoint": "address", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
tx
/v1/mempool/txA Bitcoin transaction: confirmation status, fee and outputs.
Parameters
txidstring required | Transaction id or mempool.space transaction URL. e.g. 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
blockHash | string |
blockHeight | integer (int64) |
blockTime | string |
coinbase | boolean |
confirmed | boolean |
fee | integer (int64) |
outputs | Output[] |
address | string |
value | integer (int64) |
size | integer (int64) |
txid | string |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/tx?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/tx?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/tx?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "blockHash": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", "blockHeight": 0, "blockTime": "2009-01-03T18:15:05Z", "coinbase": true, "confirmed": true, "fee": 0, "outputs": [ { "address": "", "value": 5000000000 } ], "size": 204, "txid": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", "version": 1, "weight": 816 }, "meta": { "cached": false, "endpoint": "tx", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
blocks
/v1/mempool/blocksThe last 15 blocks, newest first, from the chain tip or from a start height.
Parameters
heightinteger | Start height. Returns that block and the 14 below it. Omit for the chain tip. e.g. 840000 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
difficulty | number (double) |
feeRange | number (double)[] |
height | integer (int64) |
id | string |
medianFee | number (double) |
minedAt | string |
pool | string |
reward | integer (int64) |
size | integer (int64) |
totalFees | integer (int64) |
txCount | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/blocks?height=840000" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/blocks?height=840000", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/blocks?height=840000", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "difficulty": 86388558925171.02, "feeRange": [ 100, 111.21062618595825 ], "height": 840000, "id": "0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5", "medianFee": 200, "minedAt": "2024-04-20T00:09:27Z", "pool": "ViaBTC", "reward": 4075061499, "size": 2325617, "totalFees": 3762561499, "txCount": 3050, "weight": 3993281 }, { "difficulty": 86388558925171.02, "feeRange": [ 78.91387559808612, 79.56778591264832 ], "height": 839999, "id": "0000000000000000000172014ba58d66455762add0512355ad651207918494ab", "medianFee": 90, "minedAt": "2024-04-20T00:05:33Z", "pool": "SBI Crypto", "reward": 729455386, "size": 1910838, "totalFees": 104455386, "txCount": 2328, "weight": 3992937 } ], "meta": { "cached": false, "endpoint": "blocks", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
mempool
/v1/mempool/mempoolPending transactions in the mempool and the fee-rate histogram behind them.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
count | integer (int64) |
feeHistogram | FeeBucket[] |
feeRate | number (double) |
vsize | number (double) |
totalFee | integer (int64) |
vsize | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/mempool" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/mempool", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/mempool", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "count": 63285, "feeHistogram": [ { "feeRate": 11.24463, "vsize": 50756 }, { "feeRate": 7.5, "vsize": 50046 } ], "totalFee": 11976978, "vsize": 20275313 }, "meta": { "cached": false, "endpoint": "mempool", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
difficultyAdjustment
/v1/mempool/difficultyAdjustmentProgress to the next difficulty retarget and the change it is projected to bring.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
8 fields
difficultyChange | number (double) |
estimatedRetargetTime | string |
expectedBlocks | number (double) |
nextRetargetHeight | integer (int64) |
previousRetarget | number (double) |
progressPercent | number (double) |
remainingBlocks | integer (int64) |
remainingSeconds | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/difficultyAdjustment" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/difficultyAdjustment", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/difficultyAdjustment", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "difficultyChange": -3.3833305670332714, "estimatedRetargetTime": "2026-11-13T07:19:48Z", "expectedBlocks": 1144.73, "nextRetargetHeight": 975744, "previousRetarget": 5.5392014927774085, "progressPercent": 54.811507936507944, "remainingBlocks": 911, "remainingSeconds": 566252 }, "meta": { "cached": false, "endpoint": "difficultyAdjustment", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
feeProjection
/v1/mempool/feeProjectionThe blocks mempool.space expects to mine next from the current mempool, by fee band.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
blockSize | integer (int64) |
blockVirtualSize | number (double) |
feeRange | number (double)[] |
medianFee | number (double) |
totalFees | integer (int64) |
txCount | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/feeProjection" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/feeProjection", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/feeProjection", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "blockSize": 1656497, "blockVirtualSize": 997969.25, "feeRange": [ 3.305449936628644, 3.6156583629893237 ], "medianFee": 4.909507330691944, "totalFees": 6888879, "txCount": 3472 }, { "blockSize": 1569857, "blockVirtualSize": 997932.5, "feeRange": [ 1.004566210045662, 1.0098066685346034 ], "medianFee": 2.484999613378764, "totalFees": 2326898, "txCount": 2301 } ], "meta": { "cached": false, "endpoint": "feeProjection", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
blockDetail
/v1/mempool/blockDetailOne Bitcoin block by its hash: height, time, size, difficulty and transaction count.
Parameters
hashstring required | Block hash, 64 hex characters. e.g. 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
12 fields
difficulty | number (double) |
height | integer (int64) |
id | string |
medianAt | string |
merkleRoot | string |
minedAt | string |
nonce | integer (int64) |
previousBlock | string |
size | integer (int64) |
txCount | integer (int64) |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/blockDetail?hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/blockDetail?hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/blockDetail?hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "difficulty": 1, "height": 0, "id": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", "medianAt": "2009-01-03T18:15:05Z", "merkleRoot": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", "minedAt": "2009-01-03T18:15:05Z", "nonce": 2083236893, "previousBlock": "", "size": 285, "txCount": 1, "version": 1, "weight": 1140 }, "meta": { "cached": false, "endpoint": "blockDetail", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
recentMempoolTxs
/v1/mempool/recentMempoolTxsThe most recent transactions that entered the mempool, newest first, with fee and size.
Parameters
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
fee | integer (int64) |
txid | string |
value | integer (int64) |
vsize | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/recentMempoolTxs" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/recentMempoolTxs", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/recentMempoolTxs", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "fee": 730, "txid": "6b9cf1ec5745ed3d767b4dfd451be0019e67a70dbada99cc6f24a1c56d2a8c52", "value": 100644, "vsize": 140 }, { "fee": 3972, "txid": "6402a89a13c69b218b9786ea225ac4682e9e515d11d9627d423edbf6869ea5d8", "value": 469990, "vsize": 655 } ], "meta": { "cached": false, "endpoint": "recentMempoolTxs", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
hashrate
/v1/mempool/hashrateNetwork hashrate and difficulty history over a time window, with the current values.
Parameters
timespanstring | Window: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y or 3y.24h3d1w1m3m6m1y2y3ydefault 3de.g. 1w |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
currentDifficulty | number (double) |
currentHashrate | number (double) |
items | HashratePoint[] |
hashrate | number (double) |
time | string |
curl "https://api.hoshime.com/v1/mempool/hashrate?timespan=1w" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/hashrate?timespan=1w", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/hashrate?timespan=1w", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "currentDifficulty": 148364561003867.4, "currentHashrate": 1.036025416498841e+21, "items": [ { "hashrate": 1.064675822922194e+21, "time": "2026-10-31T00:00:00Z" }, { "hashrate": 1.086907013360998e+21, "time": "2026-11-01T00:00:00Z" } ] }, "meta": { "cached": false, "endpoint": "hashrate", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
miningPools
/v1/mempool/miningPoolsBitcoin mining pools ranked by blocks found in a time window.
Parameters
timespanstring | Window: 24h, 3d, 1w, 1m, 3m, 6m, 1y, 2y or 3y.24h3d1w1m3m6m1y2y3ydefault 1we.g. 1w |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
9 fields
blockCount | integer (int64) |
items | MiningPool[] |
blockCount | integer (int64) |
emptyBlocks | integer (int64) |
id | string |
link | string |
name | string |
rank | integer (int64) |
slug | string |
curl "https://api.hoshime.com/v1/mempool/miningPools?timespan=1w" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/miningPools?timespan=1w", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/miningPools?timespan=1w", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "blockCount": 979, "items": [ { "blockCount": 237, "emptyBlocks": 0, "id": "112", "link": "https://foundrydigital.com", "name": "Foundry USA", "rank": 1, "slug": "foundryusa" }, { "blockCount": 187, "emptyBlocks": 1, "id": "45", "link": "https://www.antpool.com", "name": "AntPool", "rank": 2, "slug": "antpool" } ] }, "meta": { "cached": false, "endpoint": "miningPools", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
historicalPrice
/v1/mempool/historicalPriceThe price of one bitcoin in USD, EUR, GBP and other currencies at a Unix time.
Parameters
timestampinteger required | Unix time in seconds. e.g. 1704067200 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
2 fields
prices | map |
time | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/historicalPrice?timestamp=1704067200" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/historicalPrice?timestamp=1704067200", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/historicalPrice?timestamp=1704067200", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "prices": { "AUD": 62500, "CAD": 55917, "CHF": 35465, "EUR": 39136, "GBP": 36298, "JPY": 5967740, "USD": 42266 }, "time": 1704067200 }, "meta": { "cached": false, "endpoint": "historicalPrice", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
txOutspends
/v1/mempool/txOutspendsFor each output of a transaction, whether it is spent and by which transaction.
Parameters
txidstring required | Transaction id or mempool.space transaction URL. e.g. 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
confirmed | boolean |
index | integer (int64) |
spent | boolean |
spentBy | string |
spentInput | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/txOutspends?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/txOutspends?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/txOutspends?txid=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "confirmed": false, "index": 0, "spent": false, "spentBy": "", "spentInput": 0 } ], "meta": { "cached": false, "endpoint": "txOutspends", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
addressTxs
/v1/mempool/addressTxsThe transactions of a Bitcoin address, newest first: unconfirmed ones, then confirmed ones 25 per page. Page with cursor.
Parameters
addressstring required | Bitcoin address or mempool.space address URL. e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
blockHash | string |
blockHeight | integer (int64) |
blockTime | string |
coinbase | boolean |
confirmed | boolean |
fee | integer (int64) |
outputs | Output[] |
address | string |
value | integer (int64) |
size | integer (int64) |
txid | string |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/addressTxs?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/addressTxs?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/addressTxs?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "blockHash": "…", "blockHeight": 0, "blockTime": "…", "coinbase": false, "confirmed": false, "fee": 0, "outputs": [ { "address": null, "value": null } ], "size": 0, "txid": "…", "version": 0, "weight": 0 } ], "meta": { "cached": false, "endpoint": "addressTxs", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
addressUtxos
/v1/mempool/addressUtxosThe unspent outputs (UTXOs) of a Bitcoin address, confirmed and unconfirmed, with their amounts.
Parameters
addressstring required | Bitcoin address or mempool.space address URL. e.g. bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
blockHeight | integer (int64) |
confirmed | boolean |
txid | string |
value | integer (int64) |
vout | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/addressUtxos?address=bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/addressUtxos?address=bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/addressUtxos?address=bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "blockHeight": 0, "confirmed": false, "txid": "…", "value": 0, "vout": 0 } ], "meta": { "cached": false, "endpoint": "addressUtxos", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }
blockTxs
/v1/mempool/blockTxsThe transactions of one Bitcoin block by its hash, in block order, 25 per page. Page with cursor.
Parameters
hashstring required | Block hash, 64 hex digits, as the blocks and blockDetail endpoints give it. e.g. 00000000000000000000d327e01b1988f4572a34e630d9844b5031dc94af143c |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
13 fields
blockHash | string |
blockHeight | integer (int64) |
blockTime | string |
coinbase | boolean |
confirmed | boolean |
fee | integer (int64) |
outputs | Output[] |
address | string |
value | integer (int64) |
size | integer (int64) |
txid | string |
version | integer (int64) |
weight | integer (int64) |
curl "https://api.hoshime.com/v1/mempool/blockTxs?hash=00000000000000000000d327e01b1988f4572a34e630d9844b5031dc94af143c" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/mempool/blockTxs?hash=00000000000000000000d327e01b1988f4572a34e630d9844b5031dc94af143c", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/mempool/blockTxs?hash=00000000000000000000d327e01b1988f4572a34e630d9844b5031dc94af143c", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "blockHash": "…", "blockHeight": 0, "blockTime": "…", "coinbase": false, "confirmed": false, "fee": 0, "outputs": [ { "address": null, "value": null } ], "size": 0, "txid": "…", "version": 0, "weight": 0 } ], "meta": { "cached": false, "endpoint": "blockTxs", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "mempool", "requestId": "req_2Xb9kQ…", "units": 1 } }