btcintel

Stop watching a subject

DELETE /v1/watch/{kind}/{key}
quién puede llamarla
Una clave o una sesión
nivel t2 o superior · la sesión de una clave Nostr
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
unwatch_subject
en el servidor MCP
En esta página

Removes the subject from the caller's list; 404 when it was not there.

Parámetros

NombreDóndeTipoObligatorioQué hace
kindrutastringobligatorioThe kind of subject: address, tx or block.
keyrutastringobligatorioThe address, txid or block hash.

Qué responde

Removed.

CampoTipoQué lleva
removedbooleanAlways true: the subject left the watchlist.
subjectobjectThe subject removed, canonicalised.
esquema
  • removed boolean obligatorio — Always true: the subject left the watchlist.
  • subject Subject obligatorio — The subject removed, canonicalised.
    • 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.

Errores

EstadoCódigoCuándo
400invalid_inputMalformed input (invalid_input).
401unauthorizedunauthorized: the request does not say who makes it, or what it offers does not verify: no key or session where one is needed, or a password, a code, a passkey or a signed event that does not check. The message says what is missing.
403forbiddenforbidden: the caller is known but may not do this: a key without the scope or the tier the action needs, a session without an npub, a second factor or a recent sign-in, an operator without the role or switched off, or a source that does not allow it. The message says which.
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.
422nip98_invalidThe NIP-98 event was refused (nip98_invalid): wrong URL or method, stale, bad signature, wrong payload hash, or used before; the message names the reason.
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.

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 -X DELETE https://api.btcintel.io/v1/watch/address/bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl \
  -H "Authorization: Bearer $BTCINTEL_KEY" | jq

This route needs a key. Set BTCINTEL_KEY in your environment first: the snippet reads it from there and holds no key. The description above names the tiers the route takes.