80trust / 100

Peg Sessions

by AgentFeed in Markets & finance

x402 APIPassing, checked 5 h ago

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. Use when you need to answer: When in the trading day does the peg break worst? Market-open acts as the control.

GET
https://x402.ochinimus.app/api/peg-sessions
Price
$0.015
per call in USDC
Uptime
100%
last 30 days
Response time
182 ms
423 ms slowest 5%
Last check
Passed
5 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

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

Each call costs $0.015 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://x402.ochinimus.app/api/peg-sessions?symbol=CRCLx

Parameters

ParameterTypeRequiredDescription
daysnumberNolookback 1-30, default 7
symbolstringYesTokenized equity symbol e.g. CRCLx, MSTRx, COINx

Example response

The provider's example. We can't check it without paying.

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

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.015.

The code pays $0.015 in USDC on Base instead: it uses a payment scheme other than exact, which needs a different client setup.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://x402.ochinimus.app/api/peg-sessions?symbol=CRCLx'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://x402.ochinimus.app/api/peg-sessions?symbol=CRCLx' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.015 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.015" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.015 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Fpeg-sessions
const res = await pay("https://x402.ochinimus.app/api/peg-sessions?symbol=CRCLx");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.015 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.015"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://x402.ochinimus.app/api/peg-sessions?symbol=CRCLx")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
5 h agoPassed402224 ms$0.015
9 h agoPassed402185 ms$0.015
14 h agoPassed402309 ms$0.015
19 h agoPassed402423 ms$0.015
24 h agoPassed402198 ms$0.015
Show 10 older checks
28 h agoPassed402163 ms$0.015
33 h agoPassed402163 ms$0.015
37 h agoPassed402255 ms$0.015
41 h agoPassed402272 ms$0.015
45 h agoPassed402225 ms$0.015
2 days agoPassed402184 ms$0.015
2 days agoPassed402185 ms$0.015
2 days agoPassed4024.0 s$0.015
3 days agoPassed402227 ms$0.015
3 days agoPassed402182 ms$0.015

History

12 Oct 2026Price changed from $0.03 to $0.015