{"uid":"cap_-jNbl3ALuy5nLdHlPKxJJ","slug":"satoshi-api-bitcoin-transaction-broadcast-f98f46c2","name":"Satoshi API - Bitcoin Transaction Broadcast","description":"Know when to send Bitcoin and when to wait. Satoshi API gives apps and AI agents live fee recommendations, mempool context, and cost estimates. Free, open source.","url":"https://bitcoinsapi.com/api/v1/broadcast","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hex":{"type":"string"}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"ok":{"type":"boolean"},"source":{"type":"string"}}},"example":{"ok":true,"source":"satoshi-api"},"mimeType":"application/json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_nQF0yX8BQCMSDlD5Xyxj0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Broadcasts a signed raw Bitcoin transaction (hex) to the Bitcoin network and returns confirmation of submission","exampleAgentPrompt":"I've signed my Bitcoin transaction — here's the raw hex: 0200000001abc...ef00000000. Can you broadcast it to the Bitcoin network using Satoshi API?","exampleUseCases":[{"title":"Automated Bitcoin payment dispatch","prompt":"I've just signed a Bitcoin payment transaction for my supplier. Here's the raw hex string: 0200000001deadbeef.... Please broadcast it to the Bitcoin network right now."},{"title":"AI wallet agent final send step","prompt":"My Bitcoin wallet agent has constructed and signed a transaction to consolidate my UTXOs — the signed hex is ready. Submit it to the Bitcoin network so it hits the mempool."},{"title":"Developer testing Bitcoin transaction relay","prompt":"I need to test whether my signed raw Bitcoin transaction gets accepted by the network. Here's the hex: 0100000001abcd.... Broadcast it and tell me if it went through."}],"resultDescription":"Returns a JSON object with a boolean 'ok' field indicating whether the broadcast succeeded, and a 'source' field identifying the API ('satoshi-api'). A successful response looks like {ok: true, source: 'satoshi-api'}.","failureModes":["Invalid or malformed transaction hex returns an error or ok: false","Double-spend attempt (transaction already confirmed) may be rejected by the network","Transaction with insufficient fee may not be accepted into the mempool","Network connectivity issues to Bitcoin nodes may cause broadcast failure","Malformed JSON request body returns HTTP 400"],"whenToPreferThis":"Choose this endpoint when you have a fully constructed and signed Bitcoin transaction in raw hex format and need to submit it to the Bitcoin network. It is part of the Satoshi API suite, which is optimized for apps and AI agents that also use its fee estimation and mempool intelligence endpoints, making it a natural fit when your agent is already using Satoshi API for fee recommendations before broadcasting.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T22:27:25.327Z","isFirstParty":false}