{"uid":"cap_xWtQ0Si9SMzq2nyk0FnwO","slug":"laevitas-historical-options-open-interest-by-strike-9a984955","name":"Laevitas Historical Options Open Interest by Strike","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\nData and history endpoints also accept x402 without an API key: 1, 5 or 10 credits ($0.001 each) for data up to 1 year, 1–3 years or older.\n\n**Subscriptions with USDC:** Premium and Enterprise can be purchased on Base or Solana for a month, a quarter, six months or a year. Access is prepaid, with no automatic renewal. [Buy a subscription](https://v3.laevitas.ch/profile/subscription/wallet) or read the [USDC subscription guide](/x402#subscriptions).\n\nThe subscription belongs to your signed-in Laevitas account; wallet sign-in does not require an email. Enterprise users generate an API key in V3 after activation. Plan and billing-period limits still apply. Subscription purchases are separate from API credit bundles.\n\nFor Claude MCP, add `https://apiv2.laevitas.ch/api/v1/mcp`, select **Sign in now → Register automatically**\nwith no custom headers, and authorize with your API key on the Laevitas page.\nDo not enter a client ID or secret manually. All OAuth clients require PKCE S256.\nConnection guide: [MCP setup](/mcp). CIMD / published client identity is not supported.\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| Options Backtests | Strategy templates, asynchronous submission, status, combined results, cancellation |\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\nBacktests are asynchronous jobs, not paginated market-data queries. Start with\n`GET /api/v1/options/backtests/strategies`, submit with `POST /api/v1/options/backtests`,\nthen poll `/{id}` and retrieve `/{id}/result`. These responses have no data/meta wrapper.\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/historical/options/oi_strike/%7Bmarket%7D/%7Bcurrency%7D/%7Bmaturity%7D?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["date_h"],"properties":{"date_h":{"type":"string","description":"YYYY-MM-DDTHH in UTC. Sums all observations of this hour; returns a bare strike-sorted array, no paging."}}},"responseSchema":{"type":"array","items":{"type":"object","required":["strike","c","p","notional_c","notional_p"],"properties":{"c":{"type":"number","nullable":true,"description":"Call quantity: sum of retained open interest or volume observations over the selected hour. Repeated observations are included; this is not a single-instant OI snapshot or unique traded volume."},"p":{"type":"number","nullable":true,"description":"Put quantity: same hour-summed observation rule as c, in retained source quantity units."},"strike":{"type":"number","nullable":true,"description":"Option strike price in the underlying reference quote currency."},"notional_c":{"type":"number","nullable":true,"description":"Call quantity times underlying reference price, summed over the selected hour, in USD-equivalent units. Not option premium value. Volume quantities are converted from contracts to base units where required before valuation. Null if any contributing positive quantity lacks a valid reference price; zero quantity retains zero. Independent of premium availability."},"notional_p":{"type":"number","nullable":true,"description":"Put quantity times underlying reference price, summed over the selected hour, in USD-equivalent units. Not option premium value. Volume quantities are converted from contracts to base units where required before valuation. Null if any contributing positive quantity lacks a valid reference price; zero quantity retains zero. Independent of premium availability."}},"additionalProperties":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zs24fVOC1P82UOoXhF7jd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns hour-aggregated call and put open interest (or volume) quantities sorted by strike price for a specific crypto options market, currency, and maturity.","exampleAgentPrompt":"Pull the historical options open interest by strike for BTC on Deribit, for the 28 March 2025 expiry, for the hour starting 2025-03-28T08 UTC — I want to see how calls and puts were distributed across strikes.","exampleUseCases":[{"title":"Pre-expiry strike concentration analysis","prompt":"Show me the call and put open interest distribution across all strikes for ETH options on Deribit expiring 27 June 2025, for the hour 2025-06-27T08 UTC — I want to see where most of the notional was concentrated before expiry."},{"title":"Gamma wall identification for trading desk","prompt":"Fetch the BTC options OI by strike on Deribit for the 30 May 2025 expiry at 2025-05-29T20 UTC — I need to identify the largest gamma walls and key strike clusters heading into expiry."},{"title":"Historical put-call OI skew research","prompt":"Get me the historical open interest by strike for SOL options, all maturities, on a specific exchange for 2025-01-10T14 UTC so I can compare put vs call notional concentration at various strikes."}],"resultDescription":"An array of objects sorted by strike price, each containing the strike level, summed call quantity (c), summed put quantity (p), call notional in USD (notional_c), and put notional in USD (notional_p) — all aggregated over observations within the specified UTC hour. Null values appear when reference price data is unavailable for notional conversion.","failureModes":["Invalid or unsupported market/currency/maturity combination returns empty array or 404","date_h formatted incorrectly (not YYYY-MM-DDTHH) causes validation error","Requesting data older than subscription tier allows returns 402 or access denied","No data available for the requested hour returns an empty array","Missing required date_h field causes 400 bad request","API key absent or invalid returns 401 unauthorized"],"whenToPreferThis":"Use this endpoint when you need strike-level granularity of options open interest (or volume) for a specific expiry and hour, particularly for gamma exposure analysis, max pain calculations, or historical strike distribution research. Prefer this over aggregate OI endpoints when you need the full cross-section of strikes rather than a single summary metric.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:39:13.010Z","isFirstParty":false,"canonicalSlug":"laevitas-historical-options-open-interest-by-strike-9a984955"}