# Laevitas Options Current Analytics

> Laevitas Options Current Analytics is a paid API for AI agents from apiv2.laevitas.ch, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-20).

Retrieves real-time crypto options analytics snapshots across dozens of series including term structure, skew, OI, volume, Greeks, and volatility models for a given exchange and currency.

## Facts

- Endpoint: POST https://apiv2.laevitas.ch/api/v1/options/current-analytics?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/laevitas-options-current-analytics-281a4a5f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PUHleLbU-_tBJCRfVb8UE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability laevitas-options-current-analytics-281a4a5f -d '<json body>'
```

Example prompt: Pull the current ATM term structure for BTC options on Deribit from Laevitas so I can see how implied volatility changes across expiries right now.

## When to prefer this

Use this endpoint when you need current (real-time snapshot) options analytics for crypto derivatives — including volatility surfaces, Greeks, OI/volume distributions, skew, term structure, and strategy flow — from professional-grade proprietary Laevitas data. Prefer it over generic market data APIs when you need derivatives-specific analytics like vol surfaces, skew models, or Greeks aggregated across strikes and expiries rather than raw tick data.

## Known failure modes

- Missing required 'series' field returns validation error
- Invalid exchange name returns empty or error response
- 'basis' param omitted for skew_model or term_structure_model series causes error
- 'hours' param required but missing for OI change series
- 'strike' param missing for strike_iv_by_expiry returns error
- Currency not supported on the selected exchange returns empty data
- Expired or invalid API key returns 401 unauthorized
- Insufficient credits for x402 pay-per-call returns 402 payment required

## How this service works

Professional market data API for crypto derivatives, spot markets, prediction markets, Hyperliquid HyperCore data, proprietary volatility surfaces, and analytics.

## Authentication

Use an API key for authenticated REST requests:

```http
X-API-Key: your-api-key-here
```

Data 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.

**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).

The 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.

For Claude MCP, add `https://apiv2.laevitas.ch/api/v1/mcp`, select **Sign in now → Register automatically**
with no custom headers, and authorize with your API key on the Laevitas page.
Do not enter a client ID or secret manually. All OAuth clients require PKCE S256.
Connection guide: [MCP setup](/mcp). CIMD / published client identity is not supported.

| Resource | Path |
| --- | --- |
| OpenAPI JSON | `GET /openapi.json` |
| x402 discovery | `GET /.well-known/x402` |
| Changelog | `GET /api/v1/changelog` |
| WebSocket docs | `GET /websocket` |

## REST Surfaces

| Surface | Examples |
| --- | --- |
| Instruments | Cross-market contract reference data |
| Futures | OHLCVT, trades, tickers, orderbook, liquidations, carry |
| Perpetuals | OHLCVT, trades, funding, open interest, orderbook, liquidations |
| Options | OHLCVT, trades, Greeks, volatility, flow, dealer GEX |
| Options Backtests | Strategy templates, asynchronous submission, status, combined results, cancellation |
| Vol Surface | Proprietary surface snapshots, slices, strikes, term structure, risk |
| Spot | OHLCVT, ticker, trades, volume, L2 orderbook, snapshots |
| Predictions | Polymarket instruments, categories, trades, ticker history |
| Hyperliquid - HyperCore | Node-derived fills, liquidations, positions, funding, TWAPs, resting orders, L2 books |
| Analytics | Realized volatility and derived metrics |

## Pagination

Backtests are asynchronous jobs, not paginated market-data queries. Start with
`GET /api/v1/options/backtests/strategies`, submit with `POST /api/v1/options/backtests`,
then poll `/{id}` and retrieve `/{id}/result`. These responses have no data/meta wrapper.

Paginated endpoints return the cursor at `meta.next_cursor`. Pass that value back as the `cursor` query parameter to fetch the next page.

## WebSocket Streaming

Real-time streams are documented at `/websocket`.

| Data | Channel pattern |
| --- | --- |
| Trades | `trades.{market}.{exchange}.{instrument}` |
| OHLC ticker | `ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe}` |
| OHLCVT | `ohlc.vt.{market}.{exchange}.{instrument}.{timeframe}` |

Variables: `market` is one of `perpetuals`, `futures`, `options`, or `spot`; `timeframe` is one of `1m`, `5m`, `15m`, `1h`, `4h`, or `1d`.

## Quick Start

```bash
curl "https://apiv2.laevitas.ch/api/v1/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" \
  -H "X-API-Key: your-api-key-here"
```

## Output

