Price a European option and its Greeks
options-analytics_black-scholes-greeksPrice a European option with Black-Scholes-Merton and return delta, gamma, vega, theta, rho, vanna and charm from caller-supplied spot, strike, time, rate, dividend yield and volatility. Pure computation with a high-accuracy normal CDF. Price $0.02 USDC. POST /api/v1/options-analytics/black-scholes-greeks. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"spot": "<spot>",
"strike": "<strike>",
"timeYears": "<timeYears>",
"sigma": "<sigma>"
},
"name": "options-analytics_black-scholes-greeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | rate, number, from -0.2 to 1. Required. | |
| spot | Yes | spot, number. Required. | |
| type | Yes | type, string, one of call, put. Required. | |
| sigma | Yes | sigma, number, from any to 5. Required. | |
| greeks | No | greeks, array. Required. | |
| strike | Yes | strike, number. Required. | |
| dayCount | No | dayCount, string, one of ACT/365, ACT/360, TRADING/252. Required. | ACT/365 |
| timeYears | Yes | timeYears, number, from 0 to 50. Required. | |
| dividendYield | No | dividendYield, number, from -0.2 to 1. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d1 | No | d1. Number. | |
| d2 | No | d2. Number. | |
| rho | No | rho. Number. | |
| vega | No | vega. Number. | |
| charm | No | charm. Number. | |
| delta | No | delta. Number. | |
| gamma | No | gamma. Number. | |
| model | No | model. String. | |
| price | No | price. Number. | |
| theta | No | theta. Number. | |
| vanna | No | vanna. Number. | |
| sources | No | sources. Array. | |
| inputsUsed | No | inputsUsed. Object. | |
| limitations | No | limitations. Array. | |
| thetaPerDay | No | thetaPerDay. Number. | |
| vegaPer1Pct | No | vegaPer1Pct. Number. |