# BTC & ETH Options Open Interest by Expiry (Deribit)

> BTC & ETH Options Open Interest by Expiry (Deribit) is a paid API for AI agents from nonvisceral-eloisa-mousily.ngrok-free.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns per-expiry call OI, put OI, total OI, put/call ratio, strike counts, and max-strike data for BTC and ETH options sourced from Deribit's public book summary.

## Facts

- Endpoint: GET https://nonvisceral-eloisa-mousily.ngrok-free.dev/api/options-oi-expiry
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-eth-options-open-interest-by-expiry-deribit-3106da8e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w-yErEYqMkQFXikQwX3Fn

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 btc-eth-options-open-interest-by-expiry-deribit-3106da8e
```

Example prompt: Pull the current BTC and ETH options open interest broken down by expiry from Deribit — I want to see call OI, put OI, put/call ratios, and which strikes have the most open interest for each expiry date.

## When to prefer this

Choose this endpoint when you need structured, per-expiry options open interest analytics for BTC or ETH sourced from Deribit without building your own aggregation layer. It is ideal for volatility regime inference, strike pin risk assessment, and dealer gamma exposure signals. Prefer this over raw Deribit API access when you want pre-computed put/call ratios and max-strike summaries in a single call. Best suited for agents that need actionable options flow signals rather than raw order book data.

## Known failure modes

- Stale data if Deribit public API is unreachable — state_fresh flag will be false and bot_state_age_seconds will be elevated
- Empty or missing per_currency fields if Deribit returns no book summary data
- ngrok tunnel downtime may cause connection refused or 502 errors
- Rate limiting or payment failure for the $0.02 USDC x402 charge may block the request

## How this service works

BTC and ETH options open interest by expiry API from Deribit public book summary. Returns per-expiry call OI, put OI, total OI, put/call ratio, number of strikes, max call strike + OI, and max put strike + OI. Gamma-exposure and options-flow signal for volatility regime, strike-pin risk, and dealer-hedging pressure.

## Output

A JSON object containing per-currency (BTC and ETH) options open interest grouped by expiry date. Each expiry entry includes call OI, put OI, total OI, put/call ratio, number of strikes, max call strike with its OI, and max put strike with its OI. Also includes a source identifier (Deribit), timestamp, freshness flag, and state age in seconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "source": {
       "type": "string"
      },
      "updated_at": {
       "type": "string"
      },
      "state_fresh": {
       "type": "boolean"
      },
      "per_currency": {
       "type": "object",
       "description": "Per-currency options OI grouped by expiry date"
      },
      "bot_state_age_seconds": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-eth-options-open-interest-by-expiry-deribit-3106da8e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nonvisceral-eloisa-mousily.ngrok-free.dev](https://www.zero.xyz/host/nonvisceral-eloisa-mousily.ngrok-free.dev/llms.txt)
