{"uid":"cap_-Q4Ns6j1L3YpQlvm1_jkG","slug":"bitcoin-psbt-analyzer-2d12a9ef","name":"Bitcoin PSBT Analyzer","description":"Decode and analyze a PSBT (base64): inputs, outputs, fee and fee rate when the input data is present, estimated vsize, signatures still missing and the next step. Nothing is signed or broadcast.","url":"https://diamond.btc-intel.workers.dev/api/x402/psbt_decode?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":["psbt"],"properties":{"psbt":{"type":"string","maxLength":200000,"description":"A PSBT in base64 (URL-encode + as %2B)"}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"next":"signer","inputs":1,"fee_btc":0.00000705,"outputs":2,"product":"decoded_psbt","est_feerate_sat_vb":5,"missing_signatures":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cPuzyRByZ_fjlHi7KkTCk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and analyzes a base64 PSBT to reveal inputs, outputs, fees, estimated vsize, missing signatures, and the recommended next step — without signing or broadcasting.","exampleAgentPrompt":"Can you decode this PSBT for me and tell me how many signatures are still missing, what the fee is, and what the next step should be? Here's the base64: cHNidP8BAH...","exampleUseCases":[{"title":"Multi-sig co-signer review","prompt":"Before I add my signature to this PSBT, can you analyze it and tell me how many inputs and outputs it has, what the fee looks like, and how many signatures are still missing? Here's the base64 PSBT: cHNidP8BAH0CAAAAA..."},{"title":"Hardware wallet transaction audit","prompt":"My hardware wallet gave me this PSBT in base64 — can you decode it and show me the fee rate in sat/vB, the estimated vsize, and confirm whether it still needs more signatures before it can be broadcast? PSBT: cHNidP8BAFICAAA..."},{"title":"PSBT workflow debugging","prompt":"I'm building a Bitcoin signing workflow and need to know the next step for this PSBT — is it ready to sign, combine, or broadcast? Please decode this base64 PSBT and give me the full breakdown: cHNidP8BAIkCAA..."}],"resultDescription":"A JSON object containing: number of inputs and outputs, fee in BTC, estimated fee rate in sat/vB, estimated virtual size, number of missing signatures, and a 'next' field indicating the recommended next step (e.g. 'signer', 'combiner', 'finalizer', 'broadcaster').","failureModes":["Invalid or malformed base64 PSBT returns a decode error","PSBT too large (exceeds 200,000 character limit) is rejected","Missing 'psbt' query parameter returns a 400 bad request","Input UTXO data absent causes fee/fee-rate fields to be omitted from the response","URL-encoding of '+' characters in base64 omitted causes parsing errors"],"whenToPreferThis":"Use this endpoint when you need a lightweight, read-only inspection of a PSBT before signing or broadcasting — especially in multi-sig workflows where you want to verify fee, vsize, missing signers, and the recommended next action without any risk of accidentally signing or submitting the transaction. Prefer it over a full node RPC call when you don't have local Bitcoin node access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:30:27.768Z","isFirstParty":false,"canonicalSlug":"bitcoin-psbt-analyzer-2d12a9ef"}