Skip to content
Fourohtwo

derivatives-pricer-production.up.railway.app/v1/volatility/surface

Book of premiums → strike×maturity IV grid, per-quote IV/Greeks, and fit stats. Shared rate/yield; each row can use its own forward mark. Not for a single premium.

SolanaAnswering
POSThttps://derivatives-pricer-production.up.railway.app/v1/volatility/surface

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://derivatives-pricer-production.up.railway.app/v1/volatility/surface" \
  -d '{"rate":0.05,"options":[{"strike":90,"premium":12.5,"optionType":"call","underlying":100,"timeToExpiry":0.25},{"strike":100,"premium":8.7,"optionType":"call","underlying":102,"timeToExpiry":0.5},{"strike":110,"premium":9.1,"optionType":"put","underlying":101,"timeToExpiry":1}],"dividendYield":0}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "rate": 0.05,
  "options": [
    {
      "strike": 90,
      "premium": 12.5,
      "optionType": "call",
      "underlying": 100,
      "timeToExpiry": 0.25
    },
    {
      "strike": 100,
      "premium": 8.7,
      "optionType": "call",
      "underlying": 102,
      "timeToExpiry": 0.5
    },
    {
      "strike": 110,
      "premium": 9.1,
      "optionType": "put",
      "underlying": 101,
      "timeToExpiry": 1
    }
  ],
  "dividendYield": 0
}