1. API
  2. Portfolio risk
  3. Portfolio Greeks

Portfolio risk API, POST /portfolio-greeks

What is my net delta, theta and vega across these positions?

Aggregate Greeks and a risk level for a list of stock and option positions. Sums delta, theta and vega across positions, returns exposure as a share of value, daily decay, a risk label and a per-ticker breakdown.

ProPlan and above, from $55/mo
1MCP tool that calls it
2026-09-08Sample captured from the live endpoint

The answer, in one call

Units first,
then the request.

total_delta in share-equivalents; total_theta in dollars per day; total_vega in dollars per vol point; percentages in percent.

Per-share Greeks come from the positions you pass (take them from /chain); stock positions count delta 1 per share.

curlBearer token from Account, then API Access
curl -X POST "https://apexvol.com/api/mcp/data/portfolio-greeks" \
     -H "Authorization: Bearer avmcp_YOUR_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"positions": [{"ticker": "SPY", "position_type": "STOCK", "quantity": 100, "current_price": 770.25}, {"ticker": "SPY", "position_type": "PUT", "quantity": -1, "strike": 755.0, "expiration": "2026-10-09", "current_price": 6.359999999999999, "delta": -0.3014, "theta": -0.1785, "vega": 0.8379, "iv": 0.1365}]}'
Pythonrequests, nothing else
import requests

headers = {"Authorization": "Bearer avmcp_YOUR_TOKEN"}
body = {"positions": [{"ticker": "SPY", "position_type": "STOCK", "quantity": 100, "current_price": 770.25}, {"ticker": "SPY", "position_type": "PUT", "quantity": -1, "strike": 755.0, "expiration": "2026-10-09", "current_price": 6.359999999999999, "delta": -0.3014, "theta": -0.1785, "vega": 0.8379, "iv": 0.1365}]}
r = requests.post("https://apexvol.com/api/mcp/data/portfolio-greeks", headers=headers, json=body)
r.raise_for_status()
data = r.json()["data"]
print(data)
In Claude, Cursor or ChatGPTthrough the MCP server, no code
You

What are my portfolio Greeks: 100 SPY shares and short one 30-delta put?

The assistant calls calculate_portfolio_greeks and answers from the JSON below.

Tokens come with every paid or trial plan. Sign in and create one under Account, then API Access, or start a trial. Your ticker, your budget.

POST /api/mcp/data/portfolio-greeks200, application/json, captured 2026-09-08
{
  "success": true,
  "data": {
    "portfolio_summary": {
      "daily_decay_pct": 0.0234,
      "delta_exposure_pct": 130.6218,
      "risk_level": "LOW",
      "total_cost_basis": 0,
      "total_delta": 130.14,
      "total_pnl": 76389.0,
      "total_pnl_pct": 0,
      "total_positions": 2,
      "total_theta": 17.85,
      "total_value": 76389.0,
      "total_vega": -83.79,
      "vega_risk_pct": 0.1097
    },
    "positions_by_ticker": {
      "SPY": {
        "delta": 130.14,
        "positions": [
          {
            "charm": 0,
            "current_price": 6.36,
            "delta": -0.3014,
            "entry_price": 0,
            "expiration": "2026-10-09",
            "gamma": 0,
            "iv": 0.1365,
            "position_type": "PUT",
            "quantity": -1,
            "rho": 0,
            "stock_price": 0,
            "strike": 755.0,
            "theta": -0.1785,
            "ticker": "SPY",
            "vanna": 0,
            "vega": 0.8379,
            "vomma": 0
          }
        ],
        "theta": 17.85,
        "value": 76389.0,
        "vega": -83.79
      }
    },
    "success": true,
    "timestamp": "2026-09-08T08:07:44.450169"
  }
}

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.

NameInDefaultRangeMeaning
positions requiredbodyarray of {ticker, position_type STOCK|CALL|PUT, quantity, strike, expiration, entry_price, current_price, delta, gamma, theta, vega, iv}The book.

Field by field

What each
number means.

portfolio_summary.total_delta, total_theta, total_vega
The net Greeks.
portfolio_summary.risk_level, delta_exposure_pct, daily_decay_pct
The read.
positions_by_ticker.<ticker>
Per-ticker delta, theta, vega and value.

Access, limits, errors

Before the
first call.

Plan
Pro Pro 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 call https://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 carries Retry-After in seconds.
Errors
401 no or revoked token; 429 Retry-After seconds; 403 Pro plan required; 400 missing or malformed body. 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 calculate_portfolio_greeks by name. One URL, a sign-in, no token to paste.

Prompts that hit this endpointcopy one into Claude, Cursor or ChatGPT
You

What are my portfolio Greeks: 100 SPY shares and short one 30-delta put?

You

Is my book net long or short vega?

You

Roll up delta and theta across these positions.

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.

7 days free, cancel anytime Card required · no charge for 7 days
Start trial →