Calculate APR and APY for a loan
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
APR calculation parameters
loan_amount
integer
required
The loan principal amount in centsinterest_is_amortized
boolean
Defaults to false
Whether the interest is amortized. If set to False, interest is based on the original principal balance and follows a simple interest model.true/falseinterest_rate_percent
number
required
The nominal annual interest rate as a percentage (e.g., 5.0 for 5%)term_length
integer
required
Number of periods in loan termperiod_interval
string
enum
Defaults to monthly
The interval at which payments are made (e.g., monthly, biweekly, weekly, daily, annually)
Allowed:monthly,biweekly,weekly,daily,annually
Response Codes
200
Returns the calculated APR and APY as percentages400
Your request is invalid.422
Your request failed validation.500
A server error has occurred.
Example Request
curl --request POST \
--url https://contact/%20sales%20to%20enable%20your%20sandbox/core/v1/calculations/apr \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"interest_is_amortized": false,
"period_interval": "monthly"
}
'
Try It!
Click Try It! to start a request and see the response here!