{"uid":"cap_VcJ3G8mvQnGWwOOe9zp98","slug":"btc-node-api-bitcoin-transaction-lookup-53db49ae","name":"BTC Node API — Bitcoin Transaction Lookup","description":"Bitcoin transaction details","url":"https://api.relai.fi/relay/1780781322365/api/tx/{hash}","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_Y_FobyVYk1dUkqpf5Tn-P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves detailed information about a Bitcoin transaction by its hash","exampleAgentPrompt":"Can you pull up the details for Bitcoin transaction a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d — I want to see the inputs, outputs, fee, and confirmation status.","exampleUseCases":[{"title":"Verify customer Bitcoin payment received","prompt":"A customer says they sent me Bitcoin but I haven't received it yet. Can you look up transaction 3f3ba3d4c82218f84df0994c9db0c7b8c5e8c7d8e4c8c8f8e4c8c8f8e4c8c8f and tell me if it's confirmed yet, how many confirmations it has, and what the fee was?"},{"title":"Audit incoming blockchain donations","prompt":"We've been receiving Bitcoin donations but need to track them for our records. Can you pull up the details for transaction 7c4e7d8e4c8c8f8e4c8c8f8e4c8c8f8e4c8c8f8e4c8c8f8e4c8c8f8e4c8c8f including all inputs, outputs, the block it's in, and the timestamp so I can log it?"},{"title":"Investigate suspicious transaction chain","prompt":"I'm trying to understand a Bitcoin transaction that looks unusual — can you fetch the full details for hash a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0 and show me all the inputs and outputs so I can trace where the funds came from and went to?"}],"resultDescription":"Returns detailed Bitcoin transaction data including inputs, outputs, transaction fee, block height, confirmation count, timestamp, and other on-chain metadata for the specified transaction hash.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on the Bitcoin network","Network timeout if the BTC node is temporarily unavailable","Rate limiting or payment failure if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to look up specific Bitcoin transaction details by TXID — such as verifying a payment, inspecting inputs/outputs, or checking confirmation status — and want a simple HTTP API without running your own Bitcoin node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:39.941Z","isFirstParty":false}