# AgentFeed Tokenized Stock Peg by Trading Session

> AgentFeed Tokenized Stock Peg by Trading Session is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-01).

Returns tokenized equity peg deviation broken down by trading session (open, premarket, afterhours, overnight, weekend) with mean, p95, max bps and median liquidity per session, plus worst off-hours window flagged.

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/peg-sessions?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-tokenized-stock-peg-by-trading-session-bbbae251
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MAsmsX1GQK-fpdTdiT1cG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentfeed-tokenized-stock-peg-by-trading-session-bbbae251
```

Example prompt: Pull the peg deviation breakdown for MSTRx across all trading sessions — premarket, afterhours, overnight, and weekend — over the last 14 days, and tell me which off-hours window is the worst.

## When to prefer this

Choose this endpoint when you need to understand how a tokenized equity's on-chain price tracks its real-world reference price across different trading sessions, particularly to identify which off-hours windows carry the most peg risk or liquidity degradation. Prefer it over simple spot-peg endpoints when session-level granularity (premarket, afterhours, overnight, weekend) and statistical depth (mean, p95, max bps) matter — e.g. for trading-bot risk calibration, due diligence on tokenized stock venues, or alerting on session-specific peg breakdown.

## Known failure modes

- Missing or invalid symbol returns an error — symbol must be a recognized tokenized equity ticker like CRCLx, MSTRx, COINx
- Days parameter out of 1-30 range may return a validation error or be clamped to defaults
- Symbol not tracked on-chain returns no data or an empty sessions object
- Payment not processed (x402 flow) results in unpaid/unauthorized response
- Insufficient on-chain data for the requested lookback window may return partial session stats or a note explaining gaps

## How this service works

Tokenized stock peg by trading session: deviation broken out across open, premarket, afterhours, overnight and weekend — mean, p95, max bps and median liquidity each, with the worst off-hours window flagged. Market-open acts as the control.

## Output

Returns a structured object containing the equity symbol, lookback window in days, per-session statistics (mean, p95, max bps deviation and median liquidity) for market-open, premarket, afterhours, overnight, and weekend, the open-vs-offhours ratio, and the worst off-hours session flagged by name, plus a status and optional note.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "days": {
       "type": "number",
       "description": "lookback 1-30, default 7"
      },
      "symbol": {
       "type": "string",
       "description": "Tokenized equity symbol e.g. CRCLx, MSTRx, COINx"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "note": {
         "type": "string"
        },
        "status": {
         "type": "string"
        },
        "symbol": {
         "type": "string"
        },
        "sessions": {
         "type": "object"
        },
        "window_days": {
         "type": "number"
        },
        "open_vs_offhours_ratio": {
         "type": "number"
        },
        "worst_offhours_session": {
         "type": "string"
        }
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "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…",
   "status": "ok",
   "symbol": "CRCLx",
   "sessions": {
    "open": {
     "n": 390,
     "max_abs_bps": 52.7,
     "p50_abs_bps": 7.6,
     "p95_abs_bps": 27.7,
     "mean_abs_bps": 10.3,
     "pct_over_100bps": 0,
     "pct_over_200bps": 0,
     "median_liquidity_usd": 2728225
    },
    "overnight": {
     "n": 480,
     "max_abs_bps": 381,
     "p50_abs_bps": 61.4,
     "p95_abs_bps": 315.4,
     "mean_abs_bps": 105,
     "pct_over_100bps": 36,
     "pct_over_200bps": 20.8,
     "median_liquidity_usd": 2728721
    },
    "premarket": {
     "n": 330,
     "max_abs_bps": 583.7,
     "p50_abs_bps": 58.1,
     "p95_abs_bps": 531.4,
     "mean_abs_bps": 141.2,
     "pct_over_100bps": 37.3,
     "pct_over_200bps": 24.5,
     "median_liquidity_usd": 2737692
    },
    "afterhours": {
     "n": 240,
     "max_abs_bps": 339,
     "p50_abs_bps": 41.4,
     "p95_abs_bps": 205.5,
     "mean_abs_bps": 54.8,
     "pct_over_100bps": 8.8,
     "pct_over_200bps": 6.3,
     "median_liquidity_usd": 2733917
    }
   },
   "window_days": 7,
   "open_vs_offhours_ratio": 19.2,
   "worst_offhours_session": "premarket"
  },
  "paid": true,
  "tool": "get_peg_sessions"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfeed-tokenized-stock-peg-by-trading-session-bbbae251/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ochinimus.app](https://www.zero.xyz/host/x402.ochinimus.app/llms.txt)
