Compute max pain and open-interest walls
options-analytics_max-pain-oiCompute the max-pain strike, per-strike payout, put/call open-interest ratio and the highest open-interest call and put walls for one expiry from a supplied option chain. Price $0.02 USDC. POST /api/v1/options-analytics/max-pain-oi. 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": {
"chain": "<chain>"
},
"name": "options-analytics_max-pain-oi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | chain, array. Required. | |
| topWalls | No | topWalls, integer, from 1 to 50. Required. | |
| multiplier | No | multiplier, number. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | model. String. | |
| maxPain | No | maxPain. Number. | |
| sources | No | sources. Array. | |
| putWalls | No | putWalls. Array. | |
| callWalls | No | callWalls. Array. | |
| inputsUsed | No | inputsUsed. Object. | |
| limitations | No | limitations. Array. | |
| painByStrike | No | painByStrike. Array. | |
| putCallOiRatio | No | putCallOiRatio. Number. |