# Gloom Options Gamma Exposure API

> Gloom Options Gamma Exposure API is a paid API for AI agents from api.gloom.sh, paid per call via x402, $1.5/call, status unknown (last checked 2026-11-01).

Returns per-strike gamma exposure (GEX) for options contracts broken down by calls and puts for specified ticker symbols and expiry date.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/options/gamma?utm_source=zero.xyz
- Price: $1.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-options-gamma-exposure-api-eaa13463
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yaayj_hCh9KzOHaLtUeEB

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 gloom-options-gamma-exposure-api-eaa13463
```

Example prompt: Pull the gamma exposure breakdown by strike for AAPL options expiring 2025-01-17 — I need the net, calls, and puts GEX at each strike.

## When to prefer this

Use this endpoint when you need structured, per-strike gamma exposure data for one or more equity option chains at a specific expiry date. It is ideal for building GEX charts, identifying gamma walls, supporting dealer hedging models, or feeding quantitative strategies that rely on market-maker gamma positioning. Prefer this over generic options data feeds when net/calls/puts GEX decomposition is specifically needed.

## Known failure modes

- Missing required query parameters (symbols or expiry) returns a 400 error
- Invalid ticker symbol returns empty data array or error
- Invalid expiry date format returns a 400 or empty response
- Payment not fulfilled (x402 protocol) results in 402 Payment Required before data is returned
- Options data unavailable for far-future or illiquid expiries may return empty data

## How this service works

Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.

## Output

Returns a JSON array of objects, each representing a strike price for the requested symbol(s) and expiry. Each object includes the ticker symbol, strike price, calls gamma exposure value, puts gamma exposure value, and net gamma exposure (calls minus puts). Example: [{symbol: 'AAPL', strike: 500, calls: 3.005, puts: 30.681, net: -27.676}].

## 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": [
      "symbols",
      "expiry"
     ],
     "properties": {
      "expiry": {
       "type": "string"
      },
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "net": -27.6762932999,
    "puts": 30.6814249717,
    "calls": 3.00513167179,
    "strike": 500,
    "symbol": "AAPL"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-options-gamma-exposure-api-eaa13463/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gloom.sh](https://www.zero.xyz/host/api.gloom.sh/llms.txt)
