QuantOracle API
73 deterministic quant finance endpoints. The same engine that powers the calculators on this site is available as a JSON API for your own applications.
Endpoints
73
Free tier
1,000/day
Latency p50
~70 ms
Quick start
No signup, no API key for the first 1,000 calls per IP per day. Just POST JSON.
curl -X POST https://api.quantoracle.dev/v1/options/price \
-H "Content-Type: application/json" \
-d '{"S":100,"K":100,"T":0.25,"r":0.05,"sigma":0.2,"option_type":"call"}'
# → {"price":4.615,"breakeven":104.615,"prob_itm":0.5299,
# "greeks":{"delta":0.569,"gamma":0.039,"vega":0.196,
# "theta":-0.029,"rho":0.131}, ...}Endpoint catalog
See the full machine-readable spec at /openapi.json or the human-readable docs at /tools. Categories include:
- Options pricing — Black-Scholes, implied vol, payoff diagrams, multi-leg strategies
- Derivatives — binomial trees, barrier, Asian, lookback, volatility surface
- Risk metrics — Sharpe, Sortino, VaR, CVaR, drawdown, Kelly, position sizing
- Portfolio — mean-variance optimization, risk parity, rebalancing, health scoring
- Statistics — regression, cointegration, Hurst, GARCH, distribution fits
- Crypto / DeFi — impermanent loss, liquidation price, funding rate, DEX slippage
- FX — interest rate parity, PPP, carry trade, forwards
- Macro / TVM — Taylor Rule, real yield, NPV, IRR, CAGR
- Composite workflows — backtest, hedging recommendations, full risk analysis, rebalance planning
Pricing
- Free tier: 1,000 calls per IP per day, no signup, no API key.
- Pay-per-call (x402): $0.002–$0.10 per call depending on complexity. Settled in USDC on Base or Solana via the x402 protocol — your client wallet pays automatically when you exceed the free tier.
- Coming soon — flat-rate API key tier: $49–$499/mo for credit-card customers who want predictable billing instead of per-call USDC settlement. Drop a note in GitHub issues if you'd be interested.
SDKs and integrations
- Python (LangChain):
pip install langchain-quantoracle - MCP server:
npx quantoracle-mcp - A2A AgentCard:
/.well-known/agent-card.json— 73 skills, schema v0.2 - OpenAPI spec:
/openapi.json
Try it without writing code
Use the calculators on this site — every page is a thin wrapper around an API endpoint. View source on any calculator and you'll see the same POST body you can drop into your own client.