Parameters#
| Name | Type | Description |
|---|---|---|
symbol | string, required | NVDA, SPY or TSLA (NVDAx and wNVDAx forms accepted) |
Request#
The first call answers 402; pay and repeat it. See How x402 payments work.
curl -i "https://api.roundlot.0xo.in/v1/session?symbol=SPY"
Response#
Read on 25 Sep 2026 at 03:54 UTC, overnight in New York:
JSON
{
"symbol": "SPY",
"underlying": "SPDR S&P 500 ETF Trust",
"usEquityMarket": {
"phase": "closed", "reason": "overnight",
"nowNewYork": "2026-09-24 23:54 ET",
"nextOpen": "2026-09-25T13:30:00.000Z",
"nextClose": "2026-09-25T20:00:00.000Z",
"earlyClose": false
},
"okx": { "instId": "XSPY-USDT", "state": "live", "tradesAroundTheClock": true,
"pricing": "last close plus market estimate" },
"token": { "address": "0x90a2a4c76b5d8c0bc892a69ea28aa775a8f2dd48", "paused": false,
"multiplier": 1.005714560286254, "pendingMultiplier": null },
"onchain": { "pool": "0x07c40850D14064D20eB0AfDEf9574675392f2c11", "inRangeLiquidity": true, "tradable": true },
"warnings": ["US market is not in regular hours: OKX prices are last close plus a market estimate, not a live underlying price."],
"data": { "network": "eip155:196" }
}
Phases, hours and holidays are in Market sessions.
Errors#
| Code | HTTP | When |
|---|---|---|
invalid_input | 400 | symbol is missing; no payment is asked for |
unknown_symbol | 400 | The symbol isn't NVDA, SPY or TSLA |
rate_limited | 429 | More than 60 requests a minute from your IP |
payments_unavailable | 503 | The facilitator isn't reachable; the free catalog still works |
upstream_error | 502 | X Layer RPC or OKX market data failed; try again |
None of these are charged.