# Glassnode Futures Open Interest (x402)

> Glassnode Futures Open Interest (x402) is a paid API for AI agents from x402.glassnode.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns the total amount of funds allocated in open futures contracts for a given crypto asset, optionally filtered by exchange and denominated in USD or native units.

## Facts

- Endpoint: GET https://x402.glassnode.com/v1/metrics/derivatives/futures_open_interest_sum
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glassnode-futures-open-interest-x402-a12f61f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AWFDec0-y9pXJxpvy4zYj

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 glassnode-futures-open-interest-x402-a12f61f7
```

Example prompt: Pull the total futures open interest for BTC from Glassnode across all exchanges in USD for the last 24h interval, returned as JSON.

## When to prefer this

Use this endpoint when you need on-chain-grade, institutional-quality futures open interest data sourced from Glassnode across major exchanges. Prefer this over generic market data APIs when you need per-exchange granularity, native vs USD denomination flexibility, or when building derivatives market analysis pipelines that require Glassnode's data provenance.

## Known failure modes

- Missing required 'a' (asset) parameter returns a 400 error
- Invalid exchange enum value returns a validation error
- Payment not provided or insufficient USDC balance returns 402 Payment Required
- Unsupported asset symbol returns empty data or 404
- Rate limiting or quota exceeded returns 429

## How this service works

Futures Open Interest — The total amount of funds allocated in open futures contracts. Data by Glassnode.

## Output

An array of timestamped data points, each containing a Unix timestamp (t) and the corresponding futures open interest value (v) representing the total value of open futures contracts for the queried asset, exchange, and time period.

## 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",
     "required": [
      "a"
     ],
     "properties": {
      "a": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC, ETH"
      },
      "c": {
       "enum": [
        "native",
        "usd"
       ],
       "type": "string",
       "description": "Currency for denominated values, e.g. usd, native"
      },
      "e": {
       "enum": [
        "aggregated",
        "binance",
        "bitfinex",
        "bitget",
        "bitmex",
        "bybit",
        "coinbase-international",
        "crypto.com",
        "deribit",
        "dydx",
        "ftx",
        "gate.io",
        "huobi",
        "hyperliquid",
        "kraken",
        "kucoin",
        "okex"
       ],
       "type": "string",
       "description": "Exchange name, e.g. binance, coinbase"
      },
      "f": {
       "enum": [
        "csv",
        "json"
       ],
       "type": "string",
       "description": "Response format: json or csv"
      },
      "i": {
       "enum": [
        "24h"
       ],
       "type": "string",
       "description": "Time interval / resolution, e.g. 24h, 1w, 1month"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "t": {
        "type": "number"
       },
       "v": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glassnode-futures-open-interest-x402-a12f61f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.glassnode.com](https://www.zero.xyz/host/x402.glassnode.com/llms.txt)
