{"uid":"cap_h6Tf953WBiem3BWiN2a-d","slug":"bitcoin-transaction-lookup-by-txid-ffa16fc6","name":"Bitcoin Transaction Lookup by TXID","description":"Look up a Bitcoin transaction by txid: confirmation status, block height and time, fee (sats), effective fee rate (sat/vB), size, weight and virtual size, input and output counts, and total output value (sats and BTC). On-chain ground truth for verifying a payment.","url":"https://chain.openverbs.com/v1/btc-tx","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["txid"],"properties":{"txid":{"type":"string","maxLength":64,"minLength":64,"description":"Transaction id: 64-character hex string."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yzvJ9tTKPgeAdRGsuZ5cH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a Bitcoin transaction by its TXID and returns confirmation status, block height and time, fee, fee rate, size, weight, input/output counts, and total output value.","exampleAgentPrompt":"Can you check whether Bitcoin transaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b has been confirmed, and tell me what block it landed in, how much fee was paid, and the effective fee rate in sat/vB?","exampleUseCases":[{"title":"Verify payment received before shipping","prompt":"A customer claims they paid us in Bitcoin — the txid is f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16. Can you confirm it's been mined, how many sats were in the output, and what block it's in?"},{"title":"Audit transaction fee for cost accounting","prompt":"I need to know exactly how much fee (in sats) and at what sat/vB rate our withdrawal transaction a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d paid on-chain."},{"title":"Debug stuck or slow Bitcoin transaction","prompt":"Transaction 6f7cf9580f1c2dfb3c4d5d043cdbb128c640e3f20e55131ac2b26b6de83a0e7 seems slow — can you pull up its virtual size, weight, and effective fee rate so I can figure out if it's likely to get stuck in the mempool?"}],"resultDescription":"Returns confirmation status (confirmed or unconfirmed), block height and timestamp of inclusion, total fee in satoshis, effective fee rate in sat/vB, raw and virtual transaction size in bytes, weight units, number of inputs and outputs, and total output value expressed in both satoshis and BTC.","failureModes":["Invalid txid (not 64 hex characters) returns a validation error","Transaction not found on-chain or in mempool returns a not-found error","Network or upstream node unavailability may cause timeout or 5xx error","Unconfirmed mempool transactions may return partial data (no block height/time)"],"whenToPreferThis":"Use this endpoint when you need authoritative on-chain Bitcoin transaction data — confirmation status, exact fee paid, fee rate, size metrics, and output values — given a specific txid. Prefer this over block explorer web scraping or general-purpose blockchain APIs when you need structured, machine-readable ground truth for payment verification or auditing in an automated agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:28.208Z","isFirstParty":false}