GEX by strike and expiration
Use signed call and put Gamma Exposure across the full chain without rebuilding strike aggregates in every client.
Preparing your API workspace…
Analyze the full option chain through one symbol-level snapshot: Gamma Exposure by strike and expiration, Gamma Flip, call and put walls, Max Pain, IV Rank, IV Percentile, skew, term structure, session flow, and underlying metadata.
Copy this prompt, paste it into ChatGPT, Claude, Claude Code, Cursor, or Codex, then add your question. It tells the model to read our public docs first — no API key needed for that step.
You are helping me use OptionData (https://www.optiondata.io/), an OPRA-licensed U.S. equity options data API.
Before answering, fetch these public files (no login required) and treat them as the source of truth:
- https://www.optiondata.io/llms.txt — short product map (same content as https://www.optiondata.io/llm.txt)
- https://www.optiondata.io/llms-full.txt — full API reference
- https://www.optiondata.io/openapi.json — HTTP OpenAPI
Do not invent endpoints, fields, tables, or limits. Prefer `Authorization: Bearer apikey_…` for HTTP APIs. Realtime uses `wss://ws.optiondata.io` with a `token` query parameter.
Products:
- Realtime trades WebSocket: wss://ws.optiondata.io
- Historical SQL: POST https://www.optiondata.io/api/historical/sql
- Option chain: POST https://www.optiondata.io/api/option-chain
- Market structure: GET https://www.optiondata.io/api/v1/market-structure/{symbol}
I am asking about: Market Structure API (GEX)
- Product / playground page: https://www.optiondata.io/market_structure/
- Markdown: https://www.optiondata.io/md/market-structure-api/
- HTML docs: https://www.optiondata.io/docs/market-structure-api/
My question:
Use signed call and put Gamma Exposure across the full chain without rebuilding strike aggregates in every client.
Read Gamma Flip, GEX and OI walls, Max Pain, IV Rank, IV Percentile, skew, butterfly, and term slope together.
Each response includes prices, volume, market cap, underlying classification, session flow, freshness timestamps, and structure.
Option Chain returns contract-level quotes and Greeks with filters. Market Structure returns a precomputed, full-chain symbol snapshot for positioning, volatility, and level analysis.
No. The endpoint applies a documented dealer-short-put signing convention to open-interest Gamma Exposure. It is a structural model, not a report of any dealer’s actual book.
Yes. Add date=YYYY-MM-DD when that retained snapshot is available, or omit date to request the active snapshot.
Yes. The market-structure docs show how to derive those from the snapshot. This page does not restate the formulas.
GET /api/v1/market-structure/:symbol with Authorization: Bearer YOUR_API_KEY. Optional date=YYYY-MM-DD selects a retained historical snapshot; omit date for the active snapshot.
Each response is a symbol-level snapshot: structure levels, volatility context, and a lightweight session-flow overlay, with as-of timestamps. Field-level schema is in the market-structure docs.
Dealer positioning is a signed structural model on open-interest gamma — not a disclosed dealer book. Use Option Chain when you need filterable contract quotes; use Market Structure for precomputed levels.
Market structure (GEX) API reference → · All API docs · openapi.json
curl 'https://www.optiondata.io/api/v1/market-structure/SPY' \
-H 'Authorization: Bearer YOUR_API_KEY'Field names, types, filters, limits, and error codes live in the public API reference. This product page does not keep a second copy of the schema.