Investment API
Comprehensive investment calculation API providing simple and advanced financial planning tools. Calculate compound interest, retirement planning, tax-optimized investments, portfolio analytics, mortgage calculations, and real estate investment analysis. Perfect for fintech applications, financial planning tools, and educational platforms.
Investment API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Simple Calculators | ||
| POST |
calculate_investment_growth_investment_growth_post /investment-growth |
Calculate investment growth projection for a lump sum investment. This endpoint projects: - Future value of initial investment - Total growth amount and percentage - Year-by-year… |
| POST |
calculate_compound_interest_compound_interest_post /compound-interest |
Calculate compound interest with regular monthly contributions. This endpoint calculates the future value of an investment with: - Initial principal amount - Regular monthly… |
| POST |
calculate_simple_savings_simple_savings_post /simple-savings |
Calculate simple savings with monthly deposits and interest. This endpoint calculates: - Total amount saved through regular deposits - Interest earned over time - Final savings… |
| POST |
calculate_time_to_goal_time_to_goal_post /time-to-goal |
Calculate time needed to reach a financial goal. This endpoint determines: - Years and months needed to reach target amount - Total contributions required - Interest that will be… |
| Advanced Calculators | ||
| POST |
calculate_dollar_cost_averaging_dollar_cost_averaging_post /dollar-cost-averaging |
Analyze dollar cost averaging strategy vs lump sum investment. This endpoint provides: - DCA vs lump sum comparison - Average cost per share analysis - Month-by-month investment… |
| POST |
calculate_advanced_compound_advanced_compound_post /advanced-compound |
Calculate advanced compound interest with tax and inflation adjustments. This endpoint provides comprehensive analysis including: - Tax impact on investment gains - Inflation… |
| POST |
calculate_safe_withdrawal_rate_safe_withdrawal_rate_post /safe-withdrawal-rate |
Calculate safe withdrawal rate for retirement portfolio. This endpoint determines: - Safe annual withdrawal amount - Withdrawal rate percentage - Success probability based on… |
| POST |
calculate_retirement_planning_retirement_planning_post /retirement-planning |
Comprehensive retirement planning analysis. This endpoint calculates: - Projected retirement balance - Income replacement ratio - Sustainable retirement income - Contribution… |
| Tax-Optimized Calculators | ||
| POST |
calculate_tax_loss_harvesting_tax_loss_harvesting_post /tax-loss-harvesting |
Optimize tax loss harvesting strategies for maximum tax savings. This endpoint provides: - Multiple harvesting strategy options - Tax savings calculations for each strategy -… |
| POST |
calculate_capital_gains_capital_gains_calculator_post /capital-gains-calculator |
Calculate capital gains taxes with holding period considerations. This endpoint determines: - Short-term vs long-term capital gains treatment - Applicable tax rates based on… |
| POST |
calculate_tax_advantaged_accounts_tax_advantaged_accounts_post /tax-advantaged-accounts |
Compare tax-advantaged account strategies and optimize allocation. This endpoint analyzes: - Traditional vs Roth 401(k) and IRA accounts - Current tax savings vs future tax… |
| Portfolio Analytics | ||
| POST |
calculate_inflation_impact_inflation_impact_post /inflation-impact |
Analyze inflation impact on investment real returns and purchasing power. This endpoint calculates: - Real vs nominal investment values - Purchasing power erosion over time -… |
| POST |
calculate_monte_carlo_simulation_monte_carlo_simulation_post /monte-carlo-simulation |
Run Monte Carlo simulation for investment outcome probabilities. This endpoint generates: - Probability distributions of final portfolio values - Best/worst case scenarios with… |
| POST |
calculate_portfolio_rebalancing_portfolio_rebalancing_post /portfolio-rebalancing |
Analyze portfolio rebalancing needs and calculate optimal trades. This endpoint provides: - Asset-by-asset rebalancing analysis - Transaction cost calculations - Net benefit… |
| POST |
calculate_fee_impact_fee_impact_analysis_post /fee-impact-analysis |
Calculate the long-term impact of fees on investment growth. This endpoint analyzes: - Total fees paid over investment period - Opportunity cost of fees (lost compounding) -… |
| Loan & Mortgage Calculators | ||
| POST |
calculate_loan_comparison_loan_comparison_post /loan-comparison |
Compare multiple loan options side-by-side for optimal decision making. This endpoint analyzes: - Monthly payment differences - Total cost comparison including fees - Effective… |
| POST |
calculate_debt_payoff_strategy_debt_payoff_strategy_post /debt-payoff-strategy |
Optimize debt payoff strategies using avalanche vs snowball methods. This endpoint provides: - Debt avalanche strategy (highest interest first) - Debt snowball strategy (smallest… |
| POST |
calculate_mortgage_mortgage_calculator_post /mortgage-calculator |
Calculate comprehensive mortgage details with amortization schedule. This endpoint provides: - Monthly payment breakdown (P&I, taxes, insurance, PMI, HOA) - Total loan cost and… |
| Real Estate Investment | ||
| POST |
calculate_rental_property_roi_rental_property_roi_post /rental-property-roi |
Comprehensive rental property ROI analysis with cash flow projections. This endpoint provides: - Monthly cash flow breakdown with vacancy allowance - 10-year annual projections… |
| POST |
calculate_real_estate_appreciation_real_estate_appreciation_post /real-estate-appreciation |
Real estate appreciation and total return analysis with multiple scenarios. This endpoint analyzes: - Base, conservative, and optimistic appreciation scenarios - Total return… |
| health | ||
| GET |
health_check_health_get /health |
Detailed health check endpoint |
| Other endpoints | ||
| GET |
root__get / |
Health check endpoint |
Investment API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $6.9 / month | — |
|
| ULTRA | $44.9 / month | — |
|
| MEGA | $249.9 / month | — |
|