Skip to content

GammaEdge API

Use GammaEdge's intraday options analytics in your own code. Pick a ticker, send a GET request, get JSON back — volume delta, volume, centroid, and spec put/call analytics, plus available expiries.

  • Base URL: https://api.gammaedge.us
  • Auth: your API key, sent as the X-API-Key header on every request
  • Format: JSON responses; all endpoints are GET

Quick start

1. Create your API key in the API tab of the web app (app.gammaedge.us/SPX?tab=api → Generate my API key). Copy it right away, it's shown only once, and keep it secret, like a password.

2. Make your first request:

You run the request by pasting one line into a command window on your computer.

  1. Press the Windows key, type cmd, and press Enter. A black window opens: this is Command Prompt. (Use Command Prompt, not PowerShell; the line below is written for Command Prompt.)
  2. Copy this line, paste it into the window (Ctrl+V or right-click), and press Enter:

    curl -s https://api.gammaedge.us/v1/summary/SPX -H "X-API-Key: %GAMMAEDGE_API_KEY%"
    
  1. Press Cmd+Space, type Terminal, and press Return. A window opens: this is Terminal.
  2. Copy this line, paste it into the window (Cmd+V), and press Return:

    curl -s https://api.gammaedge.us/v1/summary/SPX -H "X-API-Key: $GAMMAEDGE_API_KEY"
    

Open a terminal, paste this line, and press Enter:

curl -s https://api.gammaedge.us/v1/summary/SPX -H "X-API-Key: $GAMMAEDGE_API_KEY"

The Windows and Mac lines differ only in how the key is written: %GAMMAEDGE_API_KEY% on Windows, $GAMMAEDGE_API_KEY on Mac and Linux.

It worked if you see a long line of text that starts with {"status":"completed","ticker":"SPX". That is the SPX summary as JSON.

If you see "Your API key is missing or invalid":

  • Close the window and open a new one, then try again. A window that was already open when you saved your key can't see it.
  • Check that the key is saved: run the check from Save your key; it should print sk_.
  • On Windows, make sure you used the Windows line (%GAMMAEDGE_API_KEY%).

That's it. See Getting Started for a full walkthrough, or jump straight to the API Reference.

What you can query

Endpoint Purpose
GET /v1/vold/{ticker} Intraday volume-delta across the session
GET /v1/vold/{ticker}/latest Most recent 5-minute volume-delta slice
GET /v1/vold/{ticker}/slice/{timestamp} A single intraday slice at HH:MM ET
GET /v1/volu/{ticker} Volume analytics (storage-backed aggregates)
GET /v1/centab/{ticker} Centroid analytics
GET /v1/specpa/{ticker} Spec put/call analytics
GET /v1/netstat/{ticker} Netstat analytics and flip transitions
GET /v1/replay/session/{ticker}/frames Stored-run summary and netstat results for the served session
GET /v1/replay/session/{ticker}/run/{run_time} Latest stored run at or before HH:MM ET
GET /v1/summary/{ticker} Structural gamma levels and technicals
GET /v1/deltabalance/{ticker} Delta balance for the next expiry, one expiry, or across the expiries in a DTE window
GET /v1/deltabalance/{ticker}/forward Delta balance for the next listed expiries, at the current spot
GET /v1/positioning/{ticker}?expiry= Open interest and net greeks at every strike of one listed expiry
GET /v1/expiries/{ticker} Available option expiries
GET /v1/expiries/{ticker}/quartiles Every listed expiry ranked by open interest, with its quartile
GET /v1/bars/{ticker} Stored price and volume bars
Scanner routes in the API Reference Published scanner results
GET /v1/usage Your API usage against your plan

Next steps