{"slug":"www-brainiac-software-api-v1-options-analytics-strategy-payo-1a2a89","title":"Compute payoff and profit or loss of a multi-leg option and stock position at ex","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/options-analytics/strategy-payoff","category":"market","description":"Compute payoff and profit or loss of a multi-leg option and stock position at expiry and at a valuation date, with exact breakevens, maximum profit and loss, and unlimited-risk flags. Docs: https://www.brainiac.software/api/options-analytics/strategy-payoff","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":3,"answered_7d":3,"latency_ms_median":287,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"dividendYield":0,"grid":{"from":80,"step":1,"to":120},"legs":[{"kind":"option","premium":5.47,"qty":1,"sigma":0.25,"strike":100,"timeYears":0.25,"type":"call"},{"kind":"option","premium":1.92,"qty":-1,"sigma":0.25,"strike":110,"timeYears":0.25,"type":"call"}],"multiplier":100,"rate":0.04,"spot":100,"valuationTimeYears":0},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"dividendYield":{"description":"dividend Yield supplied by the caller for this operation.","example":0,"maximum":1,"minimum":-0.2,"type":"number"},"grid":{"description":"grid supplied by the caller for this operation.","example":{"from":80,"step":1,"to":120},"type":"object"},"legs":{"description":"legs supplied by the caller for this operation.","example":[{"kind":"option","premium":5.47,"qty":1,"sigma":0.25,"strike":100,"timeYears":0.25,"type":"call"},{"kind":"option","premium":1.92,"qty":-1,"sigma":0.25,"strike":110,"timeYears":0.25,"type":"call"}],"items":{"type":"object"},"type":"array"},"multiplier":{"description":"multiplier supplied by the caller for this operation.","example":100,"type":"number"},"rate":{"description":"rate supplied by the caller for this operation.","example":0.04,"maximum":1,"minimum":-0.2,"type":"number"},"spot":{"description":"spot supplied by the caller for this operation.","example":100,"type":"number"},"valuationTimeYears":{"description":"valuation Time Years supplied by the caller for this operation.","example":0,"type":["number","null"]}},"required":["spot","legs"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":285,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":287,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":310,"error":null}],"description_full":"Compute payoff and profit or loss of a multi-leg option and stock position at expiry and at a valuation date, with exact breakevens, maximum profit and loss, and unlimited-risk flags. Docs: https://www.brainiac.software/api/options-analytics/strategy-payoff","last_updated":"2026-11-24T15:06:22.869Z","schemes":["exact"]}