btcintel

Dispute a Curated claim

POST /v1/claims/{claim_id}/disputes
who may call it
A key or a session
tier t1 or above
what it costs
1 request of the quota
and counts toward disputes_per_day · The day's count is given back when the dispute is not stored. · tiers and keys
how fresh
Never cached
every answer carries the index's height and the node's
MCP tool
dispute_claim
on the MCP server
On this page

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.

Parameters

NameWhereTypeRequiredWhat it does
claim_idpathstringrequiredann_<n>, att_<n>, rel_<n> or evt_<n>, or an event's slug.
reasonbodystringrequiredWhy the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason.
textbodystringrequiredWhat is wrong, in your words. Required and never blank; it shows in the public record only when public is true.
evidencebodyarrayoptionalUp to ten entries that back the dispute. They show in the public record only when public is true.
publicbodybooleanoptionalShow the text and evidence in the public record (the identity never appears).
event_idbodystringoptionalThe Community note (64 hex or note1…) that carries the dispute; it must be held by this relay.

The body is application/json.

schema DisputeInput
  • reason string required — Why the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason. · one of "wrong_subject", "wrong_entity", "outdated", "source_misread", "other"
  • text string required — What is wrong, in your words. Required and never blank; it shows in the public record only when public is true. · at most 4096 characters
  • evidence array of object — Up to ten entries that back the dispute. They show in the public record only when public is true.
    • kind string required — What the entry is: a URL, a Nostr event, a txid or a text. · one of "url", "nostr_event", "txid", "text"
    • value string required — The entry itself. Required and never blank. · at most 2048 characters
    • note string — A note on the entry. · at most 2048 characters
  • 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.

What it answers

201 · application/json

Opened.

FieldTypeWhat it carries
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.
schema DisputeOpened
  • id integer required — The dispute's id.
  • claim_id string required — 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 required — Always open. · one of "open"
  • reason string required — The reason given.
  • opened_at string (date-time) required — 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.

Errors

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

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