# Options Max-Pain & Put/Call OI Ratio

> Options Max-Pain & Put/Call OI Ratio is a paid API for AI agents from x402-services-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the max-pain strike price and put/call open-interest ratio for a crypto options expiry, indicating where option holders stand to lose the most.

## Facts

- Endpoint: POST https://x402-services-production.up.railway.app/api/options/maxpain
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/options-max-pain-put-call-oi-ratio-87904c39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T4L18Kd61pgvfRs6z0Bqn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability options-max-pain-put-call-oi-ratio-87904c39 -d '<json body>'
```

Example prompt: What's the max-pain strike and put/call open-interest ratio for BTC options expiring 28AUG26?

## When to prefer this

Use this endpoint when you need the options max-pain strike level or put/call OI skew for BTC, ETH, or SOL as a positioning or price magnet signal ahead of an options expiry. Prefer this over generic market data APIs when you specifically need options-derived sentiment or strike-level analysis.

## Known failure modes

- Unsupported currency (only BTC, ETH, SOL accepted) — returns 400 or error
- Invalid expiry format — returns error or empty result
- Expiry date with no open interest data — empty or null response
- Network or upstream data source unavailable — 5xx error
- Payment not processed (x402 payment required) — 402 response

## How this service works

Max-pain strike + put/call open-interest ratio for an expiry — the price level where option holders lose most; a positioning/magnet signal. Send { currency, expiry? }.

## Output

Returns the max-pain strike price (the price level where aggregate option holder losses are maximized at expiry) and the put/call open-interest ratio for the specified currency and expiry, usable as a market positioning or price magnet signal.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "currency"
 ],
 "properties": {
  "expiry": {
   "type": "string",
   "description": "e.g. 28AUG26"
  },
  "currency": {
   "type": "string",
   "description": "BTC, ETH, or SOL"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/options-max-pain-put-call-oi-ratio-87904c39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-services-production.up.railway.app](https://www.zero.xyz/host/x402-services-production.up.railway.app/llms.txt)
