Skip to content
Indexer AccessAPI reference

Cohorts

Wallet clusters, their members, and the evidence edges that produced them.

Wallet clusters with inspectable membership evidence.

4 routes · Prefix: /index/v1/{chain} · Header: x-api-key.

Shared contract.

Cohorts By Token

GET /cohorts

Funding cohorts seeded by members funded in token; ascending cohort ID. primary marks the anchor asset. Generation-bound cursors return 409 stale_cursor after generation changes; restart the walk.

ParameterInRequiredNotes
tokenqueryyes0x-prefixed token address.
cursorquerynoOpaque page cursor, bound to the funding generation.
limitquerynoRows per page.

Cohort Detail

GET /cohorts/{id}

Cohort metadata: kind, size, primary asset, generation, and for a Funding cohort freshness {ruleVersion, overridesVersion, currentRuleVersion, currentOverridesVersion, stale, staleReasons} plus a hoisted stale. An unknown id answers 200 with found: false and null fields, not 404: absent can mean the cohort has not been derived yet.

ParameterInRequiredNotes
idpathyesCohort id: 8 bytes, 16 hex digits, no 0x prefix.

Cohort Edges

GET /cohorts/{id}/edges

Membership evidence edges. Screened members' edges are withheld (screenedOut), with the same freshness and cohortsComplete trio as /members, and the same cohortFound: false for an unknown id.

ParameterInRequiredNotes
idpathyesCohort id: 8 bytes, 16 hex digits, no 0x prefix.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.

Cohort Members

GET /cohorts/{id}/members

Members include admittedBy {signals, edge, funder, assetKind, asset, firstBlock, lastBlock}. Members screened out by a current entity override (on the member, or on the funder that admitted it) are dropped and listed in screened/screenedOut, and the page reports freshness.stale. cohortsComplete/cohortsIncompleteReason/fundingGeneration say whether the funding half was ever derived. An unknown id answers 200 with cohortFound: false and no members, not 404; while cohortsComplete is false, that means not derived yet, not no such cohort.

ParameterInRequiredNotes
idpathyesCohort id: 8 bytes, 16 hex digits, no 0x prefix.
cursorquerynoOpaque page cursor.
limitquerynoRow cap; default/maximum: route schema.

View this page as Markdown