Insight Logo
Insight
Oracle evidence
Price Query
VerifyPricing

Insight — Reference index

Evidence before execution.

Insight LogoInsight

Oracle transparency and risk infrastructure for DeFi. 15-minute price verification, cross-oracle comparison, position safety checks, and programmatic data access across 10+ providers and 40+ blockchain networks.

Platform

  • Home
  • Price Query
  • Price Insight
  • Oracle Directory
  • Daily Reports
  • API
  • Pricing
  • AI Agents
  • Guard SDK

Safety

  • Safety Check
  • Pre-Trade Safety Check
  • Oracle Watch
  • Stablecoin Depeg
  • Wrapped Asset Peg

Resources

  • Documentation
  • API Reference
  • AI / MCP Docs
  • Guard SDK Docs
  • GitHub

© 2026 Insight. All rights reserved.

Privacy PolicyTerms of ServiceRefund PolicyContact

11 — Learn

Insight documentation · Product logic, risk methodology, architecture, data sources, and integration references

Start with the workflowGuard SDK

Understand the evidence before you depend on it.

Follow an oracle price from collection through consensus, health analysis, risk interpretation, and signed verification. Then connect the same evidence to your application or agent.

  • 01Product workflow
  • 02Risk methodology
  • 03Developer reference

Index — Documentation map

Start with a task, inspect the method behind it, then move into the implementation reference when you are ready to integrate.

01Quick Start02Features03Technical Docs04Methodology05Architecture06Data Sources07API Reference08Guard SDK09AI / MCP Server

Quick Start Guide

Get started with Insight in three steps. The platform aggregates price data from major oracle providers across 40+ blockchain networks for comprehensive market intelligence.

Oracle Providers
10+
Blockchains
40+
Consensus Algorithms
4
1

Query Prices

Select an oracle provider, blockchain, and token to get current prices with on-chain verification metadata.

2

Compare & Analyze

Cross-oracle comparison with consensus price, cross-chain heatmap, and divergence signals.

3

Track & Act

Track oracle reputation over time and track stablecoin or wrapped-asset depeg risks.

On-chain verification links
Auto-refresh & keyboard shortcuts
CSV / JSON / Excel / PDF exports
Start SearchingCompare OraclesBuild a guarded agent

Features Guide

Explore the core capabilities of the Insight oracle data platform.

Safety Check

Calculate the exact oracle price deviation that would trigger liquidation for your DeFi lending positions across multiple protocols.

Multi-asset collateral and borrow support
Health factor gauge and safety buffer analysis
Protocol-derived liquidation thresholds
Pre-trade borrow check: buffer-consumption bar + freeze / wait / add-collateral actions
Learn More

Oracle Watch

Always-on cross-oracle trust signal (NORMAL / CAUTION / DANGER) that AI agents running long-lived strategies can poll and gate on between trades.

Live consensus deviation, agreement, quorum, outliers and staleness
proceed / proceed_with_caution / halt recommendation
Reuses the pre-trade severity thresholds for one consistent risk language
No cross-oracle coverage degrades to DANGER / halt — never errors
Learn More

Stablecoin Depeg Tracker

15-minute stablecoin depeg tracking across oracle providers and chains with protocol impact analysis.

Multi-oracle consensus price and deviation tracking
Affected protocol mapping for collateral and borrow roles
Risk level classification with duration tracking
Learn More

Wrapped Asset Peg Tracker

Track WBTC, wstETH, cbETH, and other wrapped or liquid-staking tokens for deviations against their underlying assets.

On-chain LST exchange rate integration
Cross-source deviation heatmap
Collateral impact mapping across lending protocols
Learn More

Price Query

Query current prices from any oracle provider with on-chain data, confidence intervals, and auto-refresh.

10 oracle providers with cascade filtering
On-chain data and confidence intervals
Auto-refresh and keyboard shortcuts
Learn More

Price Insight

Compare oracle prices across providers and blockchains with consensus price, divergence signals, and risk analysis.

By Oracle / By Chain dimension switching
4 consensus algorithms and divergence signals
Risk analysis, feed health, and reliability ranking
Learn More

Oracle Reputation

Persistent 7-day rolling reputation scores with accuracy, uptime, reliability, latency, and freshness metrics.

7-day rolling aggregated scores
5-metric evaluation framework
Provider detail pages with trend charts
Learn More

Daily Reports

Daily aggregated oracle market snapshots with consensus prices, provider rankings, and stablecoin or wrapped-asset peg risk highlights.

Daily consensus price and deviation summaries
Stablecoin depeg and wrapped asset peg summaries
Provider rankings and risk highlights
Learn More

Auto-Refresh

Live on-demand price polling

10 Oracle Providers

Chainlink, API3, RedStone, DIA, and more

Safety & Risk

Position, stablecoin, and wrapped asset tracking

