btcintel

Dispute a Curated claim

POST /v1/claims/{claim_id}/disputes
quién puede llamarla
Una clave o una sesión
nivel t1 o superior
qué cuesta
1 petición de la cuota
y cuenta para disputes_per_day · The day's count is given back when the dispute 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
dispute_claim
en el servidor MCP
En esta página

Any caller above t0 — a minted btci_anon_ token, a btci_ key, or a signed-in npub — opens a dispute with a reason, a text (≤ 4,096) and up to ten evidence entries; event_id may cite the Community note that carries the dispute (the note is the citable form; this call is how it reaches the Curated side); public: true shows the text and evidence in the public record (the identity never appears). One open dispute per caller and claim (409); quota disputes_per_day per caller (t1 2, t2/t3 10, t4 20). A human operator resolves it; the outcome is published next to the claim. The brand signs nothing.

Parámetros

NombreDóndeTipoObligatorioQué hace
claim_idrutastringobligatorioann_<n>, att_<n>, rel_<n> or evt_<n>, or an event's slug.
reasoncuerpostringobligatorioWhy the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason.
textcuerpostringobligatorioWhat is wrong, in your words. Required and never blank; it shows in the public record only when public is true.
evidencecuerpoarrayopcionalUp to ten entries that back the dispute. They show in the public record only when public is true.
publiccuerpobooleanopcionalShow the text and evidence in the public record (the identity never appears).
event_idcuerpostringopcionalThe Community note (64 hex or note1…) that carries the dispute; it must be held by this relay.

El cuerpo es application/json.

esquema DisputeInput
  • reason string obligatorio — Why the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason. · uno de "wrong_subject", "wrong_entity", "outdated", "source_misread", "other"
  • text string obligatorio — What is wrong, in your words. Required and never blank; it shows in the public record only when public is true. · como mucho 4096 caracteres
  • evidence array de object — Up to ten entries that back the dispute. They show in the public record only when public is true.
    • 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
  • public boolean — Show the text and evidence in the public record (the identity never appears).
  • event_id string — The Community note (64 hex or note1…) that carries the dispute; it must be held by this relay.

Qué responde

201 · application/json

Opened.

CampoTipoQué lleva
idintegerThe dispute's id.
claim_idstringThe disputed claim's id.
claim_versionintegerThe claim's version in force when the dispute was opened; 0 when it had none.
statusstringAlways open.
reasonstringThe reason given.
opened_atstringWhen the dispute was opened.
publicbooleanWhether the text and the evidence show in the public record.
notestringWhat happens next: a human operator resolves the dispute, and the opener's identity never shows.
esquema DisputeOpened
  • id integer obligatorio — The dispute's id.
  • claim_id string obligatorio — The disputed claim's id.
  • claim_version integer — The claim's version in force when the dispute was opened; 0 when it had none.
  • status string obligatorio — Always open. · uno de "open"
  • reason string obligatorio — The reason given.
  • opened_at string (date-time) obligatorio — When the dispute was opened.
  • public boolean — Whether the text and the evidence show in the public record.
  • note string — What happens next: a human operator resolves the dispute, and the opener's identity never shows.

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.
409conflictconflict: the state refuses the change, for example a dispute of this caller's already open, a dispute or a claim no longer open, an address that belongs to another account, or a thing done already. 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/claims/ann_33932/disputes \
  -H "Authorization: Bearer $BTCINTEL_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"reason":"wrong_subject","text":"…"}' | 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.