{"uid":"cap_GZEYs-WKczypwzws2IwYB","slug":"laevitas-api-v2-option-maturities-discovery-cf245885","name":"Laevitas API V2 – Option Maturities Discovery","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```\n\nThis capability is scoped to series=option_maturities.","url":"https://apiv2.laevitas.ch/api/v1/market/legacy-discovery?series=option_maturities&utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["series"],"properties":{"end":{"type":"string","description":"Required for expired_futures. Inclusive source observation bound."},"page":{"type":"integer"},"limit":{"type":"integer"},"start":{"type":"string","description":"Required for expired_futures. Inclusive source observation bound, not expiry date."},"fields":{"type":"array","description":"Optional expired_futures projection. Source observation date is always present."},"series":{"enum":["option_maturities","option_instruments","derivative_instruments","option_settlements","spot_pairs","expired_futures"],"type":"string"},"currency":{"type":"string","description":"Underlying selector. BTC and BTC_USDC remain distinct on Deribit options."},"exchange":{"type":"string","description":"Required except for derivative_instruments. option_settlements supports Deribit and Bybit."},"maturity":{"type":"string","description":"Exact expiry DMMMYY, or all; only option_instruments/option_settlements."},"option_type":{"enum":["C","P"],"type":"string","description":"Call or put, only option_instruments."}}},"responseSchema":{"type":"object","required":["series","items","meta"],"properties":{"meta":{"type":"object","required":["generated_at","date_basis","historical_catalogue","total"],"properties":{"page":{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true},"limit":{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true},"total":{"type":"integer","maximum":9007199254740991,"minimum":0},"date_basis":{"enum":["response_generation","source_last_update"],"type":"string"},"total_pages":{"type":"integer","maximum":9007199254740991,"minimum":0},"generated_at":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"UTC Unix seconds. Source last update for live series; response-generation minute for current discovery."},"historical_catalogue":{"type":"boolean","description":"Only expired_futures reads the requested retained source window. Other series do not certify complete historical instrument coverage."},"settlement_catalogue":{"type":"object","required":["version","source_checked_at","inventory_scope","latest_expiry","status","missing_delivery_price_count","completeness_certified","returned_rows_by_source"],"properties":{"status":{"enum":["source_checked","missing_delivery_prices"],"type":"string","description":"Known official delivery-price availability in this selected currency inventory. source_checked does not certify complete exchange coverage."},"version":{"enum":[2],"type":"number"},"latest_expiry":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","nullable":true,"description":"Latest expiry date with a retained settlement row for the selected currency, before any maturity filter. Not the cache publication date or a completeness boundary."},"inventory_scope":{"enum":["retained_deribit_option_metadata"],"type":"string","description":"Recovery inventory is retained Deribit option metadata, not a complete exchange-history inventory."},"source_checked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Time the source catalogue refresh checked its inputs. Distinct from latest_expiry; not a guarantee of completeness."},"completeness_certified":{"enum":[false],"type":"boolean"},"returned_rows_by_source":{"type":"object","required":["exchange_delivery_event","delivery_price_reconstruction","unclassified_retained"],"properties":{"unclassified_retained":{"type":"integer","maximum":9007199254740991,"minimum":0},"exchange_delivery_event":{"type":"integer","maximum":9007199254740991,"minimum":0},"delivery_price_reconstruction":{"type":"integer","maximum":9007199254740991,"minimum":0}},"description":"Counts for returned rows after the optional maturity filter, not global catalogue counts.","additionalProperties":false},"missing_delivery_price_count":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Known inventory instruments in the selected currency lacking an official delivery price; no synthetic zero row is created for them."}},"description":"Optional source-check metadata for refreshed Deribit settlements. Absent on older catalogue documents; absence does not certify completeness.","additionalProperties":false}},"additionalProperties":false},"items":{"type":"array","items":{"anyOf":[{"type":"string","description":"Source listed expiry label; current snapshot only, not all retained expiries."},{"type":"object","required":["market","currency","maturity","strike","option_type","instrument"],"properties":{"market":{"type":"string"},"strike":{"type":"number","nullable":true},"currency":{"type":"string"},"maturity":{"type":"string"},"instrument":{"type":"string"},"option_type":{"enum":["C","P"],"type":"string"}},"additionalProperties":false},{"type":"object","required":["market","type","currency","instrument","expiry"],"properties":{"type":{"enum":["future","perpetual","option"],"type":"string"},"expiry":{"type":"string","nullable":true},"market":{"type":"string"},"currency":{"type":"string"},"instrument":{"type":"string"}},"additionalProperties":false},{"type":"object","required":["Date","Strike","OptionType","mark_price","mark_price_usd","position","index_price"],"properties":{"Date":{"type":"string","description":"Listed expiry date, DMMMYY; not collection time."},"Strike":{"type":"number","nullable":true,"description":"Exercise price in the option underlying quote convention."},"position":{"type":"number","nullable":true,"description":"Source retained position quantity; not trade count or USD notional. Null when unavailable, including delivery-price reconstructions."},"OptionType":{"type":"string","description":"Source call/put label, preserved without recoding."},"mark_price":{"type":"number","nullable":true,"description":"Source expiry option price per underlying unit, in the instrument settlement currency."},"provenance":{"oneOf":[{"type":"object","required":["source","instrument_name","position_status","event_timestamp_ms"],"properties":{"source":{"enum":["exchange_delivery_event"],"type":"string"},"instrument_name":{"type":"string","pattern":"^[A-Z0-9]+(?:_USDC)?-\\d{1,2}[A-Z]{3}\\d{2}-\\d+(?:d\\d+)?-[CP]$","maxLength":160},"position_status":{"enum":["observed","unavailable"],"type":"string"},"event_timestamp_ms":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Exchange delivery-event timestamp in Unix milliseconds UTC; not the API cache publication time.","exclusiveMinimum":true}},"additionalProperties":false},{"type":"object","required":["source","instrument_name","position_status","delivery_index","delivery_date","price_basis"],"properties":{"source":{"enum":["delivery_price_reconstruction"],"type":"string"},"price_basis":{"enum":["contractual_intrinsic_per_base_unit"],"type":"string"},"delivery_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"delivery_index":{"type":"string","pattern":"^[a-z0-9]+_(usd|usdc)$","maxLength":80},"instrument_name":{"type":"string","pattern":"^[A-Z0-9]+(?:_USDC)?-\\d{1,2}[A-Z]{3}\\d{2}-\\d+(?:d\\d+)?-[CP]$","maxLength":160},"position_status":{"enum":["unavailable"],"type":"string"}},"additionalProperties":false}],"description":"Available on refreshed Deribit rows. Exchange-reported delivery versus contractual payout reconstructed from the official delivery index. Reconstruction does not recover position quantity. Missing provenance means older retained data, not certified exchange-event provenance."},"index_price":{"type":"number","nullable":true,"description":"Source expiry index reference; quote units per underlying unit."},"mark_price_usd":{"type":"number","nullable":true,"description":"Source USD value of that option price."}},"additionalProperties":false},{"type":"string","description":"Exact pair key from the current source document; casing and punctuation are preserved."},{"type":"object","required":["date"],"properties":{"date":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"UTC Unix milliseconds of the latest retained observation in the requested source window. Not the contract expiry or publication time."},"index":{"type":"number","nullable":true},"price":{"type":"number","nullable":true},"symbol":{"type":"string"},"volume":{"type":"number","nullable":true},"open_interest":{"type":"number","nullable":true}},"additionalProperties":false}]}},"series":{"enum":["option_maturities","option_instruments","derivative_instruments","option_settlements","spot_pairs","expired_futures"],"type":"string"}},"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_UO5JP640OWag3AFVOn83G","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 the list of active option expiry/maturity dates available for a given exchange and underlying currency in crypto derivatives markets.","exampleAgentPrompt":"Can you pull all the active option maturity dates for BTC on Deribit from Laevitas so I can see which expiries are currently available to trade?","exampleUseCases":[{"title":"Pre-trade options expiry research","prompt":"Show me all the available option expiry dates for BTC on Deribit right now — I want to know which maturities I can currently trade."},{"title":"ETH options calendar on Bybit","prompt":"What option maturities are live for ETH on Bybit? I need the full list of expiry dates so I can plan my options strategy."},{"title":"Cross-exchange expiry comparison","prompt":"Get me the active option expiry dates for BTC on both Deribit and Bybit — I want to compare which maturities each exchange offers."}],"resultDescription":"Returns a paginated list of active option maturity/expiry date labels (in DMMMYY format) for the specified exchange and underlying currency, along with metadata including total count, page info, the timestamp of last source update, and whether the data is a historical catalogue.","failureModes":["Missing required 'exchange' field returns validation error","Invalid or unsupported currency/exchange combination returns empty items list","Invalid series value returns 400 bad request","Pagination beyond total_pages returns empty items","API key missing or invalid returns 401/402 payment required","Rate limit exceeded returns 429"],"whenToPreferThis":"Use this endpoint when you need to enumerate all currently active option expiry dates for a specific exchange and underlying asset before querying option instruments, pricing, or analytics. It is the canonical discovery step for option maturities in the Laevitas ecosystem and should be called before fetching option_instruments or option_settlements to determine valid maturity values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:39:47.536Z","isFirstParty":false,"canonicalSlug":"laevitas-api-v2-option-maturities-discovery-cf245885"}