# QuantOracle Options Strategy

> QuantOracle Options Strategy is a paid API for AI agents from api.quantoracle.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Generates or evaluates an options trading strategy based on the provided underlying asset, market conditions, and risk parameters

## Facts

- Endpoint: POST https://api.quantoracle.dev/v1/options/strategy
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-quantoracle-dev-2198097a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M6b5ggvtzEZia_x9ohzD5

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-quantoracle-dev-2198097a -d '<json body>'
```

Example prompt: I'm moderately bullish on ETH over the next 30 days and want limited downside risk — can you use QuantOracle to recommend an options strategy with a medium risk tolerance, using ETH as the underlying and a $2,500 target strike?

## When to prefer this

Use this endpoint when you need a quantitative recommendation or evaluation of a specific options strategy for a crypto or financial asset. Prefer this over the strategy-optimizer sibling when you want a direct strategy output rather than an optimized comparison across multiple strategies. Best suited for agents helping users structure derivatives positions with defined risk/reward profiles.

## Known failure modes

- Missing required fields such as underlying asset or expiration returns a 400 validation error
- Unsupported asset or strategy type returns an error indicating invalid input
- Insufficient market data for the given asset or timeframe may return a partial or degraded result
- Malformed request body results in a 422 unprocessable entity error
- Service unavailability returns a 503 with retry guidance

## How this service works

QuantOracle: options/strategy

## Output

Returns a structured options strategy recommendation including the strategy name (e.g. bull call spread, covered call), the individual legs with strike prices and expirations, expected payoff profile, breakeven levels, max gain/loss, and probability or confidence metrics for the strategy's success given input conditions.

## Example request

```json
{
 "legs": [
  {
   "K": 95,
   "type": "call",
   "premium": 5,
   "quantity": 1,
   "direction": "long",
   "expiry_days": 30
  },
  {
   "K": 105,
   "type": "call",
   "premium": 2,
   "quantity": 1,
   "direction": "short",
   "expiry_days": 30
  }
 ],
 "spot": 100,
 "market_data": [
  {
   "strike": 95,
   "expiry_days": 30,
   "implied_vol": 0.25
  },
  {
   "strike": 100,
   "expiry_days": 30,
   "implied_vol": 0.23
  },
  {
   "strike": 105,
   "expiry_days": 30,
   "implied_vol": 0.24
  },
  {
   "strike": 100,
   "expiry_days": 60,
   "implied_vol": 0.22
  }
 ],
 "interpolation": "linear"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "legs": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "Leg",
    "required": [
     "type",
     "K",
     "premium"
    ],
    "properties": {
     "K": {
      "type": "number",
      "title": "K",
      "description": "Strike price"
     },
     "type": {
      "enum": [
       "call",
       "put"
      ],
      "type": "string",
      "title": "Type",
      "description": "Option type"
     },
     "premium": {
      "type": "number",
      "title": "Premium",
      "description": "Premium paid (positive) or received (negative)"
     },
     "quantity": {
      "type": "integer",
      "title": "Quantity",
      "default": 1,
      "description": "Number of contracts (positive=long, negative=short)"
     }
    }
   },
   "title": "Legs",
   "description": "List of option legs in the strategy"
  },
  "points": {
   "type": "integer",
   "title": "Points",
   "default": 50,
   "minimum": 1,
   "description": "Number of points to evaluate in P&L curve"
  },
  "S_range": {
   "anyOf": [
    {
     "type": "array",
     "items": {
      "type": "number"
     }
    },
    {
     "type": "null"
    }
   ],
   "title": "S Range",
   "description": "Custom price range [min, max] for P&L analysis"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-quantoracle-dev-2198097a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.quantoracle.dev](https://www.zero.xyz/host/api.quantoracle.dev/llms.txt)
