GET /api/v1/tracker/realtime/sessionEndpoints
Realtime session
Mint a short-lived WebSocket session for live updates on your tracked wallets.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Mint a short-lived WebSocket session for live updates on your tracked wallets.
GET /api/v1/tracker/realtime/session| Query | Default | Notes |
|---|---|---|
group | — | Scope the session to a tracker group. |
curl "https://www.oceanx.trade/api/v1/tracker/realtime/session" \
-H "Authorization: Bearer $OCEANX_API_KEY"
{
"wsUrl": "wss://stream.oceanx.trade/wallet/track/ws?ticket=…&wallets=5Q54…e4j1,9aB…",
"wallets": ["5Q54…e4j1", "9aB…"],
"expiresInSeconds": 60
}
{
"wsUrl": "",
"wallets": [],
"expiresInSeconds": 0,
"message": "No tracked wallets in this view yet. Track a wallet first, then open a session."
}
wsUrl (and its ticket) is valid for ~60 seconds — open it promptly.