{"uid":"cap_7CHe6G1b-bZKpXS4Dz01q","slug":"laevitas-api-v2-expired-futures-discovery-dfa7697a","name":"Laevitas API V2 – Expired Futures 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=expired_futures.","url":"https://apiv2.laevitas.ch/api/v1/market/legacy-discovery?series=expired_futures&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_sSqQmnFkrbt9qvJT7wXBc","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":"Retrieves a paginated historical catalogue of expired futures instruments from a specified exchange and currency within a date range.","exampleAgentPrompt":"Pull a list of expired BTC futures from Deribit for observations between January 1 2024 and March 31 2024 — give me the first 50 results.","exampleUseCases":[{"title":"Expired futures back-testing data","prompt":"I need all expired ETH futures contracts on Deribit that were active between July 2023 and December 2023 — give me page 1 with 100 results so I can build a back-testing dataset."},{"title":"Cross-exchange expired futures audit","prompt":"Can you pull a list of expired BTC futures on Bybit for observations from January 2024 through June 2024? I want to verify which contracts settled during that period."},{"title":"Historical futures instrument inventory","prompt":"Get me the full catalogue of expired SOL futures on Binance from Q1 2024 — start date January 1 2024, end date March 31 2024, limit 50 per page — so I can track which contracts were live and when."}],"resultDescription":"A paginated JSON object containing a 'series' identifier, an 'items' array of expired futures instrument records (each with at minimum the source observation date plus any projected fields), and a 'meta' object with pagination info (page, limit, total, total_pages), generation timestamp, date_basis, and a historical_catalogue boolean confirming the retained source window was used.","failureModes":["Missing required 'start' or 'end' parameters returns a validation error","Invalid or unsupported exchange name returns an error or empty result","Date range outside retained source window returns empty items with historical_catalogue=false","Invalid currency selector returns empty items","Exceeding plan limits or expired subscription returns 402 or 401","Malformed date strings cause a 400 validation error","Very large page numbers beyond total_pages return empty items arrays"],"whenToPreferThis":"Use this endpoint when you need a historical inventory of expired (already-settled) futures contracts for a specific exchange and currency within a defined observation date window. It is the correct choice over live instrument endpoints when the research concern is back-testing, settlement auditing, or reconstructing what futures were trading in the past. Prefer it over option-series endpoints (option_maturities, option_instruments) when your focus is futures rather than options.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:51:29.061Z","isFirstParty":false,"canonicalSlug":"laevitas-api-v2-expired-futures-discovery-dfa7697a"}