A block's transactions in block order, its OP_RETURNs, its composition and the transactions a source names
GET /v1/blocks/{id}/summary- who may call it
- Anyone
- no key and no session
- how fresh
- Depends on the request
- every answer carries the index's height and the node's
- how fresh, by case
- by hash: cached for 5 minutes, and up to 25 minutes more while it is read again
- by height: cached for 10 seconds, and up to 30 seconds more while it is read again
Read from the node (getblock at verbosity 3) once per block and kept by hash. txs lists every transaction in block order as compact rows (columns): txid, virtual size, fee in sat and fee rate in sat/vB, total output value, input and output counts, its kind as the composition counts it (coinbase, inscription, runes, op_return, coinjoin, payment; unread if the node's hex did not decode), and its data-carrying observations (op_return:*, meta_protocol:*, coinjoin:*; structural matches only). The rate is getblockstats' (fee × 4 / weight) without its rounding down, three decimals. fee_rate_percentiles are the rates at the 10th, 25th, 50th, 75th and 90th percentile of weight, computed as Core's getblockstats does but on those unrounded rates. op_returns lists every OP_RETURN output the catalogue reads, one entry for each output, with its protocol (runes, omni, opentimestamps, counterparty, veriblock, bare_hash, text with its first 80 characters, unknown) and its script size. An output that ends at OP_RETURN, or goes on with a data push (opcodes 0x01 to 0x4e) of any length, even an empty one or one that runs past the script's end, is listed: unknown when nothing in it matches. The summary reads the opcode after OP_RETURN as btcd's script tokenizer does, so an output whose next opcode carries no data (OP_0, OP_1NEGATE, OP_RESERVED, OP_1 to OP_16, or any opcode above OP_16, other than the runes marker OP_13) is not listed, though Bitcoin Core's Solver calls an OP_RETURN followed by push-only opcodes null data and the transaction read, in the chain index's names, types such an output op_return. The coinbase output with BIP141's commitment structure is witness_commitment: when several outputs match, the one with the highest index, as BIP141 reads it, and the others keep their own protocol. Data that Counterparty put in a bare multisig output is listed too, as the catalogue files it. composition gives the block's weight by kind (coinbase, inscription, runes, op_return, coinjoin, payment) and its outputs by script type. flagged lists the transactions that pay or spend an address a current claim names (hop 0), each with the claims, in block order: at most 200, and flagged_total says how many the block holds. A transaction has one hit for each named address and direction: amount_sat is the sum of its outputs to the address (received) or of its inputs from it (sent), and count says how many outputs or inputs it sums, so a sweep of many inputs from one address is one hit. A transaction's hits follow the addresses' order, an address's received before its sent. The claims are matched at most once every five minutes for a block: flagged is kept in memory that long, readers of one block share one lookup, and a lookup that fails is never kept. A claim written since can take five minutes to show, and as long again through an HTTP cache: a block named by its hash is cached for five minutes; one named by its height, ten seconds. At most two blocks are read from the node at once: a request that waits twenty seconds for its turn answers 503 with Retry-After.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
id | path | string | required | Height (decimal) or canonical block hash (64 hex). |
What it answers
The block's summary.
| Field | Type | What it carries |
|---|---|---|
subject | object | The block summarised: kind block and its canonical hash, the one asked for or the one at the height asked for. |
height | integer | The block's height, as the node gives it. |
tx_count | integer | How many transactions the block holds, the coinbase included: the rows of txs. |
columns | array | The names of a row's cells, in order. |
txs | array | One row for each transaction, in block order. fee_sat and fee_rate are null for the coinbase, and for a transaction whose fee the node did not give. |
fee_complete | boolean | False when the node gave no fee for a non-coinbase transaction. |
prevouts_complete | boolean | False when the node gave no prevout for a non-coinbase input (no undo data): flagged then holds the "received" hits only. |
fee_rate_percentiles | array | sat/vB, unrounded, at the percentiles of weight fee_rate_percentile_w names. |
fee_rate_percentile_w | array | The percentiles of weight the rates of fee_rate_percentiles are read at: 10, 25, 50, 75 and 90. Present with fee_rate_percentiles. |
op_returns | array | One entry for each output the catalogue reads as data, by transaction in block order. Empty when the block has none. |
op_returns[].txid | string | Canonical display byte order. |
op_returns[].position | integer | The transaction's position in the block, 0 for the coinbase. |
op_returns[].output_n | integer | The output's index in its transaction. |
op_returns[].protocol | string | What the catalogue reads the data as: runes, omni, opentimestamps, counterparty, veriblock, bare_hash, text, another known prefix, or unknown; witness_commitment for the coinbase's witness commitment. |
op_returns[].script_bytes | integer | The size of the output's script, in bytes. |
op_returns[].text | string | The start of the data as text, at most 80 bytes. Only for the text protocol. |
composition | object | What the block is made of: its weight by kind of transaction and its outputs by script type. |
flagged | array | The block's transactions that pay or spend an address a current claim names, in block order, at most 200. Empty when none is named; absent when the claims could not be read in full. |
flagged[].txid | string | Canonical display byte order. |
flagged[].position | integer | The transaction's position in the block, 0 for the coinbase. |
flagged[].hits | array | One hit for each named address and direction, in the addresses' order, an address's received before its sent. |
flagged_total | integer | How many transactions of the block a current claim names; flagged lists the first 200 of them. Present with flagged. |
schema
subjectSubject required — The block summarised: kindblockand its canonical hash, the one asked for or the one at the height asked for.kindstring — What the key names, which also sets the key's form. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring — Canonical key.
heightinteger required — The block's height, as the node gives it.tx_countinteger required — How many transactions the block holds, the coinbase included: the rows oftxs.columnsarray of string required — The names of a row's cells, in order.txsarray of array of array of any required — One row for each transaction, in block order.fee_satandfee_rateare null for the coinbase, and for a transaction whose fee the node did not give.fee_completeboolean required — False when the node gave no fee for a non-coinbase transaction.prevouts_completeboolean required — False when the node gave no prevout for a non-coinbase input (no undo data):flaggedthen holds the "received" hits only.fee_rate_percentilesarray of number — sat/vB, unrounded, at the percentiles of weightfee_rate_percentile_wnames.fee_rate_percentile_warray of integer — The percentiles of weight the rates offee_rate_percentilesare read at: 10, 25, 50, 75 and 90. Present withfee_rate_percentiles.op_returnsarray of object required — One entry for each output the catalogue reads as data, by transaction in block order. Empty when the block has none.txidstring — Canonical display byte order.positioninteger — The transaction's position in the block, 0 for the coinbase.output_ninteger — The output's index in its transaction.protocolstring — What the catalogue reads the data as: runes, omni, opentimestamps, counterparty, veriblock, bare_hash, text, another known prefix, or unknown;witness_commitmentfor the coinbase's witness commitment.script_bytesinteger — The size of the output's script, in bytes.textstring — The start of the data as text, at most 80 bytes. Only for thetextprotocol.
compositionobject required — What the block is made of: its weight by kind of transaction and its outputs by script type.weight_by_kindobject — The weight of the block's transactions by kind, in weight units: coinbase, inscription, runes, op_return, coinjoin, payment, or unread for a transaction whose hex did not decode. A kind with none has no key.outputs_by_typearray of object — The block's outputs by script type, the most numerous first, then by value, then by name.typestring — The script type as the node names it (scriptPubKey.type), orunknownwhen it names none.countinteger — How many of the block's outputs have that type.value_satinteger — Their total value, in sat.
flaggedarray of object — The block's transactions that pay or spend an address a current claim names, in block order, at most 200. Empty when none is named; absent when the claims could not be read in full.txidstring — Canonical display byte order.positioninteger — The transaction's position in the block, 0 for the coinbase.hitsarray of object — One hit for each named address and direction, in the addresses' order, an address'sreceivedbefore itssent.directionstring required —received: the transaction pays the address.sent: it spends from it. · one of "received", "sent"addressstring required — The address the claims name.amount_satinteger required — The sum of the transaction's outputs to the address (received) or of its inputs from it (sent).countinteger required — How many outputs or inputs of the transactionamount_satsums. · ≥ 1claimsarray of object required — The current claims on the address, each in short: the claim object is at/v1/claims/{claim_id}.claim_idstring required — The claim's id, ann_<n>: the idGET /v1/claims/{claim_id}takes.labelstring required — The claim's label.abusestring — The claim's abuse word (abuse:…). Absent when it states none.categorystring — The claim's category (entity:…). Absent when it states none.entitystring — The entity's name.sourceobject required — The claim's source: its id and its name.
flagged_totalinteger — How many transactions of the block a current claim names;flaggedlists the first 200 of them. Present withflagged.
Absent and empty
| The case | In the answer |
|---|---|
| The coinbase's row. | Its fee and its fee rate are null. |
| The node has no undo data for the block, as for a stale block it never connected. | No fee and no prevout: fee_complete and prevouts_complete are false, every row's fee and fee rate are null, and flagged holds the "received" hits only. |
| A fee is missing, or the block holds the coinbase alone. | No fee_rate_percentiles, never computed over part of the block. |
| The claims could not be read in full. | No flagged and no flagged_total, never a partial list. |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 404 | not_found | not_found: what the path names is not known: not in the index (for a transaction, not in the node's mempool either), or no such record. The message says which. |
| 501 | not_configured | not_configured: this deployment does not run what the route needs, for example the mempool engine, accounts, the intel store or watchlists. The message names it. |
| 503 | index_unavailable | index_unavailable: the node did not answer, or it is reading other blocks (Retry-After then says when to ask again). |
Each comes in the one error envelope, and none is cached: an error carries Cache-Control: no-store.
Example
curl and jq, in any shell.
curl -s https://api.btcintel.io/v1/blocks/968212/summary | jq '{height, tx_count, fee_complete}'The answer, read on 23 Nov 2026 at 14:56 UTC
{
"height": 968212,
"tx_count": 5089,
"fee_complete": true
}Its headers
Cache-Control: public, max-age=10, stale-while-revalidate=30
X-Btcintel-Index-Height: 977224
X-Btcintel-Node-Height: 977224
X-Ratelimit-Limit: 120
X-Ratelimit-Remaining: 214
X-Ratelimit-Tier: t0