Skip to content
PRISM

Build · API v1

Same data as the interface. No more, no less.

Thirteen read-only endpoints over Robinhood Chain. Access is reserved for token holders: connect a wallet, issue a key, send it as a bearer token.

Provenance
Every response states its source, block and indexed window in meta.
Null over zero
Unknown values are null. Nothing is backfilled, estimated or simulated.
Validated
Inputs and outputs pass Zod schemas. Bad input returns 400 with per-field details.
Holder-gated
Keys are issued to wallets holding the access token. Rate limits scale with your tier.

Quickstart

Issue a key on the holders page, then point at any PRISM deployment.

shell
export PRISM=https://<your-deployment>
export PRISM_KEY=prism_…
curl -s -H "Authorization: Bearer $PRISM_KEY" "$PRISM/api/v1/network/status"
typescript
type Envelope<T> = { data: T; meta: { blockNumber: string | null; observedAt: string } }

const res = await fetch(`${PRISM}/api/v1/intelligence/signals?severity=high`, {
  headers: { Authorization: `Bearer ${process.env.PRISM_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.code)

const { data, meta } = (await res.json()) as Envelope<Signal[]>
console.log(`${data.length} high-severity signals at block ${meta.blockNumber}`)

Endpoints