Levels (v1)

Get Levels

Consolidated dealer-positioning levels for one underlying.

Returns the latest gamma flip, call/put walls and max pain, plus the per-strike gamma profile nearest to spot — the derived, redistributable primitives a charting integration draws as horizontal lines and a histogram. 404 when no snapshot exists for symbol yet, or when expiration names one the chain does not list (or that has expired).

get/api/v1/levels/{symbol}

Request

  • Base URL: https://api.zerogex.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.zerogex.io/api/v1/levels/{symbol}
  • Auth: HTTP bearer

Path parameters

symbolstring required

Underlying symbol, e.g. SPY, SPX, QQQ.

Query parameters

strikesinteger

Number of strikes nearest to spot to include in the gamma profile (aggregated across expirations, or within the one expiration selects).

expirationstring

'all' (default) for the whole chain; '0dte' for the nearest expiration that has not yet settled (today's until 16:00 ET, then the next one listed); or one expiration as YYYY-MM-DD. A scoped request recomputes the walls, flip, max pain and profile from that expiration alone; the Pin Strike is 0DTE by construction and is not scoped.

Response

Successful Response

symbolstring required
spotnumber nullable
as_ofstring date-time required
age_secondsinteger nullable
computed_atstring date-time nullable
data_as_ofstring date-time nullable
net_gex_at_spotnumber nullable
expirationstring date nullable
pin_scorenumber nullable
pin_confidencenumber nullable
pin_strike_reasonstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.