btcintel

Spend status of one output

GET /v1/tx/{txid}/outspend/{vout}
who may call it
Anyone
no key and no session
what it costs
1 request of the quota
tiers and keys
how fresh
Cached for 5 seconds
and up to 30 seconds more while it is read again · every answer carries the index's height and the node's
MCP tool
None
Transaction by canonical txid has one: get_tx
On this page

Parameters

NameWhereTypeRequiredWhat it does
txidpathstringrequiredCanonical txid (64 hex, display byte order).
voutpathintegerrequiredThe output's index, from 0. An index the transaction does not have is a 404.

What it answers

Spend status.

FieldTypeWhat it carries
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.
schema Outspend
  • spent boolean required — 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.

Errors

StatusCodeWhen
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.

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/tx/71e4dae29ed1bc9fe008bba7f3542fd5961b780c220ca8778100a7cb8bd4c81b/outspend/0 | jq '{spent, txid, vin}'

The answer, read on 23 Nov 2026 at 14:56 UTC

{
  "spent": true,
  "txid": "8d3bf596b0be60b8c5b19a4c97f7620aa0429a49f7f3203267e296517e323a73",
  "vin": 1
}

Its headers

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: 233
X-Ratelimit-Tier: t0