{"uid":"cap_OH7AHhB_ftqiytwIbSclP","slug":"bitcoin-mempool-stats-18822989","name":"Bitcoin Mempool Stats","description":"Bitcoin mempool congestion from mempool.space: unconfirmed transaction count and size, recommended fee rates in sat/vB, difficulty-adjustment progress and estimated retarget date, and blocks until the next halving (every 210,000 blocks). Current snapshot only; no history.","url":"https://api.chainmarket-api.workers.dev/api/crypto/bitcoin-mempool-stats?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":"https://mempool.space/api/mempool","mempool":{"txCount":49426,"vsizeVb":25287373,"totalFeesSats":5068478},"checkedAt":"2026-10-23T09:35:55.649Z","tipHeight":972749,"difficulty":{"progressPct":51.44,"remainingBlocks":979,"expectedChangePct":4.87,"estimatedRetargetDate":"2026-10-29T21:20:41.027Z"},"feeRatesSatPerVb":{"hour":1,"economy":1,"fastest":2,"minimum":1,"halfHour":1},"nextHalvingHeight":1050000,"blocksUntilHalving":77251}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_axAD9XXLP3S14sXlaA1im","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time Bitcoin mempool statistics including transaction count, fee rates, mining difficulty, and halving countdown from mempool.space","exampleAgentPrompt":"What are the current Bitcoin mempool stats — how many unconfirmed transactions are there, what are the current fee rates in sat/vByte, and how many blocks until the next halving?","exampleUseCases":[{"title":"Optimal Bitcoin transaction fee timing","prompt":"What's the cheapest fee rate I can use to get my Bitcoin transaction confirmed within the next hour, and how backlogged is the mempool right now?"},{"title":"Bitcoin halving countdown tracker","prompt":"How many blocks are left until the next Bitcoin halving, and what's the current block height?"},{"title":"Mining difficulty adjustment monitor","prompt":"What percentage through the current Bitcoin difficulty epoch are we, and when is the next estimated retarget date?"}],"resultDescription":"Returns a JSON object with: current mempool transaction count, total mempool vsize in vBytes, total fees in satoshis, fee rates for fastest/half-hour/hour/economy/minimum in sat/vByte, current block tip height, mining difficulty progress percentage, remaining blocks to retarget, expected difficulty change percentage, estimated retarget date, next halving block height, and blocks until the next halving. Also includes the data source URL and timestamp of the check.","failureModes":["Upstream mempool.space API unavailable — stale or missing data returned","Network timeout from the Cloudflare Worker proxy","Occasional brief staleness if mempool.space data feed is delayed","Payment failure results in no charge and no data returned"],"whenToPreferThis":"Use this endpoint when you need a single unified snapshot of Bitcoin network health — combining mempool backlog, fee rates, difficulty adjustment progress, and halving countdown in one call. Prefer this over raw mempool.space API access when you need pay-per-call billing with no signup, or when integrating into an x402-compatible agent workflow. Best for real-time fee estimation, network monitoring dashboards, or halving event tracking.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:45:51.087Z","isFirstParty":false,"canonicalSlug":"bitcoin-mempool-stats-18822989"}