Query the chain · Transaction decoder
Bitcoin transaction decoder for raw hex, inputs and outputs
A Bitcoin transaction decoder turns an opaque string of hex into something you can actually read: the version, every input with its previous txid and output index, every output with its value in satoshis, the script type, the decoded address, the witness data and the locktime. Bitcoin Core does this with decoderawtransaction, but that means running a full node. BitcoinDatabase decodes the same structure over a REST call, so you paste a raw transaction hex and get clean JSON back.
You can also decode by txid: give us any confirmed transaction hash and we return the fully decoded transaction from the indexed chain, complete with input addresses and amounts that a raw decode alone cannot resolve. Use it in the API for an app, in SQL for a batch, or in a dashboard for a one-off check. Informational on-chain data only, not financial advice.
REST API · SQL · dashboards · indexed from genesis
Hit Run to query the fully-indexed Bitcoin blockchain.
BTC
30-day trend
informational on-chain data · not financial advice
Indexed from genesis queryable in seconds
On-chain data not financial advice
Why it works
What you get with transaction decoder
Hex to readable JSON
Pass a raw transaction hex and get back the version, inputs, outputs, script types, decoded addresses, amounts in satoshis, witness data and locktime, the same fields decoderawtransaction returns, without running a node.
Decode by txid too
Give us a confirmed transaction hash and we resolve the full picture from the indexed chain, including the input addresses and spent amounts that a bare raw decode cannot show because they live in prior transactions.
Every script type parsed
Legacy P2PKH, P2SH, wrapped and native SegWit and Taproot outputs are all parsed to their address form and script type, so you read who was paid without decoding scriptPubKey by hand.
What it handles
The indexed Bitcoin chain, queryable your way
Look up an address, a transaction, a UTXO, the rich list or an on-chain metric, by REST API, SQL or dashboard. The same authoritative data, reconciled block-by-block against the canonical chain, without running a node.
- Decode raw transaction hex to structured JSON
- Decode any confirmed transaction by txid
- Resolve input addresses and spent amounts
- Read script types and decoded output addresses
- Batch-decode transactions via API or SQL
{
"address": "bc1qxy2k…l0wdv8",
"balance_btc": 68432.10,
"balance_usd": 4612165420,
"tx_count": 1284,
"unspent_outputs": 37,
"first_seen": "2014-02-09"
}
Why BitcoinDatabase
One platform, queryable three ways
Not a raw node to sync, not an indexer to build, and not five vendors to stitch together. The fully-indexed Bitcoin blockchain, available as a REST API, as SQL, and as dashboards, on one authoritative dataset.
REST API
Typed JSON for addresses, transactions, balances, UTXOs and metrics. Drop it into apps, wallets, explorers and agents with curl, Python or our SDKs.
SQL access
Run SQL directly against the indexed Bitcoin dataset for ad-hoc analysis, cohorts and exports, the same data the API and dashboards read from.
Compliance-first
Informational on-chain data and analytics only. Entity labels and flow tracing are framed as tooling to support a regulated team's own review, not accusations.
Good questions
Questions about transaction decoder
Explore more
More ways to query Bitcoin with BitcoinDatabase
Bitcoin API
Query addresses, transactions and balances across the whole indexed chain in one call.
Learn moreBitcoin block explorer API
Power an explorer with blocks, transactions and addresses, no node to maintain.
Learn moreBitcoin address lookup
Look up any Bitcoin address: balance, full history and UTXOs in one query.
Learn moreStop running a node. Just query Bitcoin.
Run your first query now and get on-chain data back by REST API, SQL or dashboard, indexed from the genesis block. Informational on-chain data only, not financial advice.
Indexed from genesis · REST · SQL · dashboards · addresses, transactions, UTXOs, metrics