82trust / 100

Peg Deviation

by AgentFeed in Onchain & crypto

x402 APIPassing, checked 27 min ago

Tokenized stock peg deviation on Solana: the on-chain DEX price of a tokenized US equity versus the underlying's last real trade, in bps, with 24h stats split into market-open and off-hours. Use when you need to answer: How far is a tokenized stock trading from its underlying? Sampled every 5 minutes by our own collector.

GET https://x402.ochinimus.app/api/peg-deviation

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
65 ms typical, 65 ms slowest 5%
Last check
27 min ago
Next check
in 2 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/peg-deviation?symbol=CRCLx"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Fpeg-deviation
const res = await pay("https://x402.ochinimus.app/api/peg-deviation?symbol=CRCLx");
console.log(await res.json());

Example input

{
  "symbol": "CRCLx"
}

Example output

{
  "data": {
    "latest": {
      "deviation_bps": 10.2,
      "dex": "raydium",
      "direction": "premium",
      "iso": "2026-09-25T16:51:22.000Z",
      "liquidity_usd": 2553105,
      "onchain": 88.71,
      "reference": 88.62,
      "session": "open",
      "ts": 1790355082
    },
    "market_open": {
      "max_abs_bps": 52.7,
      "mean_abs_bps": 12.9,
      "n": 78,
      "p50_abs_bps": 11,
      "p95_abs_bps": 30.2,
      "pct_over_100bps": 0,
      "pct_over_200bps": 0
    },
    "note": "Deviation is measured against the underlying's last real trade. Outside US market hours that is the last print before the close, not a live quote.",
    "offhours": {
      "max_abs_bps": 125.8,
      "mean_abs_bps": 40,
      "n": 210,
      "p50_abs_bps": 38.7,
      "p95_abs_bps": 86,
      "pct_over_100bps": 1.9,
      "pct_over_200bps": 0
    },
    "status": "ok",
    "symbol": "CRCLx",
    "window": {
      "max_abs_bps": 125.8,
      "mean_abs_bps": 32.7,
      "n": 288,
      "p50_abs_bps": 29,
      "p95_abs_bps": 76.4,
      "pct_over_100bps": 1.4,
      "pct_over_200bps": 0
    },
    "window_hours": 24
  },
  "paid": true,
  "tool": "get_peg_deviation"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
27 min agoPassed40266 ms$0.02
6 h agoPassed40265 ms$0.02