When to use: you already have an IV surface (k,T,σ) and need to price options on it — n…
When to use: you already have an IV surface (k,T,σ) and need to price options on it — not invert premiums and not scalar σ. Interpolates total variance w=σ²T bilinear in log-moneyness k=ln(K/F); wingRule=flat_vol. Returns price, interpolated σ, k, F, BS Greek…
by derivatives-pricer-production.up.railway.app · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
When to use: you already have an IV surface (k,T,σ) and need to price options on it — not invert premiums and not scalar σ. Interpolates total variance w=σ²T bilinear in log-moneyness k=ln(K/F); wingRule=flat_vol. Returns price, interpolated σ, k, F, BS Greeks. USDC exact on Solana/Base. Prefer /v1/option/price when σ is a single scalar.
Tags: mark · hedge_greeks · multi-chain · usdc · smile · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"dividendYield": 0,
"interpolation": "total_variance_bilinear",
"options": [
{
"optionType": "call",
"quantity": 1,
"strike": 100,
"timeToExpiry": 1,
"underlying": 100
}
],
"rate": 0.05,
"surface": [
{
"iv": 0.22,
"k": -0.1,
"timeToExpiry": 0.25
},
{
"iv": 0.2,
"k": 0,
"timeToExpiry": 0.25
},
{
"iv": 0.23,
"k": 0.1,
"timeToExpiry": 0.25
},
{
"iv": 0.21,
"k": -0.1,
"timeToExpiry": 0.5
},
{
"iv": 0.2,
"k": 0,
"timeToExpiry": 0.5
},
{
"iv": 0.22,
"k": 0.1,
"timeToExpiry": 0.5
},
{
"iv": 0.205,
"k": -0.1,
"timeToExpiry": 1
},
{
"iv": 0.2,
"k": 0,
"timeToExpiry": 1
},
{
"iv": 0.215,
"k": 0.1,
"timeToExpiry": 1
}
],
"surfaceConvention": "log_moneyness_forward",
"wingRule": "flat_vol"
}{
"book": {
"greeks": {
"delta": 0.63683059,
"gamma": 0.01876202,
"rho": 53.23248343,
"theta": -6.41402764,
"vega": 37.52403469
},
"mtm": 10.45057562
},
"computedAt": "2026-01-01T00:00:00.000Z",
"model": "black-scholes-merton+surface-tv-bilinear",
"optionStyle": "european",
"requestId": "00000000-0000-4000-8000-000000000006",
"results": [
{
"contribution": 10.45057562,
"forward": 100,
"greeks": {
"delta": 0.63683059,
"gamma": 0.01876202,
"rho": 53.23248343,
"theta": -6.41402764,
"vega": 37.52403469
},
"impliedVol": 0.2,
"index": 0,
"k": 0,
"optionType": "call",
"price": 10.45057562,
"quantity": 1,
"strike": 100,
"timeToExpiry": 1,
"underlying": 100
}
],
"surfaceMeta": {
"convention": "log_moneyness_forward",
"interpolation": "total_variance_bilinear",
"kCount": 3,
"pointCount": 9,
"tCount": 3,
"wingRule": "flat_vol"
},
"units": {
"delta": "dV/dS (share equivalent) at sticky/interpolated σ",
"gamma": "d²V/dS²",
"price": "option value in spot currency units",
"rho": "dV/dr per 1.0 absolute rate (not per 1%)",
"theta": "dV/dT per year (not per day)",
"vega": "dV/dσ per 1.0 absolute volatility (not per 1%)"
},
"warnings": []
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32346.jsonfor the price and payment options. - Pay. Call
GET https://derivatives-pricer-production.up.railway.app/v1/option/price-from-surface. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Solana, Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.08 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Solana, Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.08 | DCi9X5mmacNGLeJvCw9fdWgX3G8V4QquDn4EuXATkcYr | 300s |
| exact | Base eip155:8453 | USDC | $0.08 | 0x34cfb8bdbf16e4484b7da0ed31deed5771b16c8f | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "DCi9X5mmacNGLeJvCw9fdWgX3G8V4QquDn4EuXATkcYr",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "80000",
"amountUsd": 0.08,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x34cfb8bdbf16e4484b7da0ed31deed5771b16c8f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "80000",
"amountUsd": 0.08,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"book": {
"type": "object"
},
"computedAt": {
"type": "string"
},
"requestId": {
"type": "string"
},
"results": {
"type": "array"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"results",
"warnings",
"requestId",
"computedAt"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"book": {},
"computedAt": "string",
"requestId": "string",
"results": [
"value"
],
"warnings": [
"string"
]
},
"type": "string"
}Examples
curl -X POST 'https://derivatives-pricer-production.up.railway.app/v1/option/price-from-surface' -H 'Content-Type: application/json' --data '{"dividendYield":0,"interpolation":"total_variance_bilinear","options":[{"optionType":"call","quantity":1,"strike":100,"timeToExpiry":1,"underlying":100}],"rate":0.05,"surface":[{"iv":0.22,"k":-0.1,"timeToExpiry":0.25},{"iv":0.2,"k":0,"timeToExpiry":0.25},{"iv":0.23,"k":0.1,"timeToExpiry":0.25},{"iv":0.21,"k":-0.1,"timeToExpiry":0.5},{"iv":0.2,"k":0,"timeToExpiry":0.5},{"iv":0.22,"k":0.1,"timeToExpiry":0.5},{"iv":0.205,"k":-0.1,"timeToExpiry":1},{"iv":0.2,"k":0,"timeToExpiry":1},{"iv":0.215,"k":0.1,"timeToExpiry":1}],"surfaceConvention":"log_moneyness_forward","wingRule":"flat_vol"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://derivatives-pricer-production.up.railway.app/v1/option/price-from-surface", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"dividendYield\":0,\"interpolation\":\"total_variance_bilinear\",\"options\":[{\"optionType\":\"call\",\"quantity\":1,\"strike\":100,\"timeToExpiry\":1,\"underlying\":100}],\"rate\":0.05,\"surface\":[{\"iv\":0.22,\"k\":-0.1,\"timeToExpiry\":0.25},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":0.25},{\"iv\":0.23,\"k\":0.1,\"timeToExpiry\":0.25},{\"iv\":0.21,\"k\":-0.1,\"timeToExpiry\":0.5},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":0.5},{\"iv\":0.22,\"k\":0.1,\"timeToExpiry\":0.5},{\"iv\":0.205,\"k\":-0.1,\"timeToExpiry\":1},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":1},{\"iv\":0.215,\"k\":0.1,\"timeToExpiry\":1}],\"surfaceConvention\":\"log_moneyness_forward\",\"wingRule\":\"flat_vol\"}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://derivatives-pricer-production.up.railway.app/v1/option/price-from-surface", json=json.loads("{\"dividendYield\":0,\"interpolation\":\"total_variance_bilinear\",\"options\":[{\"optionType\":\"call\",\"quantity\":1,\"strike\":100,\"timeToExpiry\":1,\"underlying\":100}],\"rate\":0.05,\"surface\":[{\"iv\":0.22,\"k\":-0.1,\"timeToExpiry\":0.25},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":0.25},{\"iv\":0.23,\"k\":0.1,\"timeToExpiry\":0.25},{\"iv\":0.21,\"k\":-0.1,\"timeToExpiry\":0.5},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":0.5},{\"iv\":0.22,\"k\":0.1,\"timeToExpiry\":0.5},{\"iv\":0.205,\"k\":-0.1,\"timeToExpiry\":1},{\"iv\":0.2,\"k\":0,\"timeToExpiry\":1},{\"iv\":0.215,\"k\":0.1,\"timeToExpiry\":1}],\"surfaceConvention\":\"log_moneyness_forward\",\"wingRule\":\"flat_vol\"}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- derivatives-pricer-production.up.railway.app
- Endpoint
- https://derivatives-pricer-production.up.railway.app/v1/option/price-from-surface
- Machine-readable
/resources/32346.json