The public API accepts a JSON POST at /api/v1/calculate. No account or API key is required. Version 1.1.0 exposes 10 scoped tools; each is intended for scenario maths, not financial advice or filing.
sipMonthly SIP future value, invested amount and modelled growth.
lumpsumOne-time investment compounded at the entered annual rate.
emiGeneric fixed-rate EMI using amount, rate and years.
delaySIP start-now vs delayed-start gap at the same goal date.
inflationFuture or past purchasing-power equivalent for an entered inflation rate.
ppfAnnual-deposit PPF maturity under the entered rate and tenure.
home-loanHome-loan EMI, total payment and interest from principal, rate and tenure.
stock-averageWeighted average buy price across up to 50 entered lots.
salaryCTC breakup and estimated new-regime monthly in-hand using the same scoped salary model as the site.
income-taxNew-vs-old ordinary slab-rate estimate up to ₹50 lakh; old-regime deductions must already be verified as eligible.
Request examples
Conventions and scope
- SIP and delay: beginning-of-month deposits; nominal annual return divided by 12.
- Lumpsum: annual compounding.
- EMI/home loan: fixed nominal annual rate divided monthly.
- PPF: annual deposit and annual compounding, matching the site's simplified yearly schedule.
- Salary: estimated using the site's current new-regime salary model; employer PF and gratuity are separated from in-hand cash.
- Income tax: ordinary slab-rate income only, gross income capped at ₹50 lakh in this API route so surcharge cases stay outside the simplified endpoint. Verify deduction eligibility before sending the amount.
Limits and privacy
JSON bodies are limited to 4 KB. Numeric ranges are validated per tool, stock-average accepts at most 50 lots, invalid inputs return 400, unsupported methods return 405, and non-JSON requests return 415. Send scenario numbers only—never names, account numbers, PAN, passwords or other personal information. The service does not use an application database; hosting request logs may exist.
Browser SDK
The browser calculation layer remains available at /assets/decision-math.js. The API is deliberately smaller than the full website calculator inventory so only well-scoped, stable calculations are exposed publicly.