x402
utility

Compute Black-Scholes d1 and d2 from spot/strike/vol/time/rate. Call when you need BS inputs for Greeks without a market feed. Returns d1 and d2 as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

post/api/v1/x402/bs-d1-d2

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/bs-d1-d2
  • Auth: none declared

Request body

spotnumber required

Underlying spot price (>0)

strikenumber required

Option strike price (>0)

volnumber required

Annualized volatility as decimal (>0), e.g. 0.2 = 20%

t_yearsnumber required

Time to expiry in years (>0)

ratenumber

Risk-free rate as decimal (optional, default 0)

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
d1number
d2number

Changes

No recorded changes to this operation across all 1 revision of this API.