{"uid":"cap_Zph8U7gjR82KK2HWxFww-","slug":"fastx402-lab-btc-fees-18d14f11","name":"FastX402 Lab BTC Fees","description":"FastX402 Lab: small pay-per-call tools for AI agents, paid per request in USDC on Base over x402. No signup, no API key.","url":"https://lab.fastx402.tools/btc-fees?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":{"network":{"type":"string","description":"Bitcoin network to query: main, testnet3 or testnet4. Defaults to main."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mempool":{"type":"object","properties":{"vsize":{"type":"integer"},"transactions":{"type":"integer"},"total_fee_sat":{"type":"integer"}}},"network":{"type":"string"},"fee_rates_sat_vb":{"type":"object","properties":{"economy":{"type":"integer"},"fastest":{"type":"integer"},"one_hour":{"type":"integer"},"thirty_minutes":{"type":"integer"}}}}}}}}},"responseSchema":{"type":"json","example":{"mempool":{"vsize":30000000,"transactions":5000,"total_fee_sat":61234567},"network":"main","fee_rates_sat_vb":{"economy":10,"fastest":20,"one_hour":15,"thirty_minutes":17}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lh5S-1twlhyXwVYDBNC1l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current Bitcoin mempool fee rates and mempool statistics for a given network (mainnet, testnet3, or testnet4)","exampleAgentPrompt":"What are the current Bitcoin fee rates on mainnet — I need economy, 30-minute, 1-hour, and fastest sat/vb estimates, plus how congested the mempool is right now?","exampleUseCases":[{"title":"Optimize BTC transaction fee before sending","prompt":"I'm about to send a Bitcoin transaction — what's the current fastest and economy fee rate in sat/vb on mainnet so I can decide how much to pay?"},{"title":"Monitor mempool congestion for trading bot","prompt":"Check the Bitcoin mainnet mempool right now — how many pending transactions are there and what's the total fee in satoshis? I want to know if it's congested."},{"title":"Set testnet fee for developer testing","prompt":"I'm testing a Bitcoin app on testnet4 — what fee rate should I use to get confirmed in about 30 minutes?"}],"resultDescription":"A JSON object containing the queried network name, fee rates in sat/vbyte for four confirmation targets (economy, one_hour, thirty_minutes, fastest), and mempool statistics including total virtual size in bytes, transaction count, and total fees in satoshis.","failureModes":["Invalid network value returns an error (valid values: main, testnet3, testnet4)","Network or upstream mempool data unavailable returns a server error","Payment failure or insufficient USDC balance prevents call from completing"],"whenToPreferThis":"Choose this endpoint when an AI agent needs real-time Bitcoin fee estimates to set transaction fees or assess mempool congestion, especially in a pay-per-call context where no API key or signup is desired. It is well-suited for lightweight, infrequent fee lookups paid in USDC on Base via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:38:51.431Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-btc-fees-18d14f11"}