Multi-format Export

CSV, JSON, Excel, PDF, PNG

Verifiable receipts

Every receipt can be verified by anyone, without trusting Insight

Each pre-trade check is signed as an EIP-712 attestation (v1 11 fields, v2 26, v3 27). The public verify endpoint checks the signature against the published attester key and routes by the attestation's own schemaVersion. At v3 both safety gates are recomputable from the bytes alone, because both policy constants are inside the signed struct; the constants are also pinned in a machine-readable declaration.

Try it now — verify a receipt in your browser

No install, no API key. Open /verify and the page fetches a public sample receipt plus the published key registry, then re-checks the EIP-712 signature entirely on your device using verify-insight-receipt. Insight never sees the result.

Verify a receipt
Runs against the public endpoint, no API key. Try it with a real sample.
POST /api/v1/safety/attestation/verify · routes by schemaVersion
published attester keysscale declarationVRT1 §8.6 vendor registry
Verify a closed execution loop
Paste the pre-trade attestation(s) and the Execution Receipt. Proves the certify → execute → prove loop actually closed — and that the receipt is bound to THIS gate, not a forged one. A v3 receipt that commits to a destination gate needs that gate pasted too. Public, no API key.
Pre-trade attestation (source leg)
Execution Receipt
Destination pre-trade (v3, optional)
POST /api/v1/execution/attestation/verify-pair · checks the cryptographic binding
published attester keys

Verify locally, without calling Insight

For agents and protocols that need an independent verification path, the repository includes a standalone npm package — published as verify-insight-receipt (v0.2.0). It verifies pre-trade and execution receipts, including closed-loop pairs, by recomputing the EIP-712 hashes and recovering signers locally; it does not need an API key, database access, or a network request.

# Published package (recommended)
npm install verify-insight-receipt

# Or from the Insight repository
npm install ./verifier

import { verifyReceipt } from 'verify-insight-receipt';

const result = await verifyReceipt(receipt, { keyRegistry });
if (result.code !== 'ok') {
  throw new Error(result.code);
}

Verification is not endorsement. A valid result proves the signed bytes and signer relationship, not that the underlying trade or verdict was correct.

Verify from the command line

# fetch a real signed sample
curl -s https://www.oracleinsight.xyz/api/v1/safety/attestation/sample \
  | jq .data.attestation > receipt.json

# verify it (public, no API key)
curl -s https://www.oracleinsight.xyz/api/v1/safety/attestation/verify \
  -H 'Content-Type: application/json' \
  -d "{\"attestation\": $(cat receipt.json | jq -c)}"

# cross-check the pinned declaration (sha256 035144d0...)
curl -s https://www.oracleinsight.xyz/.well-known/vrt1-scale-declaration.json \
  | shasum -a 256

Where the evidence lives

  • Published keys — .well-known/oracle-keys.json
  • Scale declaration — .well-known/vrt1-scale-declaration.json (27 field scales + both policy constants; sha256 035144d0…594d, mirrored at the pinned revision)
  • Vendor registry — VRT1 spec §8.6 lists the type as a pointer to the declaration. Listing records that a type exists and where its declaration is; it is not an endorsement of verdicts.
  • Bitcoin anchors — records were anchored at blocks 964367, 964407, 964535. An anchor proves the record existed in that form before that block; it does not prove a verdict was correct or that the check is still fresh.

Technical Documentation

Deep dive into implementation details, data sources, and architecture.

Methodology

Data collection, validation rules, and consensus algorithms that power Insight price intelligence.

Data QualityValidationConsensus
Jump to section

API Reference

Interactive API explorer with OpenAPI 3.1. Try endpoints live, generate code snippets, and import into Postman.

REST APIOpenAPITry It Out
Read More

Architecture

Next.js App Router with Supabase, React Query, Zustand, and 10 oracle client implementations.

Next.jsSupabaseTypeScript
Jump to section

Data Sources

10 oracle providers including Chainlink, API3, RedStone, DIA, WINkLink, Supra, TWAP, Reflector, Flare, and Switchboard.

10 Oracles40+ ChainsOn-chain Data
Jump to section

AI / MCP Server

Connect Claude, Cursor, and other MCP clients to oracle prices, risk summaries, pre-trade safety checks, Oracle Watch monitoring, liquidation stress tests, and more.

AI Agents34 ToolsMCPPre-Trade Safety
Read More

Guard SDK

Use the complete execution workflow: two-sided pre-trade gates, Oracle Watch halt handling, and VERIFIED execution receipts.

DeFi AgentsTypeScriptExecution Guard
Read More

Methodology

Insight combines 15-minute oracle data with rigorous validation, multi-algorithm consensus, and a 7-day rolling reputation framework to produce reliable cross-provider price intelligence.

Data Collection

