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.

sip

Monthly SIP future value, invested amount and modelled growth.

lumpsum

One-time investment compounded at the entered annual rate.

emi

Generic fixed-rate EMI using amount, rate and years.

delay

SIP start-now vs delayed-start gap at the same goal date.

inflation

Future or past purchasing-power equivalent for an entered inflation rate.

ppf

Annual-deposit PPF maturity under the entered rate and tenure.

home-loan

Home-loan EMI, total payment and interest from principal, rate and tenure.

stock-average

Weighted average buy price across up to 50 entered lots.

salary

CTC breakup and estimated new-regime monthly in-hand using the same scoped salary model as the site.

income-tax

New-vs-old ordinary slab-rate estimate up to ₹50 lakh; old-regime deductions must already be verified as eligible.

Request examples


    
    


    

Conventions and scope

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.