{"uid":"cap_SiHoyP8i_k_gf-0ADB17u","slug":"laevitas-websocket-day-pass-purchase-e48ee46c","name":"Laevitas WebSocket Day Pass (x402)","description":"Professional market data API for crypto derivatives, spot markets, prediction markets, Hyperliquid HyperCore data, proprietary volatility surfaces, and analytics.\n\n## Authentication\n\nUse an API key for authenticated REST requests:\n\n```http\nX-API-Key: your-api-key-here\n```\n\nMost data endpoints also support x402 pay-per-request without an API key.\n\n| Resource | Path |\n| --- | --- |\n| OpenAPI JSON | `GET /openapi.json` |\n| x402 discovery | `GET /.well-known/x402` |\n| Changelog | `GET /api/v1/changelog` |\n| WebSocket docs | `GET /websocket` |\n\n## REST Surfaces\n\n| Surface | Examples |\n| --- | --- |\n| Instruments | Cross-market contract reference data |\n| Futures | OHLCVT, trades, tickers, orderbook, liquidations, carry |\n| Perpetuals | OHLCVT, trades, funding, open interest, orderbook, liquidations |\n| Options | OHLCVT, trades, Greeks, volatility, flow, dealer GEX |\n| Vol Surface | Proprietary surface snapshots, slices, strikes, term structure, risk |\n| Spot | OHLCVT, ticker, trades, volume, L2 orderbook, snapshots |\n| Predictions | Polymarket instruments, categories, trades, ticker history |\n| Hyperliquid - HyperCore | Node-derived fills, liquidations, positions, funding, TWAPs, resting orders, L2 books |\n| Analytics | Realized volatility and derived metrics |\n\n## Pagination\n\nPaginated endpoints return the cursor at `meta.next_cursor`. Pass that value back as the `cursor` query parameter to fetch the next page.\n\n## WebSocket Streaming\n\nReal-time streams are documented at `/websocket`.\n\n| Data | Channel pattern |\n| --- | --- |\n| Trades | `trades.{market}.{exchange}.{instrument}` |\n| OHLC ticker | `ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe}` |\n| OHLCVT | `ohlc.vt.{market}.{exchange}.{instrument}.{timeframe}` |\n\nVariables: `market` is one of `perpetuals`, `futures`, `options`, or `spot`; `timeframe` is one of `1m`, `5m`, `15m`, `1h`, `4h`, or `1d`.\n\n## Quick Start\n\n```bash\ncurl \"https://apiv2.laevitas.ch/api/v1/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL\" \\\n  -H \"X-API-Key: your-api-key-here\"\n```","url":"https://apiv2.laevitas.ch/api/v1/x402/ws-pass/day","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"wallet":"0x...","duration":"day","expires_at":1730498745678,"expires_at_iso":"2026-05-01T18:25:45.678Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10","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":"$10/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_42zc3Gue-29WF7ZI6WQpM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchase a 24-hour WebSocket access pass for Laevitas crypto derivatives and market data streams via x402 pay-per-request payment","exampleAgentPrompt":"I want to stream real-time crypto derivatives data from Laevitas today — can you pay for a day WebSocket pass using x402 so I can access their options, futures, and vol surface feeds?","exampleUseCases":[{"title":"Monitor liquidations across crypto exchanges","prompt":"Set up a real-time feed to watch liquidations happening on Deribit and Hyperliquid right now — can you grab a 24-hour WebSocket pass so I can stream that data continuously?"},{"title":"Track options Greeks and volatility surfaces","prompt":"I need to monitor implied volatility and Greeks across option expirations today. Can you purchase a day pass to Laevitas WebSocket so I can stream their volatility surface and options flow data?"},{"title":"Build a live trading analytics dashboard","prompt":"Help me build a dashboard that pulls live OHLC, funding rates, and orderbook snapshots from multiple crypto futures exchanges. Can you buy a 24-hour WebSocket pass so the data keeps flowing without interruption?"}],"resultDescription":"Returns a JSON object containing the wallet address used for payment, the pass duration ('day'), a Unix timestamp indicating when the pass expires, and an ISO 8601 expiry datetime string. The pass grants WebSocket access to Laevitas market data streams for 24 hours.","failureModes":["Payment not received or insufficient — pass not issued, payment error returned","Invalid or malformed x402 payment — 402 or 400 error returned","Pass already active for wallet — duplicate request rejected","Server error during pass generation — 500 response","Expired or replayed payment proof — authentication failure"],"whenToPreferThis":"Use this endpoint when you need real-time streaming access to Laevitas crypto derivatives, options Greeks, volatility surfaces, or HyperCore data via WebSocket and prefer pay-per-request x402 micropayments over a long-term API key subscription. Ideal for one-off or infrequent streaming sessions where a daily pass is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:48.733Z","isFirstParty":false}