Solve a level annuity
API · /financecalc-api
Investment Calculator API
Investment and capital-budgeting maths as an API. The npv endpoint computes the net present value of a series of cash flows at a discount rate (the first flow is usually the negative initial investment). The irr endpoint finds the internal rate of return — the discount rate at which the net present value is zero — by a robust bracketed search. The annuity endpoint solves a level (ordinary) annuity: give the rate, the number of periods and any one of the payment, present value or future value, and it returns the other two. The depreciation endpoint builds a full year-by-year schedule by the straight-line, declining-balance (any factor, including double-declining) or sum-of-the-years'-digits method, never depreciating below the salvage value. Rates may be entered as a percentage or a fraction. Everything is computed locally and deterministically, so it is instant and private. Ideal for investment analysis and capital budgeting, accounting and corporate-finance tools, business planning, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. This is investment and capital-budgeting maths; for loans, mortgages and compound interest use a financial-calculator API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 75 ms
- Server probes · 24h
- Subscribers
- 4,102
- active
- Total calls
- 100
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 7,535 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 7,535 calls/month
- 2 req/sec
- NPV + IRR + annuity + depreciation
- No credit card
Starter
€9.05 /month
- 17,050 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 17.05k calls/month
- 8 req/sec
- Cash-flow analysis
- Email support
Pro
€28.95 /month
- 221,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 221.5k calls/month
- 20 req/sec
- Capital-budgeting pipelines
- Priority support
Mega
€66.95 /month
- 1,150,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 1.15M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
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
Iran Rial Market API
Live free-market (bazaar) prices for the Iranian rial against foreign currencies, gold and gold coins. Iran's official rate is fixed and unused in practice; the real economy trades on the open bazaar rate, which is what this API exposes. The price endpoint returns one instrument's latest close/open/high/low, day change and date — in both rial and toman. The currencies endpoint returns every foreign currency (USD, EUR, GBP, AED, TRY, CNY, RUB …) against the rial at once. The gold endpoint returns Iran's gold market — the global ounce, 18k and 24k gram, the mesghal, and the famous gold coins (Emami, Bahar Azadi, half, quarter, gerami). The history endpoint returns an instrument's daily OHLC series. Read live, nothing stored. This is Iran's own free-market rial/gold/coin layer — distinct from official central-bank feeds and from other countries' parallel-dollar APIs.
api.oanor.com/irr-api
Depreciation Calculator API
Asset-depreciation maths as an API, computed locally and deterministically, returning the full year-by-year schedule. The straight-line endpoint spreads the depreciable amount evenly, annual = (cost − salvage) / life, with the book value falling to the salvage value over the asset life. The declining-balance endpoint is accelerated — each year depreciates the current book value times factor/life (a factor of 2 is the double-declining method) — and it is capped so the book value never drops below salvage. The sum-of-years-digits endpoint is also accelerated, front-loading the expense: year t depreciates (remaining life / SYD) × (cost − salvage), where SYD = n(n+1)/2. Each method returns the depreciation, accumulated depreciation and book value for every year. Everything is computed locally and deterministically, so it is instant and private. Ideal for accounting, ERP, asset-management and bookkeeping app developers, fixed-asset registers, and finance dashboards. Pure local computation — no key, no third-party service, instant. Live, nothing stored. General accounting maths — tax rules such as MACRS differ by jurisdiction. 3 endpoints. This is asset depreciation; for NPV and IRR use a finance-calc API and for loans use a loan API.
api.oanor.com/depreciation-api
Moldova Inflation & CPI API
Official consumer-price inflation for the Republic of Moldova — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (tables PRE012600, PRE012200 and PRE012800). The cpi endpoint returns the latest reported month with headline year-on-year inflation and the month-on-month price change. The series endpoint returns the monthly history of year-on-year and month-on-month inflation, parameterised by the number of months. The groups endpoint breaks the latest month down across the major divisions — food goods, non-food goods and services — each with its year-on-year rate, showing where price pressure sits. The core endpoint returns Moldova's core-inflation measures, computed by excluding volatile components such as food, energy and regulated prices, each with year-on-year and month-on-month change — the gauges central banks watch for underlying trend. All figures are published directly by the statistics bureau, not modelled, and refreshed from source behind a short server-side cache with keep-warm. Ideal for macro and emerging-market dashboards, CIS and EU-candidate economics trackers, cost-of-living and monetary-policy tools, and fintech needing a clean structured inflation feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.
api.oanor.com/moldova-cpi-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Investment Calculator API?
What's the rate limit for Investment Calculator API?
How much does Investment Calculator API cost?
Can I cancel my subscription anytime?
Is Investment Calculator 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/financecalc-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/financecalc-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/financecalc-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/financecalc-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.