Skip to main content
Task-first snippets. All are public (no key), rate-limited per IP, and return the Response format conventions (decimal strings, RFC3339 timestamps). A runnable reference adapter (TypeScript + Python) lives in the repo at docs/examples/asset-consumer/.

Is this asset pegged right now?

Read the class-aware verdict — don’t re-threshold discount yourself.
Always gate on stale (and updated_at freshness). A stale:true or UNKNOWN reading means “no trustworthy signal”, not “healthy” — fail safe.

Watch the whole universe in one call

List endpoints return the envelope { ok, generated_at, count, data } — read the rows from .data. Prefer risk_score (0–100) for a single sortable number, or branch on state. To join by Solana mint, use GET /v1/peg/feed (also a data array; each signal carries mint).

Only surface what’s off-peg

Chart the discount history

bucket=raw for per-sample, 1m for 1-minute aggregates. Newest-first; window with from/to (see Pagination & limits).

Verify a state transition on your own machine

Every alert emits a public receipt with frozen inputs and an on-chain commit.

Gauge systemic (leverage) exposure

Advisory, anonymous-by-construction — see the Systemic impact section for the full model.

WebSocket

Sub-second push instead of polling.

Webhooks

Signed POST on every state transition.

MCP for agents

Point an LLM agent straight at the oracle.

Errors

Codes + the x-request-id header.