btcintel

One Community event with its thread

GET /v1/community/events/{id}
quién puede llamarla
Cualquiera
sin clave y sin sesión
qué cuesta
1 petición de la cuota
niveles y claves
cuán reciente
En caché 15 segundos
solo en el navegador de quien lee · cada respuesta lleva la altura del índice y la del nodo
Herramienta MCP
get_community_event
en el servidor MCP
qué cuesta, según el caso
include_low_pow=true: 2 peticiones de la cuota
En esta página

A served comment or label by id (64 hex or note1…) with its replies two levels deep, what it is about (subject), when btcintel took it in after checking its id and its signature (received_at), and the note as its author signed it (signed), every tag with its signature. 404 when unknown, deleted by its author, hidden by moderation or (without include_low_pow) under the proof-of-work floor. Indexed from Nostr, not endorsed.

Parámetros

NombreDóndeTipoObligatorioQué hace
idrutastringobligatorio64 hex characters or a note1… id.
include_low_powconsultabooleanopcionalAlso serve events under the proof-of-work floor (counts as two requests).

Qué responde

The event and its thread.

CampoTipoQué lleva
idstringThe event's id, 64 hex.
pubkeystringIts author's public key, 64 hex.
npubstring o nullThat key as an npub (NIP-19). Null when it does not encode.
kindintegerThe event's Nostr kind, as 1111 for a comment and 1985 for a label.
created_atstringWhen the author says it was made: its created_at, UTC.
contentstringPlain text as signed; never HTML or markdown.
tagsarrayThe i/I/e/p/l/L/k/K/nonce tags.
pow_bitsintegerCommitted NIP-13 difficulty.
low_powbooleanTrue when its committed proof of work was under the floor in force when it was stored.
seen_onarrayPublic relays the event was seen on.
relay_urlstringWhere it came from first (our relay's URL for events accepted at our door).
replies_countintegerHow many comments reply to it, deleted and hidden ones and those of a banned key left out.
zap_countintegerDistinct zappers (community signal, not endorsement).
zap_satsintegerPresent when zap_count > 0.
subjectobjectWhat it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.
received_atstringWhen btcintel took the event in, after checking its id and its signature; an event that fails is never stored.
signedobjectThe event as its author signed it and btcintel stored it. Absent when the kept copy does not read as an event.
repliesarrayThe comments that reply to the event, newest first, at most 200, each with its own replies.
replies[].idstringThe event's id, 64 hex.
replies[].pubkeystringIts author's public key, 64 hex.
replies[].npubstring o nullThat key as an npub (NIP-19). Null when it does not encode.
replies[].kindintegerThe event's Nostr kind, as 1111 for a comment and 1985 for a label.
replies[].created_atstringWhen the author says it was made: its created_at, UTC.
replies[].contentstringPlain text as signed; never HTML or markdown.
replies[].tagsarrayThe i/I/e/p/l/L/k/K/nonce tags.
replies[].pow_bitsintegerCommitted NIP-13 difficulty.
replies[].low_powbooleanTrue when its committed proof of work was under the floor in force when it was stored.
replies[].seen_onarrayPublic relays the event was seen on.
replies[].relay_urlstringWhere it came from first (our relay's URL for events accepted at our door).
replies[].replies_countintegerHow many comments reply to it, deleted and hidden ones and those of a banned key left out.
replies[].zap_countintegerDistinct zappers (community signal, not endorsement).
replies[].zap_satsintegerPresent when zap_count > 0.
replies[].subjectobjectWhat it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.
replies[].repliesarrayThe comments that reply to that reply, newest first, at most 50.
_metaobjectThe notice every Community answer carries: indexed from Nostr, never endorsed by btcintel.
esquema CommunityThread
  • id string obligatorio — The event's id, 64 hex.
  • pubkey string obligatorio — Its author's public key, 64 hex.
  • npub string | null — That key as an npub (NIP-19). Null when it does not encode.
  • kind integer obligatorio — The event's Nostr kind, as 1111 for a comment and 1985 for a label.
  • created_at string (date-time) obligatorio — When the author says it was made: its created_at, UTC.
  • content string obligatorio — Plain text as signed; never HTML or markdown.
  • tags array de array de string obligatorio — The i/I/e/p/l/L/k/K/nonce tags.
  • pow_bits integer obligatorio — Committed NIP-13 difficulty.
  • low_pow boolean obligatorio — True when its committed proof of work was under the floor in force when it was stored.
  • seen_on array de string obligatorio — Public relays the event was seen on.
  • relay_url string obligatorio — Where it came from first (our relay's URL for events accepted at our door).
  • replies_count integer obligatorio — How many comments reply to it, deleted and hidden ones and those of a banned key left out.
  • zap_count integer obligatorio — Distinct zappers (community signal, not endorsement).
  • zap_sats integer — Present when zap_count > 0.
  • subject CommunitySubject — What it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.
    • kind string obligatorio — The kind of subject. · uno de "address", "tx", "block"
    • key string obligatorio — The subject's canonical key.
    • nip73 string — The NIP-73 id, e.g. bitcoin:address:<address>.
  • received_at string (date-time) obligatorio — When btcintel took the event in, after checking its id and its signature; an event that fails is never stored.
  • signed CommunitySignedEvent — The event as its author signed it and btcintel stored it. Absent when the kept copy does not read as an event.
    • id string obligatorio — The event's id, 64 hex.
    • pubkey string obligatorio — Its author's public key, 64 hex.
    • created_at integer obligatorio — The time it was signed with, in seconds since 1970-01-01 UTC.
    • kind integer obligatorio — Its Nostr kind.
    • tags array de array de string obligatorio — Every tag, in the order signed.
    • content string obligatorio — Its text, as signed.
    • sig string obligatorio — The signature, 128 hex.
  • replies array de object obligatorio — The comments that reply to the event, newest first, at most 200, each with its own replies.
    • id string obligatorio — The event's id, 64 hex.
    • pubkey string obligatorio — Its author's public key, 64 hex.
    • npub string | null — That key as an npub (NIP-19). Null when it does not encode.
    • kind integer obligatorio — The event's Nostr kind, as 1111 for a comment and 1985 for a label.
    • created_at string (date-time) obligatorio — When the author says it was made: its created_at, UTC.
    • content string obligatorio — Plain text as signed; never HTML or markdown.
    • tags array de array de string obligatorio — The i/I/e/p/l/L/k/K/nonce tags.
    • pow_bits integer obligatorio — Committed NIP-13 difficulty.
    • low_pow boolean obligatorio — True when its committed proof of work was under the floor in force when it was stored.
    • seen_on array de string obligatorio — Public relays the event was seen on.
    • relay_url string obligatorio — Where it came from first (our relay's URL for events accepted at our door).
    • replies_count integer obligatorio — How many comments reply to it, deleted and hidden ones and those of a banned key left out.
    • zap_count integer obligatorio — Distinct zappers (community signal, not endorsement).
    • zap_sats integer — Present when zap_count > 0.
    • subject CommunitySubject — What it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.
      • kind string obligatorio — The kind of subject. · uno de "address", "tx", "block"
      • key string obligatorio — The subject's canonical key.
      • nip73 string — The NIP-73 id, e.g. bitcoin:address:<address>.
    • replies array de CommunityEvent — The comments that reply to that reply, newest first, at most 50.
      • id string obligatorio — The event's id, 64 hex.
      • pubkey string obligatorio — Its author's public key, 64 hex.
      • npub string | null — That key as an npub (NIP-19). Null when it does not encode.
      • kind integer obligatorio — The event's Nostr kind, as 1111 for a comment and 1985 for a label.
      • created_at string (date-time) obligatorio — When the author says it was made: its created_at, UTC.
      • content string obligatorio — Plain text as signed; never HTML or markdown.
      • tags array de array de string obligatorio — The i/I/e/p/l/L/k/K/nonce tags.
      • pow_bits integer obligatorio — Committed NIP-13 difficulty.
      • low_pow boolean obligatorio — True when its committed proof of work was under the floor in force when it was stored.
      • seen_on array de string obligatorio — Public relays the event was seen on.
      • relay_url string obligatorio — Where it came from first (our relay's URL for events accepted at our door).
      • replies_count integer obligatorio — How many comments reply to it, deleted and hidden ones and those of a banned key left out.
      • zap_count integer obligatorio — Distinct zappers (community signal, not endorsement).
      • zap_sats integer — Present when zap_count > 0.
      • subject CommunitySubject — What it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.
        • kind string obligatorio — The kind of subject. · uno de "address", "tx", "block"
        • key string obligatorio — The subject's canonical key.
        • nip73 string — The NIP-73 id, e.g. bitcoin:address:<address>.
  • _meta CommunityMeta obligatorio — The notice every Community answer carries: indexed from Nostr, never endorsed by btcintel.
    • notice string obligatorio — Always: Community content is indexed from Nostr and not endorsed by btcintel.
    • endorsement boolean obligatorio — Always false.

Errores

EstadoCódigoCuándo
400invalid_inputMalformed input (invalid_input).
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.
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 'https://api.btcintel.io/v1/community/events/1?include_low_pow=false' | jq '{id, pubkey, npub}'