

/api/v1/gex/{symbol}Per-strike gamma exposure for an options-listed symbol (SPY, QQQ, SPX, IWM, DIA, and FX ETFs). Returns call/put/total GEX, open interest, and key levels (gamma flip, max gamma, spot).
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| symbol | path | string | yes | Options root, e.g. SPY, QQQ, SPX. |
| expiration | query | string (YYYYMMDD) | no | Restrict to a single expiration. |
curl -H "Authorization: Bearer afx_live_xxx" \
"https://www.analytics-fx.com/api/v1/gex/eurusd"{
"apiVersion": "v1",
"data": {
"root": "SPY", "spotPrice": 590.25,
"strikes": [560, 565, 570],
"callGex": [12000000, 58000000, 34000000],
"putGex": [-28000000, -54000000, -12000000],
"totalGex": [-16000000, 4000000, 22000000],
"keyLevels": { "maxGamma": 575, "gammaFlip": 568, "spotPrice": 590.25 },
"expirations": ["20260626", "20260703"]
},
"meta": { "requestId": "req_gx01", "credits": { "cost": 2, "remaining": 980 } }
}GET /api/v1/gex/eurusdCreate a key at /dashboard/api. The key stays in your browser.