The Community firehose — recent notes across subjects, or one author's notes
GET /v1/community/recent- who may call it
- Anyone
- no key and no session
- how fresh
- Cached for 15 seconds
- by the reader's browser alone · every answer carries the index's height and the node's
- MCP tool
- None
- what it costs, by case
include_low_pow=true: 2 requests of the quota
Served comments that carry a subject and labels from listed labelers, newest first, low-PoW excluded. With pubkey= the page holds that one author's notes: the comments and labels the index holds from that key, newest first, the author's labels included whether or not the key is a listed labeler (as labelers= does on a subject page); a note deleted by its author is not listed. subject_kind narrows the page to the notes about one kind of subject, and each note says what it is about (subject). With summary=true the answer also carries the index in sum, read on the page's own snapshot. include_low_pow=true also serves notes under the proof-of-work floor and counts as two requests. 400 invalid_input for a malformed pubkey, or a subject_kind or a summary it does not take. Indexed from Nostr, not endorsed.
Parameters
| Name | Where | Type | Required | What it does |
|---|---|---|---|---|
kinds | query | string | optional | Comma-separated: 1111 (comments) and/or 1985 (labels); both by default. |
pubkey | query | string | optional | One author's key, 64 hex characters or npub1…: only that author's notes. |
subject_kind | query | string | optional | address, tx or block: only the notes about that kind of subject. Any other value is a 400. |
summary | query | string | optional | true or 1 adds summary, the index in sum, to the answer; false or 0 does not. Any other value is a 400. |
include_low_pow | query | boolean | optional | Also serve notes under the proof-of-work floor (counts as two requests). |
cursor | query | string | optional | The next_cursor of the previous page. |
limit | query | integer | optional | Notes per page: 50 by default, at most 200; a larger value is a 400. |
What it answers
A page of notes.
| Field | Type | What it carries |
|---|---|---|
items | array | Served comments that carry a subject, and labels from listed labelers, newest first; with pubkey, that author's comments and labels; about the subject_kind asked, those alone. Empty when there is none. |
items[].id | string | The event's id, 64 hex. |
items[].pubkey | string | Its author's public key, 64 hex. |
items[].npub | string or null | That key as an npub (NIP-19). Null when it does not encode. |
items[].kind | integer | The event's Nostr kind, as 1111 for a comment and 1985 for a label. |
items[].created_at | string | When the author says it was made: its created_at, UTC. |
items[].content | string | Plain text as signed; never HTML or markdown. |
items[].tags | array | The i/I/e/p/l/L/k/K/nonce tags. |
items[].pow_bits | integer | Committed NIP-13 difficulty. |
items[].low_pow | boolean | True when its committed proof of work was under the floor in force when it was stored. |
items[].seen_on | array | Public relays the event was seen on. |
items[].relay_url | string | Where it came from first (our relay's URL for events accepted at our door). |
items[].replies_count | integer | How many comments reply to it, deleted and hidden ones and those of a banned key left out. |
items[].zap_count | integer | Distinct zappers (community signal, not endorsement). |
items[].zap_sats | integer | Present when zap_count > 0. |
items[].subject | object | What it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read. |
next_cursor | string or null | The cursor of the next page. Null when this page came back short. |
summary | object | The index in sum, with summary=true only. |
_meta | object | The notice every Community answer carries: indexed from Nostr, never endorsed by btcintel. |
schema
itemsarray of CommunityEvent required — Served comments that carry a subject, and labels from listed labelers, newest first; withpubkey, that author's comments and labels; about thesubject_kindasked, those alone. Empty when there is none.idstring required — The event's id, 64 hex.pubkeystring required — Its author's public key, 64 hex.npubstring | null — That key as an npub (NIP-19). Null when it does not encode.kindinteger required — The event's Nostr kind, as 1111 for a comment and 1985 for a label.created_atstring (date-time) required — When the author says it was made: itscreated_at, UTC.contentstring required — Plain text as signed; never HTML or markdown.tagsarray of array of string required — The i/I/e/p/l/L/k/K/nonce tags.pow_bitsinteger required — Committed NIP-13 difficulty.low_powboolean required — True when its committed proof of work was under the floor in force when it was stored.seen_onarray of string required — Public relays the event was seen on.relay_urlstring required — Where it came from first (our relay's URL for events accepted at our door).replies_countinteger required — How many comments reply to it, deleted and hidden ones and those of a banned key left out.zap_countinteger required — Distinct zappers (community signal, not endorsement).zap_satsinteger — Present when zap_count > 0.subjectCommunitySubject — What it is about: a comment's root subject, a label's target. Absent when it names none btcintel can read.kindstring required — The kind of subject. · one of "address", "tx", "block"keystring required — The subject's canonical key.nip73string — The NIP-73 id, e.g. bitcoin:address:<address>.
next_cursorstring | null required — Thecursorof the next page. Null when this page came back short.summaryCommunitySummary — The index in sum, withsummary=trueonly.notesobject required — The comments the list serves.totalinteger required — How many.by_kindCommunityKindCounts required — The same, by the kind of subject they are about.addressinteger required — About an address.txinteger required — About a transaction.blockinteger required — About a block.
subjectsobject required — The distinct subjects those notes are about.totalinteger required — How many.by_kindCommunityKindCounts required — The same, by kind.addressinteger required — About an address.txinteger required — About a transaction.blockinteger required — About a block.
keysobject required — The distinct keys that wrote those notes.totalinteger required — How many.
labelsinteger required — The labels the list serves: from listed labelers, or withpubkeythat key's.newest_atstring | null (date-time) required — When the newest of those notes says it was made. Null when there is none.oldest_atstring | null (date-time) required — When the oldest of them says it was made. Null when there is none.
_metaCommunityMeta required — The notice every Community answer carries: indexed from Nostr, never endorsed by btcintel.noticestring required — Always: Community content is indexed from Nostr and not endorsed by btcintel.endorsementboolean required — Always false.
Absent and empty
| The case | In the answer |
|---|---|
The index holds no note for the page, or none from that pubkey, or none about the subject_kind asked. | items: []: known, not absent. With summary, a count of what holds none is 0, and newest_at and oldest_at are null when no note is counted. |
| The Community ingester has never run. | 501 not_configured: absent, not empty, never an empty list. |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_input | Malformed input (invalid_input). |
| 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 'https://api.btcintel.io/v1/community/recent?include_low_pow=false&limit=50' | jq