Bitcoin Mempool Analytics API - Real-time Fees + Whale Txs avatar

Bitcoin Mempool Analytics API - Real-time Fees + Whale Txs

Pricing

Pay per usage

Go to Apify Store
Bitcoin Mempool Analytics API - Real-time Fees + Whale Txs

Bitcoin Mempool Analytics API - Real-time Fees + Whale Txs

Real-time Bitcoin mempool snapshot: recommended fees (sat/vB), whale transactions (≥ 10 BTC), recent block stats, hash rate (EH/s), difficulty adjustment. Powered by mempool.space. No API key required.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Hojun Lee

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 hours ago

Last modified

Share

Bitcoin Mempool Analytics

Real-time Bitcoin mempool snapshot: recommended fees, pending whale transactions, recent blocks, hash rate, difficulty adjustment. Powered by mempool.space. No API key required.


What It Does

Captures a full snapshot of the Bitcoin network state in one call:

  • Recommended fees at 4 tiers (fastest / 30-min / 1h / economy / minimum) in sat/vB
  • Mempool stats: pending tx count, total vsize, total fees, "blocks to clear" estimate
  • Recent N blocks: height, hash, tx count, size, avg fee
  • Hash rate (current EH/s) + difficulty adjustment (next % change, ETA)
  • Whale transactions in mempool (configurable BTC threshold)

Optional Telegram alert when fees spike above your threshold.


Why This Matters

  • Fee timing — know exactly when to broadcast a tx (economy 1 sat/vB? fastest 50 sat/vB?)
  • Whale activity — large pending BTC transfers (often > 100 BTC) are leading indicators of OTC flow / CEX deposits
  • Difficulty adjustment — anticipated hash rate / mining economics changes
  • Mining health — hash rate trend reveals miner capitulation or expansion

This Actor turns the firehose at mempool.space into a clean dataset for your trading bot, fee optimizer, or alert pipeline.


Input

FieldTypeDefaultDescription
includeWhaleTransactionsbooleantrueScan recent mempool for whale txs
minWhaleBtcnumber10Min BTC for whale flag
blocksLookbackinteger10Recent blocks to fetch stats for
alertFeeSatVbinteger0Alert when fastest fee ≥ this. 0 = disabled
telegramBotTokenstring (secret)Bot token for alerts
telegramChatIdstringChat ID for alerts

Example: Cheap-fee window alert

{
"includeWhaleTransactions": false,
"alertFeeSatVb": 5,
"telegramBotToken": "<token>",
"telegramChatId": "<chat>"
}

Example: Whale-tx scan only

{
"includeWhaleTransactions": true,
"minWhaleBtc": 50,
"blocksLookback": 1
}

Output

Two record types:

Snapshot (_type: "mempool_snapshot"):

{
"_type": "mempool_snapshot",
"timestamp": "2026-06-03T01:35:00+00:00",
"fastest_fee_sat_vb": 2,
"half_hour_fee_sat_vb": 1,
"hour_fee_sat_vb": 1,
"economy_fee_sat_vb": 1,
"minimum_fee_sat_vb": 1,
"mempool_tx_count": 75069,
"mempool_vsize_bytes": 28560123,
"blocks_to_clear": 28.56,
"latest_block_height": 952168,
"latest_block_hash": "00000000000000000002a7f...",
"current_hashrate_ehs": 720.45,
"next_difficulty_change_pct": 1.85,
"next_difficulty_eta_seconds": 432000
}

Whale TX (_type: "whale_tx"):

{
"_type": "whale_tx",
"txid": "f2c9...",
"value_btc": 152.4,
"fee_sat": 4500,
"vsize_bytes": 250,
"fee_rate_sat_vb": 18.0,
"mempool_url": "https://mempool.space/tx/f2c9..."
}

Pricing

  • $0.002 per snapshot returned (includes whale txs in the same charge)

Use Cases

Fee optimizer — Broadcast txs only when fastest ≤ 3 sat/vB:

curl -X POST "https://api.apify.com/v2/acts/gochujang~bitcoin-mempool-analytics/runs?token=YOUR_TOKEN" \
-d '{"includeWhaleTransactions": false}'

Whale alert bot — Notify on every > 100 BTC pending tx + fee threshold.


Data Source

mempool.space — the canonical public Bitcoin mempool explorer. Free, no auth, no rate limits at single-actor scale.



Feedback

Leave a review on Apify Store