curl --request GET \
--url https://api.example.com/v1/finance/compound-interest \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Calculate compound interest.
curl --request GET \
--url https://api.example.com/v1/finance/compound-interest \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Initial principal
Annual interest rate (as percentage, e.g., 5 for 5%)
Time in years
Compounding frequency per year
x >= 1Successful Response