Duration & convexity
API · /bond-api
Bond Pricing API
Fixed-income bond maths as an API, computed locally and deterministically. The price endpoint computes a bond's price from its face value, coupon rate, yield to maturity, years to maturity and coupon frequency — Price = Σ coupon/(1+y)ᵗ + face/(1+y)ⁿ with y the periodic yield — and reports the clean price as a percent of par, the annual coupon, the current yield and whether the bond trades at a premium, discount or par. The yield endpoint inverts this, solving for the yield to maturity that matches a given market price by bisection, with the current yield. The duration endpoint computes the Macaulay duration (the cash-flow-weighted average time), the modified duration (which approximates the percent price change per 1 % yield move), the convexity and the DV01 (the price change per basis point). A zero-coupon bond is just coupon rate 0. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, fixed-income, treasury and portfolio app developers, bond-analytics and risk tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is bond analytics; for option pricing use an options API and for NPV and IRR an NPV API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 83 ms
- Server probes · 24h
- Subscribers
- 3,011
- active
- Total calls
- 36
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 2,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- Price & YTM endpoints
- Deterministic, instant results
- Single-bond calculations
- Community support
Starter
€15.00 /month
- 40,000 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- All price/yield/duration endpoints
- Macaulay & modified duration
- Accrued interest & dirty price
- Email support
Pro
€39.00 /month
- 250,000 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- Convexity & sensitivity analytics
- Custom coupon frequencies & day-count
- Batch bond valuation
- Priority support
Mega
€119.00 /month
- 1,500,000 calls / month
- 60 requests / second
- Hard cap (429 above quota, no overage)
- High-throughput portfolio pricing
- Full yield-curve & duration suite
- Highest rate limits
- SLA & dedicated support
Built by
Related APIs
Other APIs with overlapping tags.
CAGR & Returns API
Investment growth and return maths as an API, computed locally and deterministically. The cagr endpoint computes the compound annual growth rate, CAGR = (end/begin)^(1/years) − 1 — the single smoothed annual rate that compounds a starting value into an ending value — together with the total return and the growth multiple, so €1,000 growing to €2,000 over five years works out to about 14.87 %/yr. The future-value endpoint compounds a single lump sum, FV = PV·(1+r)^n, and the present-value endpoint discounts a future lump sum back to today, PV = FV/(1+r)^n. The annualize endpoint converts a total holding-period return over a span of years into an equivalent annual rate, and back the other way. The doubling-time endpoint gives the exact time for money to double, ln2/ln(1+r), alongside the Rule-of-72, Rule-of-70 and Rule-of-69.3 quick estimates — at 8 % money doubles in about nine years. Rates are decimals (0.07 = 7 %) except the doubling endpoint which takes a percentage. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, investing, portfolio, robo-advisor, personal-finance and finance-education app developers, return-and-growth calculators, and dashboards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. These are single-sum growth and return metrics; for level-payment loans use a loan API and for regular-deposit savings a savings API.
api.oanor.com/cagr-api
Inflation Calculator API
Inflation-economics maths as an API, computed locally and deterministically. The adjust endpoint expresses a value across time in two ways — by an annual inflation rate over a number of years, V = amount·(1+r)^years, or by a ratio of consumer-price-index figures, V = amount·CPI_end/CPI_start — so an old price can be restated in today's money, with the total inflation over the period. The real-rate endpoint computes the real (inflation-adjusted) interest or investment rate from a nominal rate and an inflation rate using the Fisher equation, 1 + real = (1 + nominal)/(1 + inflation), alongside the rough nominal-minus-inflation approximation. The purchasing-power endpoint shows how inflation erodes money over time — the future buying power of today's amount, amount/(1+r)^years, the value lost and the larger amount needed to maintain the same purchasing power. Rates may be entered as a percent or a fraction and amounts in any currency. Everything is computed locally and deterministically, so it is instant and private. Ideal for personal-finance, budgeting, salary, retirement-planning and economics app developers, cost-of-living and real-return tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is inflation adjustment; for loan repayments use a loan API and for investment growth an investment API.
api.oanor.com/inflation-api
Options Pricing API
Black-Scholes option-pricing maths as an API, computed locally and deterministically. The black-scholes endpoint prices European call and put options from the spot price, strike, time to expiry, risk-free rate, volatility and an optional dividend yield — Call = S·e^(−qT)·Φ(d1) − K·e^(−rT)·Φ(d2) — returning both prices, the intermediate d1 and d2, and the put-call parity figure. The greeks endpoint computes the full set of option sensitivities for the call and the put: delta, gamma, theta (per year and per day), vega and rho, the quantities traders use to hedge and manage risk. The implied-volatility endpoint inverts the model, solving by bisection for the volatility that reproduces a given option market price. Rates, volatilities and dividend yields are decimals (0.05 = 5 %) and time to expiry is in years. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, trading, quantitative-finance and derivatives app developers, options analytics and risk tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is options pricing; for NPV and IRR use an NPV API and for CAGR and real returns an investment API.
api.oanor.com/options-api
NPV & IRR API
Discounted-cash-flow investment-appraisal maths as an API, computed locally and deterministically. The npv endpoint computes the net present value of a project from an upfront outlay, a series of future net cash flows and a discount rate, NPV = −initial + Σ CFₜ/(1+r)ᵗ, and reports the present value of the inflows, the profitability index and a plain accept-or-reject decision. The irr endpoint solves the internal rate of return — the discount rate that makes the NPV zero — by robust bisection over the cash flows, the figure you compare against a hurdle rate. The payback endpoint computes both the simple payback period, when the cumulative cash flow first recovers the outlay, and the discounted payback period, which discounts each flow first. Cash flows are passed as a comma-separated list, one per period. Everything is computed locally and deterministically, so it is instant and private. Ideal for finance, corporate, fintech and project-management app developers, capital-budgeting and feasibility tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is capital budgeting; for loan amortization use a loan API and for CAGR and real returns an investment API.
api.oanor.com/npv-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Bond Pricing API?
What's the rate limit for Bond Pricing API?
How much does Bond Pricing API cost?
Can I cancel my subscription anytime?
Is Bond Pricing API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/bond-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/bond-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/bond-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/bond-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.