btcintel

Spend status of every output

GET /v1/tx/{txid}/outspends
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
En caché 5 segundos
y hasta 30 segundos más mientras se vuelve a leer · cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
Ninguna
Transaction by canonical txid tiene una: get_tx
En esta página

Parámetros

NombreDóndeTipoObligatorioQué hace
txidrutastringobligatorioCanonical txid (64 hex, display byte order).

Qué responde

One entry per vout, in order.

CampoTipoQué lleva
[].spentbooleanTrue when the index knows a transaction that spends the output, in a block or in the mempool.
[].txidstringCanonical display byte order.
[].vinintegerThe index of the spending input in its transaction. Absent while the output is unspent, and when the index does not give it.
[].statusobjectThe spending transaction's confirmation. Present only when it is in a block.
esquema Outspend[]
  • spent boolean obligatorio — True when the index knows a transaction that spends the output, in a block or in the mempool.
  • txid string — Canonical display byte order.
  • vin integer — The index of the spending input in its transaction. Absent while the output is unspent, and when the index does not give it.
  • status object — The spending transaction's confirmation. Present only when it is in a block.
    • confirmed boolean — Always true: the spending transaction is in a block.
    • block_height integer — The height of its block.

Errores

EstadoCódigoCuándo
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.

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/tx/71e4dae29ed1bc9fe008bba7f3542fd5961b780c220ca8778100a7cb8bd4c81b/outspends | jq

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

[
  {
    "spent": true,
    "status": {
      "block_height": 943406,
      "confirmed": true
    },
    "txid": "8d3bf596b0be60b8c5b19a4c97f7620aa0429a49f7f3203267e296517e323a73",
    "vin": 1
  },
  {
    "spent": true,
    "status": {
      "block_height": 830903,
      "confirmed": true
    },
    "txid": "eb5b616f977691f9d91c21ee92b9c4c3ffdb616e3e9101c3b062119ae615ff2b",
    "vin": 0
  }
]

Sus cabeceras

Cache-Control: public, max-age=5, stale-while-revalidate=30
X-Btcintel-Index-Height: 977224
X-Btcintel-Node-Height: 977224
X-Ratelimit-Limit: 120
X-Ratelimit-Remaining: 234
X-Ratelimit-Tier: t0