btcintel

Propose a Curated claim (t2 agents, t3 humans; a human reviews it)

POST /v1/annotations/propose
quién puede llamarla
Una sesión o una clave
nivel t2 o superior · con el ámbito intel:propose
qué cuesta
1 petición de la cuota
y cuenta para proposals_per_day · The day's count is given back when the draft is not stored. · niveles y claves
cuán reciente
Nunca en caché
cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
propose_annotation
en el servidor MCP
En esta página

A proposal names a research source that accepts community proposals (GET /v1/sources, community_proposals: true), a canonical subject, a label and, optionally, category or abuse words from the vocabulary (GET /v1/taxonomy/concepts), concept ids, an entity, a role, evidence entries and the Community event that led to it. It becomes a draft filed under the proposer's npub (a human's own key; a t2/t4 key's pubkey, one of its allowed_npubs, or its only one) with method: manual and the source's default confidence; a human curator approves or rejects it, and an approved claim is published under the source, cited to a fetch of this proposal, with {"kind": "nostr_event", "value": <id>} in its evidence when a lead event was cited — the row stands on its own; the brand never seals the event. Quota proposals_per_day per caller (t2 and t3 20, t4 100). 501 not_configured while WRITES_ENABLED is off (on since 2026-09-29).

Parámetros

NombreDóndeTipoObligatorioQué hace
source_idcuerpostringobligatorioA research source with community_proposals true.
subjectcuerpoobjectobligatorioThe subject the claim would be on, canonicalised on arrival.
labelcuerpostringobligatorioThe claim's label. Required and never blank.
categorycuerpostringopcionalA DW-VA entity category word (GET /v1/taxonomy/concepts?scheme=category).
abusecuerpostringopcionalA DW-VA abuse word (scheme=abuse).
conceptscuerpoarrayopcionalOther concept ids the claim states: at most ten, none blank.
entity_idcuerpostringopcionalThe id of the entity the claim names.
rolecuerpostringopcionalThe claim's role.
evidencecuerpoarrayopcionalUp to ten entries that back the claim. lead_event_id adds one.
lead_event_idcuerpostringopcionalThe Community event (64 hex or note1…) that led to the proposal; added to the evidence as nostr_event.
pubkeycuerpostringopcionalt2/t4 keys only: which of the key's allowed_npubs proposes (64 hex or npub1…).

El cuerpo es application/json.

esquema ProposalInput
  • source_id string obligatorio — A research source with community_proposals true.
  • subject object obligatorio — The subject the claim would be on, canonicalised on arrival.
    • kind string obligatorio — The kind of subject, which sets how key is read. · uno de "address", "script", "tx", "block", "outpoint", "pool", "descriptor", "pubkey"
    • key string obligatorio — The subject's key, canonicalised as its kind wants: an address of this deployment's network, a script hash, a txid, a block hash, <txid>:<vout>, a pool's slug, a descriptor with its checksum, or a Nostr public key in 64 hex. A key that does not parse is a 400.
  • label string obligatorio — The claim's label. Required and never blank. · como mucho 200 caracteres
  • category string — A DW-VA entity category word (GET /v1/taxonomy/concepts?scheme=category). · como mucho 100 caracteres
  • abuse string — A DW-VA abuse word (scheme=abuse). · como mucho 100 caracteres
  • concepts array de string — Other concept ids the claim states: at most ten, none blank.
  • entity_id string — The id of the entity the claim names. · como mucho 100 caracteres
  • role string — The claim's role. · como mucho 100 caracteres
  • evidence array de object — Up to ten entries that back the claim. lead_event_id adds one.
    • kind string obligatorio — What the entry is: a URL, a Nostr event, a txid or a text. · uno de "url", "nostr_event", "txid", "text"
    • value string obligatorio — The entry itself. Required and never blank. · como mucho 2048 caracteres
    • note string — A note on the entry. · como mucho 2048 caracteres
  • lead_event_id string — The Community event (64 hex or note1…) that led to the proposal; added to the evidence as nostr_event.
  • pubkey string — t2/t4 keys only: which of the key's allowed_npubs proposes (64 hex or npub1…).

Qué responde

201 · application/json

The draft; a human reviews it.

CampoTipoQué lleva
draft_idintegerThe draft the proposal became, for a human curator to review.
statusstringAlways draft: it waits for a human's review.
proposed_bystringnpub:<hex>, or key:<id> for a key without allowed npubs.
source_idstringThe source the claim would be published under.
subjectobjectThe subject, canonicalised.
created_atstringWhen the draft was written.
notestringWhat happens next: a human curator reviews the draft, and on approval the claim is published under the source.
esquema ProposalResult
  • draft_id integer obligatorio — The draft the proposal became, for a human curator to review.
  • status string obligatorio — Always draft: it waits for a human's review. · uno de "draft"
  • proposed_by string obligatorio — npub:<hex>, or key:<id> for a key without allowed npubs.
  • source_id string obligatorio — The source the claim would be published under.
  • subject Subject obligatorio — The subject, 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.
  • created_at string (date-time) obligatorio — When the draft was written.
  • note string — What happens next: a human curator reviews the draft, and on approval the claim is published under the source.

Errores

EstadoCódigoCuándo
400invalid_inputA body outside the contract (invalid_input), named in the message, or a proposal that holds a private key (a Nostr nsec1, a WIF key or an extended private key such as xprv) anywhere, its subject, label, evidence or notes: refused before anything is stored, and never repeated.
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.
429quota_exceededquota_exceeded: the caller's tier ran out of requests for the minute or the day. Retry-After says when to try again; every rate-limited answer carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and X-RateLimit-Tier. While the deployment runs in log-only mode the decision is logged instead and X-RateLimit-Policy: log-only is set.
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 POST https://api.btcintel.io/v1/annotations/propose \
  -H "Authorization: Bearer $BTCINTEL_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"source_id":"…","subject":{"kind":"address","key":"bc1qz654h5qcqzalv6ltpxsk4ksdcc3e20wkedqntgnarv3a0t2e2p7scr48pl"},"label":"…"}' | 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.