Savings
Calculate Interest
Calculate potential interest
POST
Investment Planning: Project potential earnings on investments with detailed calculation breakdowns for financial planning.
Request Headers
Your API key for authentication
Request Body
Principal amount to invest
Investment duration in days
Optional custom interest rate (annual percentage)
Response
Principal amount for the calculation
Duration of the investment in days
Annual interest rate applied to the calculation
Interest amount earned over the period
Total amount including principal and interest
Annual percentage yield
Status Codes
Status Code | Description |
---|---|
200 | Interest calculation completed successfully |
400 | Invalid request parameters |
500 | Internal Error |
Default Rate: If no custom rate is provided, the calculation uses the platform’s current base interest rate.
Simple Interest: The calculator uses a simple interest formula that divides the annual rate by 365 days for daily accrual.