{"name":"investment-calc-api","version":"1.0.0","description":"Compound-interest & time-value-of-money calculator. Future/present value, annuities (ordinary & due), required-contribution goal solver, CAGR, rule of 72, retirement 4%-rule drawdown, inflation-adjusted real value. Multiple compounding frequencies incl. continuous. Deterministic, no DB.","endpoints":{"POST /compound":"FV of principal + periodic contributions","POST /future-value":"FV of a single lump sum","POST /present-value":"PV needed today for a target FV","POST /contribution":"Required deposit to reach a goal","POST /cagr":"Compound annual growth rate","POST /rule-of-72":"Years to double / required rate","POST /annuity":"FV or PV of a level annuity","POST /retirement":"Sustainable withdrawal (4% rule)","POST /inflation":"Inflation-adjusted real value"},"example":"POST /compound {\"principal\":1000,\"contribution\":200,\"annual_rate\":7,\"years\":30,\"compounding\":\"monthly\"}","notes":"Money is nominal in your input currency. contribution_timing=end|begin. compounding=annually|semiannually|quarterly|monthly|weekly|daily|continuous."}