btcintel

The caller's watchlist

GET /v1/watch
who may call it
A key or a session
tier t2 or above · the session of a Nostr key
what it costs
1 request of the quota
tiers and keys
how fresh
Never cached
every answer carries the index's height and the node's
MCP tool
list_watched
on the MCP server
On this page

The subjects a key (t2, t4) or a signed-in npub follows, with since_seq — the change-feed cursor at the time each was added — and last_seq, the feed's current head. Pull only: no webhooks.

Parameters

It takes no parameters.

What it answers

The list.

FieldTypeWhat it carries
itemsarrayThe subjects watched, the first added first, at most 1,000.
items[].subjectobjectThe subject watched.
items[].added_atstringWhen it was added.
items[].since_seqintegerThe feed cursor when the subject was added.
countintegerHow many subjects the list holds.
maxintegerThe most subjects the tier lets the list hold.
last_seqintegerThe change feed's head now: its newest seq.
schema Watchlist
  • items array of object required — The subjects watched, the first added first, at most 1,000.
    • subject Subject required — The subject watched.
      • kind string — What the key names, which also sets the key's form. · one of "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
      • key string — Canonical key.
    • added_at string (date-time) required — When it was added.
    • since_seq integer required — The feed cursor when the subject was added.
  • count integer required — How many subjects the list holds.
  • max integer required — The most subjects the tier lets the list hold.
  • last_seq integer required — The change feed's head now: its newest seq.

Errors

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

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/watch \
  -H "Authorization: Bearer $BTCINTEL_KEY" | jq '{count, max, last_seq}'

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.