gex.snapshot in datasets. Run the next command if available is true and scope.symbols includes SPX. If only SPY is listed, substitute SPY.
asOf for the snapshot timestamp and spot for the underlying price at that time. The beta offers the latest Naive GEX for SPX and SPY, subject to the scope returned for your key. Historical replay is available in the terminal.