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
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
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
claim_id | path | string | required | ann_<n>, att_<n>, rel_<n> or evt_<n>, or an event's slug. |
reason | body | string | required | Why the claim is wrong: the wrong subject, the wrong entity, out of date, the source misread, or another reason. |
text | body | string | required | What is wrong, in your words. Required and never blank; it shows in the public record only when public is true. |
evidence | body | array | optional | Up to ten entries that back the dispute. They show in the public record only when public is true. |
public | body | boolean | optional | Show the text and evidence in the public record (the identity never appears). |
event_id | body | string | optional | The Community note (64 hex or note1…) that carries the dispute; it must be held by this relay. |
The body is application/json.
schema DisputeInput
reasonstring 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"textstring required — What is wrong, in your words. Required and never blank; it shows in the public record only whenpublicis true. · at most 4096 charactersevidencearray of object — Up to ten entries that back the dispute. They show in the public record only whenpublicis true.kindstring required — What the entry is: a URL, a Nostr event, a txid or a text. · one of "url", "nostr_event", "txid", "text"valuestring required — The entry itself. Required and never blank. · at most 2048 charactersnotestring — A note on the entry. · at most 2048 characters
publicboolean — Show the text and evidence in the public record (the identity never appears).event_idstring — The Community note (64 hex ornote1…) that carries the dispute; it must be held by this relay.
What it answers
201 · application/json
Opened.
| Field | Type | What it carries |
|---|---|---|
id | integer | The dispute's id. |
claim_id | string | 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 | Always open. |
reason | string | The reason given. |
opened_at | string | 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. |
schema DisputeOpened
idinteger required — The dispute's id.claim_idstring required — The disputed claim's id.claim_versioninteger — The claim's version in force when the dispute was opened; 0 when it had none.statusstring required — Alwaysopen. · one of "open"reasonstring required — The reason given.opened_atstring (date-time) required — When the dispute was opened.publicboolean — Whether the text and the evidence show in the public record.notestring — What happens next: a human operator resolves the dispute, and the opener's identity never shows.
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. |
| 409 | conflict | conflict: 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. |
| 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. |
| 429 | quota_exceeded | quota_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. |
| 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 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":"…"}' | 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.