Compound annual growth rate
API · /investment-api
Investment Return API
Investment return analysis as an API, computed locally and deterministically. The cagr endpoint computes the compound annual growth rate, (end/begin)^(1/years) − 1 — the single constant yearly rate that turns a starting value into an ending value — along with the total return and growth multiple, or runs the other way to project an ending value from a CAGR. The doubling endpoint gives how long an investment takes to double at a given rate, both the exact figure ln(2)/ln(1+r) and the quick Rule-of-72, -70 and -69.3 estimates, or inverts it to the rate needed to double within a target time. The real-return endpoint applies the Fisher equation, real = (1+nominal)/(1+inflation) − 1, to strip inflation out of a headline return — or works backwards to the nominal return needed for a target real return — showing how the rough nominal-minus-inflation shortcut drifts at higher rates. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, robo-advisor, portfolio and personal-finance app developers, return and retirement calculators, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This analyses a lump-sum return; for regular-deposit savings projections use a savings API and for loan amortization a loan API.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 80 ms
- Server probes · 24h
- Subscribers
- 4,266
- active
- Total calls
- 76
- 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)
- CAGR endpoint (end/begin)^(1/years)
- Deterministic, instant results
- Community support
Starter
€15.00 /month
- 40,000 calls / month
- 5 requests / second
- Hard cap (429 above quota, no overage)
- CAGR + total-return calculations
- Inflation-adjusted real returns
- JSON responses, no rate spikes
- Email support
Pro
€39.00 /month
- 250,000 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- High-volume CAGR batch use
- Multi-period return analysis
- Inflation & nominal vs real toggle
- Priority support
Mega
€119.00 /month
- 1,537,000 calls / month
- 60 requests / second
- Hard cap (429 above quota, no overage)
- Bulk portfolio return computation
- Highest throughput for finance dashboards
- Full inflation-adjustment suite
- SLA-backed priority support
Built by
Related APIs
Other APIs with overlapping tags.
Investment Growth API
How fast each economy's businesses and governments are investing in new capital, on one comparable screen — real gross fixed capital formation growth from the OECD's official Quarterly National Accounts as an API, live, no key. Gross fixed capital formation — investment in machinery, buildings, infrastructure and equipment — is the most cyclical and forward-looking component of GDP: firms only commit to new plant and projects when they are confident about demand, so investment turns down before recessions and surges first in recoveries. Its year-on-year change is one of the cleanest reads on the business cycle, and a swing factor that moves the currency and the capex-exposed parts of the equity market. The OECD harmonises and seasonally adjusts the real, chain-linked-volume figures so they are genuinely comparable across countries. This API serves the two growth rates people quote — quarter-on-quarter (the latest quarter's pace) and year-on-year (versus the same quarter a year earlier) — for real investment. The board endpoint ranks every economy by its year-on-year investment growth, so you can see where capex is booming and where it is collapsing. The momentum endpoint ranks by the latest quarter-on-quarter move. The country endpoint gives one economy's investment growth with a plain-language read. Each reading carries its own quarter and discontinued series are excluded, so the board is genuinely current. The capital-investment / capex cut — distinct from the headline GDP-growth board (this isolates the investment component), the consumer-demand and trade boards, the annual IMF World Economic Outlook database, and the generic multi-provider data aggregator. Figures are quarterly, in percent.
api.oanor.com/investmentgrowth-api
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
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
Moldova Foreign Trade API
Official foreign-trade statistics for the Republic of Moldova — exports, imports and the trade balance — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (table EXT015000), all values in millions of US dollars. The trade endpoint returns the latest reported month with exports, imports, the trade balance and the export-to-import cover ratio. The series endpoint returns the monthly history of exports, imports and balance, parameterised by the number of months. The partners endpoint breaks the latest month down by partner-country group — total, CIS countries, the European Union and the rest of the world — each with its exports, imports and balance, showing where Moldova trades. The annual endpoint returns full-year totals for exports, imports and balance across recent years. Figures are published directly by the statistics bureau, not modelled, and refreshed from source with a short server-side cache and keep-warm. Ideal for macro and trade dashboards, emerging-market and CIS/EU economics trackers, supply-chain and current-account analysis, and fintech needing a clean structured trade feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.
api.oanor.com/moldova-trade-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Investment Return API?
What's the rate limit for Investment Return API?
How much does Investment Return API cost?
Can I cancel my subscription anytime?
Is Investment Return 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/investment-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/investment-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/investment-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/investment-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.