{"uid":"cap_lpEY3K0ObeB5Qk3EnZhsp","slug":"bitcoin-mempool-size-unconfirmed-transaction-count-9d1bef1b","name":"Bitcoin Mempool Size & Unconfirmed Transaction Count","description":"Bitcoin mempool size and unconfirmed transaction count, via mempool.space API","url":"https://finance-api.kdlcfa.workers.dev/btc-mempool-size","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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jVLNFWbBdHZcJqqNiXi4x","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Bitcoin mempool size (in bytes) and number of unconfirmed transactions, sourced from the mempool.space API","exampleAgentPrompt":"What's the current Bitcoin mempool size and how many unconfirmed transactions are sitting in the queue right now?","exampleUseCases":[{"title":"Bitcoin fee timing decision","prompt":"Is the Bitcoin mempool congested right now? I want to know if it's a good time to send a transaction or if I should wait for the backlog to clear."},{"title":"Crypto trading dashboard feed","prompt":"Pull the latest Bitcoin mempool stats for my dashboard — I need the current mempool size in bytes and the unconfirmed transaction count."},{"title":"On-chain network health alert","prompt":"Check the Bitcoin mempool and tell me if there are an unusually high number of unconfirmed transactions piling up right now."}],"resultDescription":"Returns the current Bitcoin mempool size in bytes and the count of unconfirmed transactions pending in the mempool, sourced in real-time from the mempool.space API.","failureModes":["mempool.space API upstream outage returns error or stale data","network timeout from Cloudflare Worker to upstream","payment not processed (402 if x402 payment header is missing or incorrect)","rate limiting if called too frequently"],"whenToPreferThis":"Use this endpoint when you need a quick, real-time snapshot of Bitcoin network congestion — specifically mempool size and unconfirmed transaction count — without needing block-level detail or fee histogram data. Ideal for fee-timing decisions, dashboard widgets, or network health monitoring. The $0.01/call pricing is suitable for periodic polling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:54:02.648Z","isFirstParty":false}