Implied volatility API
The volatility at which the Black-Scholes-Merton formula gives an option's market price, pinned between proven bounds.
POST https://api.curatedapi.com/v1/calc/finance/implied-volatility
- Version 1
- MCP tool
calc_finance_implied_volatility - Try it in the browser
Turns an option's price back into the volatility that explains it. The Black-Scholes price rises with volatility, so a price inside the option's possible range matches exactly one volatility. It is found here by closing in on it and then proving that the price is too low just below and too high just above, so the digits returned are correct. A price outside the possible range is refused with the reason.
Formula
the σ with BlackScholes(S, K, T, r, q, σ) = option price
- The model is for European options, which can be exercised only at expiry. An American option is worth at least as much, and more when early exercise can pay.
- Rates are continuously compounded and per year, and time is in years. A rate quoted with annual compounding, R, is ln(1 + R) continuously compounded.
- For an option on a future (Black-76), give the futures price as spot and set dividend_yield_percent equal to risk_free_rate_percent.
- Volatilities from 0.01% to 1,000% a year are searched.
Inputs
Send numbers as strings to keep every digit. options sets precision and rounding (see numbers and rounding).
| Input | Type | Description |
|---|---|---|
option_price required |
decimal (string) | The option's market price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
spot required |
decimal (string) | The underlying's price now. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
strike required |
decimal (string) | The option's strike price. A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 1000000000000000. |
time_to_expiry_years required |
decimal (string) | Time to expiry in years. Write days as a ratio, such as "30/365". A ratio of two decimals such as "0.08/12" is accepted. Allowed: > 0 and <= 100. |
risk_free_rate_percent required |
decimal (string) | Risk-free interest rate per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
dividend_yield_percent |
decimal (string) default 0 |
Dividend yield per year in percent, continuously compounded. Allowed: >= -50 and <= 100. Unit: percent. |
option_type required |
call | put | Call or put. Options: call: the right to buy; put: the right to sell |
options.rounding |
half_even | half_up | half_down | up | down | ceiling | floor | Rounding mode applied once to each result. Default half_even. |
options.decimals |
integer | Round results to this many digits after the decimal point. |
options.significant_digits |
integer | Round results to this many significant digits. |
Result
Under result in the answer, next to exactness, precision, inputs, formula, references and warnings.
| Result | Type | Description |
|---|---|---|
implied_volatility_percent | decimal (string) | Implied volatility per year. Unit: percent. |
implied_volatility | decimal (string) | The same as a decimal. |
Examples
A six-month call on a stock at 42, strike 40, 10% rate, priced at 4.759422
curl https://api.curatedapi.com/v1/calc/finance/implied-volatility \
-H "Authorization: Bearer $CURATEDAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"option_price": "4.759422",
"spot": "42",
"strike": "40",
"time_to_expiry_years": "0.5",
"risk_free_rate_percent": "10",
"option_type": "call"
}'
{
"calculator": "finance/implied-volatility@1",
"result": {
"implied_volatility_percent": "19.999996",
"implied_volatility": "0.200000"
},
"exactness": {
"implied_volatility_percent": "rounded",
"implied_volatility": "rounded"
},
"precision": {
"rounding": "half_even",
"decimals": 6
},
"inputs": {
"option_price": "4.759422",
"spot": "42",
"strike": "40",
"time_to_expiry_years": "0.5",
"risk_free_rate_percent": "10",
"dividend_yield_percent": "0",
"option_type": "call"
},
"formula": "the σ with BlackScholes(S, K, T, r, q, σ) = option price",
"references": [
{
"title": "The Nobel Prize in Economic Sciences 1997: Merton and Scholes, a new method to determine the value of derivatives",
"url": "https://www.nobelprize.org/prizes/economic-sciences/1997/press-release/"
}
],
"warnings": []
}
References
Results follow each calculator's documented rules and the sources listed. They are not financial, tax or legal advice. Check that the rules fit your case before you rely on a result. See the terms.
Errors share one format; see errors. Billing, retries and batches work the same for every endpoint.