Option pricing, Black-Scholes
Option pricing, Black-Scholes. 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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-data-tools.revmesh2074.workers.dev/options/price
| Category | Market data |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 671 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 316 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 322 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 258 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 273 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 294 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 263 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 20 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 29 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 36 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 37 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 22 ms |
| 2026-11-14 | valid payment request | 402 | $0.01 | 67 ms |
| 2026-11-13 | valid payment request | 402 | $0.01 | 20 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 22 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 56 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 24 ms |
| 2026-11-09 | valid payment request | 402 | $0.01 | 23 ms |
| 2026-11-08 | valid payment request | 402 | $0.01 | 31 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 19 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"spot": 100,
"strike": 100
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"days": {
"description": "Days to expiry (default 30), or give expiry or years",
"examples": [
365
],
"type": "number"
},
"dividend": {
"description": "Dividend, funding or borrow yield in percent per year (default 0)",
"examples": [
0
],
"type": "number"
},
"expiry": {
"description": "Expiry date (ISO), instead of days",
"examples": [
"2026-12-18"
],
"type": "string"
},
"price": {
"description": "A market option price: returns the implied volatility",
"examples": [
10.45
],
"type": "number"
},
"rate": {
"description": "Risk-free rate in percent per year, e.g. 5 for 5% (default 0)",
"examples": [
5
],
"type": "number"
},
"spot": {
"description": "Price of the underlying",
"examples": [
100
],
"type": "number"
},
"strike": {
"description": "Strike price",
"examples": [
100
],
"type": "number"
},
"type": {
"description": "call or put, for the implied volatility (default call)",
"examples": [
"call"
],
"type": "string"
},
"vol": {
"description": "Annual volatility in percent, e.g. 20 (default 50); not needed with price",
"examples": [
20
],
"type": "number"
},
"years": {
"description": "Years to expiry, instead of days",
"examples": [
1
],
"type": "number"
}
},
"required": [
"spot",
"strike"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"call": {
"properties": {
"delta": {
"type": "number"
},
"gamma": {
"type": "number"
},
"price": {
"type": "number"
},
"probabilityItm": {
"type": "number"
},
"rho": {
"type": "number"
},
"theta": {
"type": "number"
},
"vega": {
"type": "number"
}
},
"type": "object"
},
"d1": {
"type": "number"
},
"d2": {
"type": "number"
},
"inputs": {
"properties": {
"dividend": {
"type": "number"
},
"rate": {
"type": "number"
},
"spot": {
"type": "number"
},
"strike": {
"type": "number"
},
"vol": {
"type": "number"
},
"years": {
"type": "number"
}
},
"type": "object"
},
"model": {
"type": "string"
},
"put": {
"properties": {
"delta": {
"type": "number"
},
"gamma": {
"type": "number"
},
"price": {
"type": "number"
},
"probabilityItm": {
"type": "number"
},
"rho": {
"type": "number"
},
"theta": {
"type": "number"
},
"vega": {
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}