Prices are fetched from 10 oracle providers across 40+ blockchains. Each request reads either an on-chain contract or a verified API endpoint, then normalizes the result into a common PriceData structure that includes price, timestamp, decimals, confidence, and verification metadata.

Feed resolutionDatabase-first with 5-minute cache
On-chain dataDirect RPC calls to oracle contracts
API dataSigned RedStone / DIA / Supra endpoints
FallbackHard-coded symbol lists when DB is unreachable

Validation Rules

Every raw price is validated before entering consensus or storage. Failures are not silently dropped; they are classified so the reputation system can distinguish between stale data, network errors, unsupported symbols, and fallback metadata.

  • Price must be a positive finite number
  • Timestamp must be within a reasonable window
  • Confidence interval width must be parsable when provided
  • Provider-reported confidence score is preserved for weighting
  • Failures are classified into failure modes (stale, fallback, network, unsupported, etc.)

Consensus Algorithms

Four consensus methods are computed for every symbol. The recommended method is chosen automatically based on asset category: stablecoins, major assets, altcoins, and micro-cap assets each get the method best suited to their typical volatility and provider coverage.

Median

Micro-cap / low-liquidity assets

Middle value of sorted prices. Robust against extreme outliers when provider coverage is limited.

Trimmed Mean

Altcoins

Mean after removing the top and bottom 25% of prices. Balances outlier resistance with responsiveness.

Weighted Median

Major assets

Median weighted by provider confidence (40%), price freshness (35%), and confidence-interval tightness (25%).

IQR Filtered

Stablecoins

Removes outliers outside the interquartile range, then takes the median. Ideal for tight peg tracking.

Outlier Detection

Outliers are detected using Z-score over 2.5 standard deviations, dual-source arbitration when only two prices exist, and history-aware checks against the last 10 consensus points. Excluded providers are surfaced in the divergence UI and used to adjust confidence scoring.

Reputation Scoring

Provider reputation is recomputed hourly from a 7-day rolling window of sampled price fetches. Each provider is benchmarked against a latency baseline that depends on whether it is an on-chain or API provider, so slower on-chain calls are not unfairly penalized.

Accuracy

30%

Measures how close a provider's price is to the consensus. Scored as 100 − min(|deviation| × 15, 85), with a consistency bonus for low deviation variance.

Uptime

20%

Percentage of successful price fetches over a 7-day rolling window. Failed fetches are classified by failure mode for debugging.

Reliability

20%

Penalizes large deviations more aggressively than Accuracy (100 − min(|deviation| × 20, 80)). Same consistency bonus applies.

Freshness

15%

Scores how recently the on-chain / API data was updated. Degrades by 4 points per minute of stale data, capped at 90 points lost.

Latency

10%

Response time against a provider-type baseline: on-chain providers typically get ~1,000 ms, API providers ~350–500 ms.

Deviation

5%

Average absolute deviation from consensus, bucketed into 0.1%, 0.5%, 1%, 2%, and >2% tiers.

A sample-size factor (0.85–1.0) is applied when fewer than 100 samples exist, and a consistency bonus of up to 4 points rewards providers with low deviation variance across at least 5 successful consensus comparisons.

Architecture

Insight is a full-stack oracle analytics platform built for reliability, 15-minute assessment, and multi-provider comparison across blockchains.

System Layers

Frontend

Next.js App Router

Server-first rendering with App Router, colocated API routes, and optimized static generation for marketing and docs pages. Client components handle interactive dashboards.

Client State

React Query + Zustand

React Query caches and synchronizes server state (prices, reputations, reports). Zustand manages lightweight UI state such as auth session and user preferences.

Backend & Database

Supabase PostgreSQL

PostgreSQL stores price records, oracle feeds, API keys, reputation history, and daily reports. Row Level Security, database functions, and cron jobs run inside the database.

Oracle Client Layer

Factory + BaseOracleClient

A unified abstraction wraps 10 oracle providers. Each client handles chain-specific calls, retries, TTL caching, and normalization into a common PriceData format.

API Layer

REST + API Key Auth

Public v1 endpoints expose prices, batch queries, history, and reports. Internal endpoints power stablecoin depeg, wrapped-asset tracking, and protocol-health features.

Automation

pg_cron + GitHub Actions

Supabase pg_cron dispatches six product-critical workflows through pg_net using a token encrypted in Vault. Dependency-free GitHub runners perform the heavy work, guarded native schedules provide fallback, and a 30-day ledger records completion. Vercel is not used for background compute.

Core Data Model

TablePurpose
price_recordsRaw and normalized prices with TTL
oracle_feedsActive feed metadata per provider + chain
hourly_price_snapshotsHourly-grain snapshots (upsert, 120-day retention)
price_snapshots15-min-grain snapshots for ML / anomaly detection (120-day retention)
reputation_historyPer-fetch samples for scoring
oracle_reputationAggregated 7-day provider scores
api_keysKey-based API authentication
daily_reportsGenerated market snapshots

