{"uid":"cap_UDiKehRjz50t5iJ-hSJS8","slug":"diamond-bitcoin-fee-plan-estimator-447fa2cf","name":"Diamond Bitcoin Fee Plan Estimator","description":"Bitcoin address risk checks (sanctions, ransomware, laundering patterns), address watch alerts, live whale and AML feeds, a market pulse, fee estimates, next-block projections, mining-pool share and transaction tools from 0.002 USDC. Pay per call with Lightning or USDC - no account.","url":"https://diamond.tail1b5f86.ts.net/api/x402/feeplan?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["plan"],"properties":{"plan":{"type":"string","maxLength":185,"description":"Per-transaction fee cap in sats, colon, and one to 25 comma-separated transaction sizes in vbytes. Example 1000:140,220,350. Fee cap 1..100000000; each size 60..100000."}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"as_of":"<UTC timestamp>","plans":[{"vbytes":140,"options":[],"fee_cap_sats":1000,"fastest_estimate_within_budget":"<estimate label or null>"}],"terms":"Independent-node estimates, not guaranteed confirmation times. The budget is a per-transaction fee cap in sats, and each vsize entry is evaluated against that cap. Transaction sizes are supplied by the buyer. Node relay policies and network conditions can change. No transaction is signed or sent.","product":"fee_plan_batch","plan_count":3,"observing_node":"Diamond"}},"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_qJR3vhxMTeRDFs3M2AP5I","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 batched Bitcoin transaction fee estimates for one or more transaction sizes against a per-transaction sat fee cap, using Diamond's independent node data.","exampleAgentPrompt":"Using Diamond's fee plan estimator, what are my fee options for three Bitcoin transactions of 140, 220, and 350 vbytes with a fee cap of 1000 sats — which sizes can get the fastest confirmation within that budget?","exampleUseCases":[{"title":"Wallet fee pre-flight check","prompt":"Before I broadcast this Bitcoin transaction, check if a 1000-sat fee cap is enough to get a 220-vbyte transaction confirmed quickly — use Diamond's fee plan endpoint."},{"title":"Batch fee planning for multiple outputs","prompt":"I'm building a Bitcoin transaction that could be 140, 350, or 500 vbytes depending on how many outputs I add. Can you use Diamond to estimate fees for all three sizes under a 5000-sat cap so I know which option is feasible?"},{"title":"Fee budget validation for exchange payout","prompt":"We're sending a batch of Bitcoin payouts and each transaction is about 300 vbytes. With a fee cap of 2000 sats per transaction, what's the fastest confirmation estimate Diamond's node sees right now?"}],"resultDescription":"Returns a JSON object with a UTC timestamp, an array of fee plan entries (each with vbytes, fee_cap_sats, available fee options, and a fastest-estimate-within-budget label or null), the observing node identifier, product name, and a disclaimer that estimates are from an independent node and are not guaranteed confirmation times.","failureModes":["Missing or malformed 'plan' query parameter returns an error — must follow format fee_cap:size1,size2,...","Fee cap outside range 1–100,000,000 sats is rejected","Transaction size below 60 or above 100,000 vbytes is rejected","Too many transaction sizes (more than 25) in one call causes a validation error","Network or node connectivity issues may result in stale or unavailable estimates","Payment via x402 not provided or insufficient results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to evaluate Bitcoin transaction fee feasibility across multiple transaction sizes in a single call without signing or broadcasting any transaction. It is ideal for pre-flight fee checks in wallets, exchange payout pipelines, or any workflow that needs to compare fee scenarios against a sats budget using independent node data. It does not require an account — pay per call with Lightning or USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T12:39:11.345Z","isFirstParty":false,"canonicalSlug":"diamond-bitcoin-fee-plan-estimator-447fa2cf"}