Option pricing, Black-Scholes and Greeks
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Price a European call and put with Black-Scholes-Merton and get delta, gamma, vega (per vol point), theta (per day), rho, d1, d2 and the probability of ending in the money; or give a market price and get the implied volatility. Inputs: spot, strike, expiry date or days, volatility, interest rate and dividend or funding yield in percent. Pure arithmetic, no data source. Use for crypto, stock or FX options, to price a quote or size a hedge.
Inputs
| Name | Type | Description |
|---|---|---|
spot (required) | number | Price of the underlying |
strike (required) | number | Strike price |
days | number | Days to expiry (default 30), or give expiry or years |
expiry | string | Expiry date (ISO), instead of days |
years | number | Years to expiry, instead of days |
vol | number | Annual volatility in percent, e.g. 20 (default 50); not needed with price |
rate | number | Risk-free rate in percent per year, e.g. 5 for 5% (default 0) |
dividend | number | Dividend, funding or borrow yield in percent per year (default 0) |
price | number | A market option price: returns the implied volatility |
type | string | call or put, for the implied volatility (default call) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/options/price?spot=100&strike=100"
Node.js
const r = await fetch("https://glyphtools.com/options/price?spot=100&strike=100", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/options/price?spot=100&strike=100", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/options/price?spot=100&strike=100&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"inputs": {
"spot": 100,
"strike": 100,
"years": 1,
"vol": 0.2,
"rate": 0.05,
"dividend": 0
},
"call": {
"price": 10.450584,
"delta": 0.636831,
"gamma": 0.018762,
"vega": 0.37524,
"theta": -0.017573,
"rho": 0.532325,
"probabilityItm": 0.559618
},
"put": {
"price": 5.573526,
"delta": -0.363169,
"gamma": 0.018762,
"vega": 0.37524,
"theta": -0.004542,
"rho": -0.418905,
"probabilityItm": 0.440382
},
"d1": 0.35,
"d2": 0.15,
"model": "Black-Scholes-Merton (European exercise)"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is options_price, and the first 10 successful calls are free:
https://glyphtools.com/mcp