Stop watching a subject
DELETE /v1/watch/{kind}/{key}- who may call it
- A key or a session
- tier t2 or above · the session of a Nostr key
- how fresh
- Never cached
- every answer carries the index's height and the node's
On this page
Removes the subject from the caller's list; 404 when it was not there.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
kind | path | string | required | The kind of subject: address, tx or block. |
key | path | string | required | The address, txid or block hash. |
What it answers
Removed.
| Field | Type | What it carries |
|---|---|---|
removed | boolean | Always true: the subject left the watchlist. |
subject | object | The subject removed, canonicalised. |
schema
removedboolean required — Always true: the subject left the watchlist.subjectSubject required — The subject removed, canonicalised.kindstring — What the key names, which also sets the key's form. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"keystring — Canonical key.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 401 | unauthorized | unauthorized: 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. |
| 403 | forbidden | forbidden: 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. |
| 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. |
| 422 | nip98_invalid | The 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. |
| 501 | not_configured | not_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. |
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 -X DELETE https://api.btcintel.io/v1/watch/address/bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl \
-H "Authorization: Bearer $BTCINTEL_KEY" | jqThis 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.