{"uid":"cap_M6b5ggvtzEZia_x9ohzD5","slug":"api-quantoracle-dev-2198097a","name":"QuantOracle Options Strategy","description":"QuantOracle: options/strategy","url":"https://api.quantoracle.dev/v1/options/strategy","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":null,"example":{"request":{"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"},"response":{"ms":15.17,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"max_loss":-7,"breakevens":[102],"max_profit":66,"payoff_curve":[{"pnl":-7,"price":66.5},{"pnl":-7,"price":67.9},{"pnl":-7,"price":69.3},{"pnl":-7,"price":70.7},{"pnl":-7,"price":72.1},{"pnl":-7,"price":73.5},{"pnl":-7,"price":74.9},{"pnl":-7,"price":76.3},{"pnl":-7,"price":77.7},{"pnl":-7,"price":79.1},{"pnl":-7,"price":80.5},{"pnl":-7,"price":81.9},{"pnl":-7,"price":83.3},{"pnl":-7,"price":84.7},{"pnl":-7,"price":86.1},{"pnl":-7,"price":87.5},{"pnl":-7,"price":88.9},{"pnl":-7,"price":90.3},{"pnl":-7,"price":91.7},{"pnl":-7,"price":93.1},{"pnl":-7,"price":94.5},{"pnl":-6.1,"price":95.9},{"pnl":-4.7,"price":97.3},{"pnl":-3.3,"price":98.7},{"pnl":-1.9,"price":100.1},{"pnl":-0.5,"price":101.5},{"pnl":0.9,"price":102.9},{"pnl":2.3,"price":104.3},{"pnl":4.4,"price":105.7},{"pnl":7.2,"price":107.1},{"pnl":10,"price":108.5},{"pnl":12.8,"price":109.9},{"pnl":15.6,"price":111.3},{"pnl":18.4,"price":112.7},{"pnl":21.2,"price":114.1},{"pnl":24,"price":115.5},{"pnl":26.8,"price":116.9},{"pnl":29.6,"price":118.3},{"pnl":32.4,"price":119.7},{"pnl":35.2,"price":121.1},{"pnl":38,"price":122.5},{"pnl":40.8,"price":123.9},{"pnl":43.6,"price":125.3},{"pnl":46.4,"price":126.7},{"pnl":49.2,"price":128.1},{"pnl":52,"price":129.5},{"pnl":54.8,"price":130.9},{"pnl":57.6,"price":132.3},{"pnl":60.4,"price":133.7},{"pnl":63.2,"price":135.1},{"pnl":66,"price":136.5}]}},"exampleRequest":{"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"},"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AsBh3XGjINvAtczEPljHD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates or evaluates an options trading strategy based on the provided underlying asset, market conditions, and risk parameters","exampleAgentPrompt":"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?","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:41.040Z","isFirstParty":false}