xstock_sessions
Use this when your agent needs the overnight (close to next open) versus regular-session (open to close) return split for US stocks that trade as Solana tokens (xStocks, Ondo, Backpack), e.g. to price or study isolated-exposure / overnight tokens. Returns official daily open and close, overnight, session and close-to-close returns, summary stats (means, cumulative, overnight share of absolute move) and, on days falcon.sol captured them, the on-chain token price of each issuer mint at the prior close and the open with basis vs the official print. 20 tracked tickers incl. SPY, QQQ, AAPL, NVDA, TSLA. Optional ticker (else a one-line summary per ticker) and days (1 to 90, default 20). The response states how many days of official and on-chain history exist. Invalid input returns HTTP 400 and is not charged. Descriptive data only, not advice. Costs $0.009 USDC (9000 base units) via x402. The same price is charged for HTTP GET /xstock/sessions. An unpaid HTTP call returns 402 even when the query is missing or invalid. A signed call with invalid arguments is rejected before settlement and is not charged. A successful result can set cached, stale, and cacheAgeMs. stale true means a previous result was served while a refresh runs or the upstream failed. You are charged only when the tool result is not an error.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "xstock_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| ticker | No |