{
  "x402Version": 2,
  "id": 72536,
  "slug": "saylorinnovations-api-options-strategy-payoff",
  "resource": "https://saylorinnovations.com/api/options/strategy-payoff",
  "description": "Payoff of any option strategy from its legs - max profit, max loss, breakeven prices, net debit or credit and a payoff table at expiry for spreads and condors",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "legs": {
        "type": "array",
        "description": "The legs as understood: type, quantity (negative is short), strike, premium and stock entry",
        "items": {
          "type": "object",
          "properties": {
            "qty": {
              "description": "Quantity, negative for short positions",
              "type": [
                "number",
                "null"
              ]
            },
            "premium": {
              "description": "Premium paid or received per unit, null for stock legs",
              "type": [
                "number",
                "null"
              ]
            },
            "entry": {
              "description": "Entry price for stock legs, null for options"
            },
            "type": {
              "description": "Type or kind"
            },
            "strike": {
              "description": "Option strike price"
            }
          }
        }
      },
      "multiplier": {
        "type": "number",
        "description": "Contract multiplier applied to option legs"
      },
      "net_premium": {
        "type": "number",
        "description": "Net premium"
      },
      "net_debit_or_credit": {
        "type": "string",
        "description": "Net debit or credit"
      },
      "max_profit": {
        "type": [
          "number",
          "null"
        ],
        "description": "Max profit"
      },
      "max_loss": {
        "type": [
          "number",
          "null"
        ],
        "description": "Max loss"
      },
      "unlimited_profit": {
        "type": "boolean",
        "description": "Unlimited profit"
      },
      "unlimited_loss": {
        "type": "boolean",
        "description": "Unlimited loss"
      },
      "breakeven_prices": {
        "type": "array",
        "description": "Breakeven prices"
      },
      "payoff_at_expiry": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "underlying": {
              "description": "Underlying price at expiry",
              "type": [
                "number",
                "null"
              ]
            },
            "profit": {
              "description": "Total profit or loss at that price",
              "type": [
                "number",
                "null"
              ]
            }
          }
        },
        "description": "Payoff at expiry"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "max_profit",
      "max_loss",
      "breakeven_prices"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "legs": "[{\"type\":\"call\",\"strike\":100,\"premium\":5,\"qty\":1},{\"type\":\"call\",\"strike\":110,\"premium\":2,\"qty\":-1}]"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "legs": [
              {
                "type": "call",
                "qty": 1,
                "strike": 100,
                "premium": 5,
                "entry": null
              },
              {
                "type": "call",
                "qty": -1,
                "strike": 110,
                "premium": 2,
                "entry": null
              }
            ],
            "multiplier": 100,
            "net_premium": -300,
            "net_debit_or_credit": "debit",
            "max_profit": 700,
            "max_loss": -300,
            "unlimited_profit": false,
            "unlimited_loss": false,
            "breakeven_prices": [
              103
            ],
            "payoff_at_expiry": [
              {
                "underlying": 96.25,
                "profit": -300
              },
              {
                "underlying": 97.5,
                "profit": -300
              },
              {
                "underlying": 98.75,
                "profit": -300
              },
              {
                "underlying": 100,
                "profit": -300
              },
              {
                "underlying": 101.25,
                "profit": -175
              },
              {
                "underlying": 102.5,
                "profit": -50
              },
              {
                "underlying": 103.75,
                "profit": 75
              },
              {
                "underlying": 105,
                "profit": 200
              },
              {
                "underlying": 106.25,
                "profit": 325
              },
              {
                "underlying": 107.5,
                "profit": 450
              },
              {
                "underlying": 108.75,
                "profit": 575
              },
              {
                "underlying": 110,
                "profit": 700
              },
              {
                "underlying": 111.25,
                "profit": 700
              },
              {
                "underlying": 112.5,
                "profit": 700
              },
              {
                "underlying": 113.75,
                "profit": 700
              }
            ],
            "note": "Profit and loss at expiry per the supplied legs, ignoring fees, early assignment and time value; negative qty is a short position.",
            "source": "Option payoff arithmetic on the supplied legs"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "legs": {
                    "type": "string",
                    "description": "JSON array of up to 8 legs: {\"type\":\"call|put|stock\",\"strike\":100,\"premium\":2,\"qty\":1}; negative qty is short"
                  }
                },
                "required": [
                  "legs"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "legs": {
                    "type": "array",
                    "description": "The legs as understood: type, quantity (negative is short), strike, premium and stock entry",
                    "items": {
                      "type": "object",
                      "properties": {
                        "qty": {
                          "description": "Quantity, negative for short positions",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "premium": {
                          "description": "Premium paid or received per unit, null for stock legs",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "entry": {
                          "description": "Entry price for stock legs, null for options"
                        },
                        "type": {
                          "description": "Type or kind"
                        },
                        "strike": {
                          "description": "Option strike price"
                        }
                      }
                    }
                  },
                  "multiplier": {
                    "type": "number",
                    "description": "Contract multiplier applied to option legs"
                  },
                  "net_premium": {
                    "type": "number",
                    "description": "Net premium"
                  },
                  "net_debit_or_credit": {
                    "type": "string",
                    "description": "Net debit or credit"
                  },
                  "max_profit": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Max profit"
                  },
                  "max_loss": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Max loss"
                  },
                  "unlimited_profit": {
                    "type": "boolean",
                    "description": "Unlimited profit"
                  },
                  "unlimited_loss": {
                    "type": "boolean",
                    "description": "Unlimited loss"
                  },
                  "breakeven_prices": {
                    "type": "array",
                    "description": "Breakeven prices"
                  },
                  "payoff_at_expiry": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "underlying": {
                          "description": "Underlying price at expiry",
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "profit": {
                          "description": "Total profit or loss at that price",
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      }
                    },
                    "description": "Payoff at expiry"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "max_profit",
                  "max_loss",
                  "breakeven_prices"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "bull call spread max profit",
    "option strategy breakeven price",
    "iron condor payoff at expiry",
    "covered call payoff calculator",
    "straddle breakevens"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.958Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "legs": {
          "type": "string",
          "description": "JSON array of up to 8 legs: {\"type\":\"call|put|stock\",\"strike\":100,\"premium\":2,\"qty\":1}; negative qty is short"
        }
      },
      "required": [
        "legs"
      ]
    },
    "exampleResponse": {
      "legs": [
        {
          "type": "call",
          "qty": 1,
          "strike": 100,
          "premium": 5,
          "entry": null
        },
        {
          "type": "call",
          "qty": -1,
          "strike": 110,
          "premium": 2,
          "entry": null
        }
      ],
      "multiplier": 100,
      "net_premium": -300,
      "net_debit_or_credit": "debit",
      "max_profit": 700,
      "max_loss": -300,
      "unlimited_profit": false,
      "unlimited_loss": false,
      "breakeven_prices": [
        103
      ],
      "payoff_at_expiry": [
        {
          "underlying": 96.25,
          "profit": -300
        },
        {
          "underlying": 97.5,
          "profit": -300
        },
        {
          "underlying": 98.75,
          "profit": -300
        },
        {
          "underlying": 100,
          "profit": -300
        },
        {
          "underlying": 101.25,
          "profit": -175
        },
        {
          "underlying": 102.5,
          "profit": -50
        },
        {
          "underlying": 103.75,
          "profit": 75
        },
        {
          "underlying": 105,
          "profit": 200
        },
        {
          "underlying": 106.25,
          "profit": 325
        },
        {
          "underlying": 107.5,
          "profit": 450
        },
        {
          "underlying": 108.75,
          "profit": 575
        },
        {
          "underlying": 110,
          "profit": 700
        },
        {
          "underlying": 111.25,
          "profit": 700
        },
        {
          "underlying": 112.5,
          "profit": 700
        },
        {
          "underlying": 113.75,
          "profit": 700
        }
      ],
      "note": "Profit and loss at expiry per the supplied legs, ignoring fees, early assignment and time value; negative qty is a short position.",
      "source": "Option payoff arithmetic on the supplied legs"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "legs": "[{\"type\":\"call\",\"strike\":100,\"premium\":5,\"qty\":1},{\"type\":\"call\",\"strike\":110,\"premium\":2,\"qty\":-1}]"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "legs": [
                {
                  "type": "call",
                  "qty": 1,
                  "strike": 100,
                  "premium": 5,
                  "entry": null
                },
                {
                  "type": "call",
                  "qty": -1,
                  "strike": 110,
                  "premium": 2,
                  "entry": null
                }
              ],
              "multiplier": 100,
              "net_premium": -300,
              "net_debit_or_credit": "debit",
              "max_profit": 700,
              "max_loss": -300,
              "unlimited_profit": false,
              "unlimited_loss": false,
              "breakeven_prices": [
                103
              ],
              "payoff_at_expiry": [
                {
                  "underlying": 96.25,
                  "profit": -300
                },
                {
                  "underlying": 97.5,
                  "profit": -300
                },
                {
                  "underlying": 98.75,
                  "profit": -300
                },
                {
                  "underlying": 100,
                  "profit": -300
                },
                {
                  "underlying": 101.25,
                  "profit": -175
                },
                {
                  "underlying": 102.5,
                  "profit": -50
                },
                {
                  "underlying": 103.75,
                  "profit": 75
                },
                {
                  "underlying": 105,
                  "profit": 200
                },
                {
                  "underlying": 106.25,
                  "profit": 325
                },
                {
                  "underlying": 107.5,
                  "profit": 450
                },
                {
                  "underlying": 108.75,
                  "profit": 575
                },
                {
                  "underlying": 110,
                  "profit": 700
                },
                {
                  "underlying": 111.25,
                  "profit": 700
                },
                {
                  "underlying": 112.5,
                  "profit": 700
                },
                {
                  "underlying": 113.75,
                  "profit": 700
                }
              ],
              "note": "Profit and loss at expiry per the supplied legs, ignoring fees, early assignment and time value; negative qty is a short position.",
              "source": "Option payoff arithmetic on the supplied legs"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "legs": {
                      "type": "string",
                      "description": "JSON array of up to 8 legs: {\"type\":\"call|put|stock\",\"strike\":100,\"premium\":2,\"qty\":1}; negative qty is short"
                    }
                  },
                  "required": [
                    "legs"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "legs": {
                      "type": "array",
                      "description": "The legs as understood: type, quantity (negative is short), strike, premium and stock entry",
                      "items": {
                        "type": "object",
                        "properties": {
                          "qty": {
                            "description": "Quantity, negative for short positions",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "premium": {
                            "description": "Premium paid or received per unit, null for stock legs",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "entry": {
                            "description": "Entry price for stock legs, null for options"
                          },
                          "type": {
                            "description": "Type or kind"
                          },
                          "strike": {
                            "description": "Option strike price"
                          }
                        }
                      }
                    },
                    "multiplier": {
                      "type": "number",
                      "description": "Contract multiplier applied to option legs"
                    },
                    "net_premium": {
                      "type": "number",
                      "description": "Net premium"
                    },
                    "net_debit_or_credit": {
                      "type": "string",
                      "description": "Net debit or credit"
                    },
                    "max_profit": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Max profit"
                    },
                    "max_loss": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Max loss"
                    },
                    "unlimited_profit": {
                      "type": "boolean",
                      "description": "Unlimited profit"
                    },
                    "unlimited_loss": {
                      "type": "boolean",
                      "description": "Unlimited loss"
                    },
                    "breakeven_prices": {
                      "type": "array",
                      "description": "Breakeven prices"
                    },
                    "payoff_at_expiry": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "underlying": {
                            "description": "Underlying price at expiry",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "profit": {
                            "description": "Total profit or loss at that price",
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        }
                      },
                      "description": "Payoff at expiry"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "max_profit",
                    "max_loss",
                    "breakeven_prices"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/options/strategy-payoff?legs=%5B%7B%22type%22%3A%22call%22%2C%22strike%22%3A100%2C%22premium%22%3A5%2C%22qty%22%3A1%7D%2C%7B%22type%22%3A%22call%22%2C%22strike%22%3A110%2C%22premium%22%3A2%2C%22qty%22%3A-1%7D%5D",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "legs": [
      {
        "qty": 0,
        "premium": 0,
        "entry": null,
        "type": null,
        "strike": null
      }
    ],
    "multiplier": 0,
    "net_premium": 0,
    "net_debit_or_credit": "string",
    "max_profit": 0,
    "max_loss": 0,
    "unlimited_profit": true,
    "unlimited_loss": true,
    "breakeven_prices": [
      "value"
    ],
    "payoff_at_expiry": [
      {
        "underlying": 0,
        "profit": 0
      }
    ],
    "note": "string",
    "source": "string"
  }
}