Confirmation status
GET /v1/tx/{txid}/status- quién puede llamarla
- Cualquiera
- sin clave y sin sesión
- cuán reciente
- Según la petición
- cada respuesta lleva la altura del índice y la del nodo
- cuán reciente, según el caso
- a transaction in the mempool, or a confirmed one while the node's tip is known: en caché 2 segundos, y hasta 10 segundos más mientras se vuelve a leer
- a confirmed transaction while the node's tip is not known: nunca en caché
En esta página
Parámetros
| Nombre | Dónde | Tipo | Obligatorio | Qué hace |
|---|---|---|---|---|
txid | ruta | string | obligatorio | Canonical txid (64 hex, display byte order). |
Qué responde
Confirmed (block hash/height, confirmations vs node tip) or mempool.
| Campo | Tipo | Qué lleva |
|---|---|---|
confirmed | boolean | True when the transaction is in a block of the index; false while it waits in the mempool. |
block_height | integer | The height of its block. Absent while it is unconfirmed. |
block_hash | string | Canonical display byte order. |
confirmations | integer | Counted against the node's tip: 1 for a transaction in the tip's block. 0 while it is unconfirmed; absent when the node's tip is not known. |
esquema
confirmedboolean — True when the transaction is in a block of the index; false while it waits in the mempool.block_heightinteger — The height of its block. Absent while it is unconfirmed.block_hashstring — Canonical display byte order.confirmationsinteger — Counted against the node's tip: 1 for a transaction in the tip's block. 0 while it is unconfirmed; absent when the node's tip is not known.
Ausente y vacío
| El caso | En la respuesta |
|---|---|
| A confirmed transaction while the node's tip is not known: the node did not answer. | confirmations is absent, never 0, and so is X-Btcintel-Node-Height; the answer is no-store. |
Errores
| Estado | Código | Cuándo |
|---|---|---|
| 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. |
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/status | jq '{confirmed, block_height, block_hash}'La respuesta, leída el 23 nov 2026 a las 14:56 UTC
{
"confirmed": true,
"block_height": 830886,
"block_hash": "000000000000000000035b15996defe42eac560cc8ca876a7e11d26d0fd9b78d"
}Sus cabeceras
Cache-Control: public, max-age=2, stale-while-revalidate=10
X-Btcintel-Index-Height: 977224
X-Btcintel-Node-Height: 977224
X-Ratelimit-Limit: 120
X-Ratelimit-Remaining: 234
X-Ratelimit-Tier: t0