Skip to main content
POST
Calculate Interest
Investment Planning: Project potential earnings on investments with detailed calculation breakdowns for financial planning.

Request Headers

string
required
Your API key for authentication

Request Body

number
required
Principal amount to invest
number
required
Investment duration in days
number
Optional custom interest rate (annual percentage)

Response

number
Principal amount for the calculation
number
Duration of the investment in days
number
Annual interest rate applied to the calculation
string
Interest amount earned over the period
string
Total amount including principal and interest
string
Annual percentage yield
object

Status Codes

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.