Returns a meta object plus a data payload whose structure varies by series: arrays of objects with fields like implied volatility, open interest, volume, Greeks (delta/gamma/vega/theta), strike, expiry, notional, premium, and strategy details — all keyed to the requested series type and time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "series"
 ],
 "properties": {
  "basis": {
   "enum": [
    "strike",
    "delta"
   ],
   "type": "string",
   "description": "Required only for term_structure_model, skew_model and skew_model_time_lapse: strike or delta coordinates."
  },
  "hours": {
   "enum": [
    "1",
    "2",
    "4",
    "8",
    "12",
    "18",
    "24",
    "48",
    "168",
    "336",
    "504",
    "720"
   ],
   "type": "string",
   "description": "Required for instrument_oi_change, oi_change_by_strike and expiry_oi_change. For instrument_oi_change and expiry_oi_change, legacy 720 uses one calendar month (expiry_oi_change accepts 1, 4, 24, 168 or 720); oi_change_by_strike compares that many clock hours back."
  },
  "metric": {
   "enum": [
    "open_interest",
    "volume"
   ],
   "type": "string",
   "description": "Required only for market_breakdown/currency_breakdown; outstanding quantity or source rolling volume."
  },
  "series": {
   "enum": [
    "atm_term_structure",
    "gamma_by_strike",
    "oi_by_expiry",
    "oi_by_strike",
    "oi_by_type",
    "instrument_oi_change",
    "volume_buy_sell",
    "iv_by_strike",
    "iv_table",
    "snapshot",
    "market_breakdown",
    "currency_breakdown",
    "skew_by_strike",
    "atm_iv_by_expiry",
    "oi_change_by_strike",
    "volume_by_strike",
    "volume_by_expiry",
    "top_traded",
    "greeks_by_strike",
    "expiry_summary",
    "options_summary",
    "eth_btc_atm_spread",
    "forward_curve",
    "atm_term_structure_model",
    "atm_term_structure_time_lapse",
    "term_structure_model",
    "skew_model",
    "skew_model_time_lapse",
    "vol_run",
    "expiry_skew",
    "strike_iv_by_expiry",
    "expiry_oi_change",
    "strategy_trade_summary",
    "top_strategies"
   ],
   "type": "string"
  },
  "strike": {
   "type": "number",
   "description": "Required only for strike_iv_by_expiry: the listed strike, in quote currency."
  },
  "currency": {
   "type": "string",
   "description": "Underlying selector; BTC_USDC and BTC are distinct retained source products. Required except for breakdowns; optional for atm_iv_by_expiry and expiry_skew, where omitting it returns every currency of the venue."
  },
  "exchange": {
   "type": "string",
   "description": "Legacy source venue, or aggregate where supported by the family. Omit for market/currency breakdowns."
  },
  "maturity": {
   "type": "string",
   "description": "Listed expiry. Omit to select all for gamma; use one expiry o
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "meta",
  "data"
 ],
 "properties": {
  "data": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "strategy",
       "contracts",
       "total_notional",
       "total_premium",
       "total_premium_usd",
       "net_premium",
       "net_premium_usd",
       "oi_change",
       "delta",
       "gamma",
       "vega",
       "theta"
      ],
      "properties": {
       "vega": {
        "type": "number",
        "nullable": true
       },
       "delta": {
        "type": "number",
        "nullable": true
       },
       "gamma": {
        "type": "number",
        "nullable": true
       },
       "theta": {
        "type": "number",
        "nullable": true
       },
       "strategy": {
        "type": "string",
        "description": "Strategy type, e.g. SHORT_STRADDLE or BULL_CALL_SPREAD_(Calls)."
       },
       "contracts": {
        "type": "number",
        "nullable": true,
        "description": "Total traded quantity of the strategy type."
       },
       "oi_change": {
        "type": "number",
        "nullable": true,
        "description": "Net open-interest change of the traded instruments."
       },
       "net_premium": {
        "type": "string",
        "description": "Net premium paid (db.) or received (cr.), in coin and USD, as display text."
       },
       "total_premium": {
        "type": "number",
        "nullable": true,
        "description": "Total premium in the option premium currency."
       },
       "total_notional": {
        "type": "number",
        "nullable": true,
        "description": "Total notional in USD."
       },
       "net_premium_usd": {
        "type": "number",
        "nullable": true,
        "description": "Sum of each strategy trade’s absolute net premium in USD."
       },
       "total_premium_usd": {
        "type": "number",
        "nullable": true,
        "description": "Total premium in USD."
       }
      },
      "additionalProperties": false
     },
     "description": "Deribit strategy types of the last hours ranked by traded quantity; multi-leg strategies unless single legs are requested."
    },
    {
     "type": "object",
     "description": "Deribit strategy trades of the last hours by strategy type; empty when none traded.",
     "additionalProperties": {
      "type": "object",
      "required": [
       "tot_p_usd",
       "tot_p",
       "tot_amnt",
       "tot_not",
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/laevitas-options-current-analytics-281a4a5f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apiv2.laevitas.ch](https://www.zero.xyz/host/apiv2.laevitas.ch/llms.txt)
