> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tradingoctant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Make your first request

In [Account](https://dash.tradingoctant.com/account), open **API keys**, name a key and create it. Save it in your password manager when the full value appears. In a local Bash shell run the following command, paste the key at the prompt and press Return.

```bash theme={null}
read -rsp "Trading Octant API key: " TRADINGOCTANT_API_KEY; echo
curl -sS -H "Authorization: Bearer ${TRADINGOCTANT_API_KEY}" 'https://api.tradingoctant.com/v1/discover'
```

Find `gex.snapshot` in `datasets`. Run the next command if `available` is `true` and `scope.symbols` includes SPX. If only SPY is listed, substitute SPY.

```bash theme={null}
curl -sS -H "Authorization: Bearer ${TRADINGOCTANT_API_KEY}" 'https://api.tradingoctant.com/v1/gex?symbol=SPX&basis=naive'
```

Read `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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.