{"uid":"cap_yb_-pVwFFOIcwFlkcWEcL","slug":"sitecheck-bitcoin-transaction-lookup-b6d5f5e6","name":"SiteCheck Bitcoin Transaction Lookup","description":"A Bitcoin transaction by txid: confirmed block and time (or unconfirmed), fee in sats and sat/vB, size and virtual size, input and output totals, and whether it signals replace-by-fee. Source: mempool.space. Information only, not financial advice.","url":"https://api.sitecheck-api.workers.dev/api/btc/tx?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":["txid"],"properties":{"txid":{"type":"string","description":"Transaction id, 64 hex characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"fee":{"btc":0,"sats":0,"satPerVbyte":0},"rbf":false,"size":{"bytes":275,"vbytes":275,"weight":1100},"txid":"f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16","inputs":{"count":1,"coinbase":false,"totalBtc":50},"source":"https://mempool.space/api/tx/f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16","status":{"blockTime":"2009-01-12T03:30:25.000Z","confirmed":true,"blockHeight":170},"outputs":{"count":2,"totalBtc":50},"checkedAt":"2026-10-14T07:00:19.934Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gbIxSg2fZwABU310uTZ0H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches details of a Bitcoin transaction by TXID, including fee, size, inputs, outputs, confirmation status, and block info","exampleAgentPrompt":"Can you look up Bitcoin transaction f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16 and tell me whether it's confirmed, what fee was paid, and how many inputs and outputs it has?","exampleUseCases":[{"title":"Verify a received Bitcoin payment","prompt":"I need to check if the Bitcoin payment I received is confirmed — the transaction ID is a1b2c3d4e5f6...64hexchars. Can you tell me the confirmation status, block height, and how much BTC was in the outputs?"},{"title":"Audit BTC transaction fee efficiency","prompt":"Look up BTC transaction f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16 and tell me the fee in sats, the size in vbytes, and the sat-per-vbyte rate so I can see if it was priced efficiently."},{"title":"Check if a transaction is RBF-replaceable","prompt":"For Bitcoin tx f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16, is it marked as RBF and has it been confirmed yet? I want to know if it can still be fee-bumped."}],"resultDescription":"Returns a JSON object with: transaction fee in BTC, sats, and sat/vbyte; RBF flag; transaction size in bytes, vbytes, and weight; txid; input details (count, coinbase flag, total BTC); output details (count, total BTC); confirmation status including block height and block timestamp; source URL (mempool.space); and the timestamp when the check was performed.","failureModes":["Invalid txid format (not 64 hex characters) returns an error","Transaction not found in mempool or blockchain returns a not-found error","Mempool.space upstream unavailability may cause timeout or error","Missing required txid query parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need on-chain Bitcoin transaction data including confirmation status, fees, inputs/outputs, and block details. It sources from mempool.space and is well-suited for per-transaction lookups in agent workflows that need to verify payments, audit fees, or inspect BTC transaction structure without running a full Bitcoin node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:28.491Z","isFirstParty":false,"canonicalSlug":"sitecheck-bitcoin-transaction-lookup-b6d5f5e6"}