- API
- Gamma exposure
- Max pain
Gamma exposure API, GET /max-pain/{ticker}
What strike is max pain for SPY this expiration, and does it matter?
The max-pain strike, its distance from spot and how strong the magnet is. Returns the strike where option holders lose the most at expiration, the total pain there, the distance from spot and a magnet-strength label, with the pain at every strike.
The answer, in one call
Units first,
then the request.
Strikes and distance in dollars; distance_pct in percent; total_pain in dollars.
Sum of intrinsic value across open interest at each candidate settlement price.
curl -H "Authorization: Bearer avmcp_YOUR_TOKEN" \
"https://apexvol.com/api/mcp/data/max-pain/SPY"
import requests
headers = {"Authorization": "Bearer avmcp_YOUR_TOKEN"}
r = requests.get("https://apexvol.com/api/mcp/data/max-pain/SPY", headers=headers)
r.raise_for_status()
data = r.json()["data"]
print(data["max_pain_strike"])
What is max pain for SPY this Friday?
The assistant calls get_max_pain and answers from the JSON below.{
"success": true,
"data": {
"all_strikes": [
{
"strike": 769.0,
"total_pain": 21794400.0
},
{
"strike": 770.0,
"total_pain": 21842200.0
},
{
"strike": 771.0,
"total_pain": 22844400.0
}
],
"distance_from_spot": -1.25,
"distance_pct": -0.1623,
"expiration": "2026-09-08",
"likely_direction": "NEUTRAL",
"magnet_strength": "WEAK",
"max_pain_strike": 769.0,
"max_pain_value": 21794400.0,
"stock_price": 770.25,
"success": true,
"ticker": "SPY",
"timestamp": "2026-09-08T08:07:20.699304"
}
}
Every response is wrapped as {"success": true, "data": {...}}. Lists in the sample are cut to a few rows so it fits on a page; the shape is exactly what your code receives.
Parameters
Bounded,
and the bounds are stated.
Out-of-range numbers are clamped to the documented range, never silently changed to something else. A missing required field returns 400 with the reason.
| Name | In | Default | Range | Meaning |
|---|---|---|---|---|
ticker required | path | any covered symbol | The underlying, upper case. Use /search to check coverage. | |
expiration | query | nearest | YYYY-MM-DD, a listed expiration | Which expiration to use. Defaults to the nearest one. |
Field by field
What each
number means.
max_pain_strike, max_pain_value- The strike and the pain there.
distance_from_spot, distance_pct- How far spot is from it.
magnet_strength, likely_direction- Whether the pull is meaningful.
all_strikes[].strike, total_pain- The distribution.
Access, limits, errors
Before the
first call.
- Plan
- Basic Basic and above. Tokens are issued to paid and trial accounts from $55 a month; each endpoint follows the tier of its web feature. An endpoint above your plan answers 402 and names the plan it needs.
- Auth
- Bearer token, prefix
avmcp_, created under Account, then API Access. Shown once, hashed at rest, rotates in one click. Always callhttps://apexvol.com, never www. - Limits
- 60 requests a minute and 1,000 an hour per token, plus a monthly allowance by plan. Every response carries the remaining counts in
X-RateLimit-*headers; a 429 carriesRetry-Afterin seconds. - Errors
401no or revoked token;429Retry-After seconds;424data feed unavailable, retry. The full list with payload shapes is on the errors page.- Since
- API 1.0. Units, bases and timestamps follow the conventions shared by every endpoint; changes are logged in the API changelog.
- Machine-readable
- This page as Markdown, the family as one file, the whole API as llms-full.txt or OpenAPI 3.1.
The same data, in plain English
Ask for it
in an MCP client.
Connect the ApexVol MCP server and the assistant calls get_max_pain by name. One URL, a sign-in, no token to paste.
What is max pain for SPY this Friday?
YouIs NVDA trading above or below max pain?
YouHow strong is the max pain magnet on AAPL this week?
More in the prompt library. Set the server up in Claude Desktop, Claude Code, Cursor, ChatGPT, VS Code, Windsurf or Gemini CLI.
Included with
every paid plan.
From $55 a month, tier-matched: your token queries the data your plan includes and Pro unlocks the full surface.
Real market data, not a sandbox. See it live on AAPL.