Oracle Client Layer

The OracleClientFactory creates singleton provider clients that inherit from BaseOracleClient. Each implementation translates provider-specific identifiers (feed addresses, price IDs, dAPI names) into the unified PriceData shape.

Chainlink
API3
RedStone
DIA
WINkLink
Supra
TWAP
Reflector
Flare
Switchboard

Automation & Cron Jobs

snapshot-collect15 min

Collect price snapshots from all oracle feeds (dual-writes hourly + 15-min tables)

oracle-watch-collect30 min

Persist the Oracle Watch credibility history and trust signal

reputationHourly

Fetch provider samples and recompute 7-day rolling scores (GitHub Actions)

feed-cadenceDaily

Refresh per-feed observed staleness baselines (GitHub Actions)

safety-outcome2 hours

Backfill outcome labels for pre-trade safety checks

protocol-metrics (tvl)4 hours

Sync protocol TVL from DefiLlama

protocol-metrics (risk-params)6 hours

Sync per-asset risk parameters from lending protocols

feed-reactivation12 hours

Re-probe deactivated feeds and revive recovered ones

daily-report/publishDaily

Generate and persist the daily report

billingDaily

Grant subscription credit allowances, downgrade expired subs, clean up zombie invoices

feed-discoveryWeekly

Discover new oracle feeds from each provider’s official API

ml-train3 days

Retrain the oracle-risk ML model and trigger a Vercel redeploy

Security & Reliability

Input Validation

Zod schemas validate PriceData and API requests. Invalid payloads are rejected before reaching business logic.

Error Taxonomy

AppError and OracleServiceError classify failures (network, timeout, unsupported symbol, stale data) for observability and retries.

API Key Rate Limiting

Each API key carries a plan-based rate limit. Usage is logged per endpoint for billing and abuse detection.

Row Level Security

Supabase RLS policies ensure users can only read their own API keys and profile data.

Data Sources

Insight aggregates price data from leading oracle providers across 40+ blockchain networks, normalizing every feed into a common format for comparison and analysis.

10+
Oracle Providers
40+
Supported Chains
On-chain & API
Data Type
ProviderTypeChains
ChainlinkOn-chainEVM L1s & L2s
API3On-chain dAPIsEthereum, Arbitrum, Base, Polygon, others
RedStoneAPI / On-chainEVM L1s & L2s
DIAAPI / On-chainEVM L1s & L2s
WINkLinkOn-chainTRON
SupraAPI / On-chainEVM, Move, Cosmos ecosystems
TWAPOn-chainDEX TWAP oracles
ReflectorOn-chainStellar / Soroban
FlareOn-chainFlare Network
SwitchboardAPI / On-chainEVM, Solana, Sui, Aptos (Crossbar)

On-chain verification

Every on-chain feed includes contract addresses and explorer links so you can verify the source directly. API feeds are labeled as API Verified and include the source display name.

Developer Resources

Integration guides, code examples, and answers to common questions.

API Reference

Programmatic access to oracle prices, history, and batch queries with API keys.

Learn More

Guard SDK

Add two-sided pre-trade gates, Oracle Watch halt handling, and verified execution receipts to a DeFi agent.

Learn More

Receipt Verifier

Verify pre-trade and execution receipts locally — published on npm as verify-insight-receipt (v0.2.0). No API key, database access, or dependency on Insight being online.

Learn More

AI / MCP Server

Connect AI agents like Claude and Cursor via the Model Context Protocol — with pre-trade oracle safety checks and the always-on Oracle Watch signal.

Learn More

Code Examples

View data fetching and analysis examples in JavaScript and TypeScript.

Learn More

FAQ

Common developer questions about symbols, providers, and historical data.

Learn More

Frequently Asked Questions

We support 10 oracle providers: chainlink, api3, redstone, dia, winklink, supra, twap, reflector, flare, and switchboard. Each provider supports different blockchains and trading pairs.

We support 4 consensus methods: median, trimmed_mean, weighted_median, and iqr_filtered. The best method is auto-selected based on data characteristics.

Symbols containing "/" must be URL-encoded. For example, BTC/USD should be sent as BTC%2FUSD in the URL path.

Historical data is provider-specific and cannot be aggregated across oracles. You must specify which oracle provider to query, e.g., ?provider=chainlink.

The verifier is published on npm as verify-insight-receipt (v0.2.0): run npm install verify-insight-receipt, then call verifyReceipt(), verifyExecutionReceipt(), or verifyExecutionPair(). It recomputes the EIP-712 hashes and recovers signers locally without an API key, database access, or network request. Pass the published oracle-keys.json document separately when you also want key-window status. You can also install directly from the repository verifier/ directory.