{"uid":"cap_MAsmsX1GQK-fpdTdiT1cG","slug":"agentfeed-tokenized-stock-peg-by-trading-session-bbbae251","name":"AgentFeed Tokenized Stock Peg by Trading Session","description":"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.","url":"https://x402.ochinimus.app/api/peg-sessions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_j2yo_sOwVDjrWzGERt_rq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Overnight peg risk check before holding","prompt":"I'm thinking of holding CRCLx overnight — can you pull the peg deviation stats for overnight and weekend sessions over the last 7 days and tell me how far off-peg it typically goes?"},{"title":"Afterhours liquidity comparison for tokenized stocks","prompt":"Compare the median liquidity and max peg deviation during afterhours vs market-open for COINx over the past 30 days so I can decide if it's safe to trade outside regular hours."},{"title":"Worst off-hours window alert for trading bot","prompt":"Check MSTRx peg session data for the last 7 days and flag which off-hours window — premarket, afterhours, overnight, or weekend — has the worst deviation from the real stock price, and give me the p95 bps for that session."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:49:31.830Z","isFirstParty":false,"canonicalSlug":"agentfeed-tokenized-stock-peg-by-trading-session-bbbae251"}