- 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
- GET
/api/v1/network/statusNetwork - GET
/api/v1/network/blocksNetwork - GET
/api/v1/network/blocks/{number}Network - GET
/api/v1/transactions/{hash}Explore - GET
/api/v1/addresses/{address}Explore - GET
/api/v1/searchExplore - GET
/api/v1/assetsMarkets - GET
/api/v1/assets/{address}Markets - GET
/api/v1/transfersMarkets - GET
/api/v1/liquidity/poolsLiquidity - GET
/api/v1/liquidity/pools/{address}Liquidity - GET
/api/v1/stablecoins/usdgStablecoins - GET
/api/v1/intelligence/signalsIntelligence