btcintel

A block's transactions in block order, its OP_RETURNs, its composition and the transactions a source names

GET /v1/blocks/{id}/summary
quién puede llamarla
Cualquiera
sin clave y sin sesión
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Según la petición
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
Block by height or canonical hash tiene una: get_block
cuán reciente, según el caso
by hash: en caché 5 minutos, y hasta 25 minutos más mientras se vuelve a leer
by height: en caché 10 segundos, y hasta 30 segundos más mientras se vuelve a leer
En esta página

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.

Parámetros

NombreDóndeTipoObligatorioQué hace
idrutastringobligatorioHeight (decimal) or canonical block hash (64 hex).

Qué responde

The block's summary.

CampoTipoQué lleva
subjectobjectThe block summarised: kind block and its canonical hash, the one asked for or the one at the height asked for.
heightintegerThe block's height, as the node gives it.
tx_countintegerHow many transactions the block holds, the coinbase included: the rows of txs.
columnsarrayThe names of a row's cells, in order.
txsarrayOne 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_completebooleanFalse when the node gave no fee for a non-coinbase transaction.
prevouts_completebooleanFalse when the node gave no prevout for a non-coinbase input (no undo data): flagged then holds the "received" hits only.
fee_rate_percentilesarraysat/vB, unrounded, at the percentiles of weight fee_rate_percentile_w names.
fee_rate_percentile_warrayThe percentiles of weight the rates of fee_rate_percentiles are read at: 10, 25, 50, 75 and 90. Present with fee_rate_percentiles.
op_returnsarrayOne entry for each output the catalogue reads as data, by transaction in block order. Empty when the block has none.
op_returns[].txidstringCanonical display byte order.
op_returns[].positionintegerThe transaction's position in the block, 0 for the coinbase.
op_returns[].output_nintegerThe output's index in its transaction.
op_returns[].protocolstringWhat 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_bytesintegerThe size of the output's script, in bytes.
op_returns[].textstringThe start of the data as text, at most 80 bytes. Only for the text protocol.
compositionobjectWhat the block is made of: its weight by kind of transaction and its outputs by script type.
flaggedarrayThe 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[].txidstringCanonical display byte order.
flagged[].positionintegerThe transaction's position in the block, 0 for the coinbase.
flagged[].hitsarrayOne hit for each named address and direction, in the addresses' order, an address's received before its sent.
flagged_totalintegerHow many transactions of the block a current claim names; flagged lists the first 200 of them. Present with flagged.
esquema
  • subject Subject obligatorio — The block summarised: kind block and its canonical hash, the one asked for or the one at the height asked for.
    • kind string — What the key names, which also sets the key's form. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
    • key string — Canonical key.
  • height integer obligatorio — The block's height, as the node gives it.
  • tx_count integer obligatorio — How many transactions the block holds, the coinbase included: the rows of txs.
  • columns array de string obligatorio — The names of a row's cells, in order.
  • txs array de array de array de cualquiera obligatorio — 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 obligatorio — False when the node gave no fee for a non-coinbase transaction.
  • prevouts_complete boolean obligatorio — 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 de number — sat/vB, unrounded, at the percentiles of weight fee_rate_percentile_w names.
  • fee_rate_percentile_w array de integer — 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 de object obligatorio — One entry for each output the catalogue reads as data, by transaction in block order. Empty when the block has none.
    • txid string — Canonical display byte order.
    • position integer — The transaction's position in the block, 0 for the coinbase.
    • output_n integer — The output's index in its transaction.
    • 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.
    • script_bytes integer — The size of the output's script, in bytes.
    • text string — The start of the data as text, at most 80 bytes. Only for the text protocol.
  • composition object obligatorio — What the block is made of: its weight by kind of transaction and its outputs by script type.
    • weight_by_kind object — 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_type array de object — The block's outputs by script type, the most numerous first, then by value, then by name.
      • type string — The script type as the node names it (scriptPubKey.type), or unknown when it names none.
      • count integer — How many of the block's outputs have that type.
      • value_sat integer — Their total value, in sat.
  • flagged array de 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.
    • txid string — Canonical display byte order.
    • position integer — The transaction's position in the block, 0 for the coinbase.
    • hits array de object — One hit for each named address and direction, in the addresses' order, an address's received before its sent.
      • direction string obligatorio — received: the transaction pays the address. sent: it spends from it. · uno de "received", "sent"
      • address string obligatorio — The address the claims name.
      • amount_sat integer obligatorio — The sum of the transaction's outputs to the address (received) or of its inputs from it (sent).
      • count integer obligatorio — How many outputs or inputs of the transaction amount_sat sums. · ≥ 1
      • claims array de object obligatorio — The current claims on the address, each in short: the claim object is at /v1/claims/{claim_id}.
        • claim_id string obligatorio — The claim's id, ann_<n>: the id GET /v1/claims/{claim_id} takes.
        • label string obligatorio — The claim's label.
        • abuse string — The claim's abuse word (abuse:…). Absent when it states none.
        • category string — The claim's category (entity:…). Absent when it states none.
        • entity string — The entity's name.
        • source object obligatorio — The claim's source: its id and its name.
  • flagged_total integer — How many transactions of the block a current claim names; flagged lists the first 200 of them. Present with flagged.

Ausente y vacío

El casoEn la respuesta
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.

Errores

EstadoCódigoCuándo
400invalid_inputMalformed input (invalid_input).
404not_foundnot_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.
501not_configurednot_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.
503index_unavailableindex_unavailable: the node did not answer, or it is reading other blocks (Retry-After then says when to ask again).

Cada uno llega en el sobre de error único, y ninguno se guarda en caché: un error lleva Cache-Control: no-store.

Ejemplo

curl y jq, en cualquier shell.

curl -s https://api.btcintel.io/v1/blocks/968212/summary | jq '{height, tx_count, fee_complete}'

La respuesta, leída el 23 nov 2026 a las 14:56 UTC

{
  "height": 968212,
  "tx_count": 5089,
  "fee_complete": true
}

Sus cabeceras

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