Catalog/loan-effective-annual-rate

Calculators

Effective annual rate calculator API

Converts a nominal APR to the effective annual rate via EAR = (1 + APR/m)^m - 1 for a given compounding frequency. Answers 'What is the effective annual rate?','How much does compounding add to the nominal rate?'.

Price$0.01per request
MethodPOST
Route/v1/calc/loan-effective-annual-rate
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
loanearaprcompoundingrateinterestcalculator
API URLhttps://x402.hexl.dev/v1/calc/loan-effective-annual-rate
Integration docs
Example request
{
  "nominalAprPct": 12,
  "compoundsPerYear": 12
}
Example response
{
  "nominalAprPct": 12,
  "compoundsPerYear": 12,
  "effectiveAnnualRatePct": 12.6825,
  "spreadPct": 0.6825,
  "formula": "EAR = (1 + APR/m)^m - 1",
  "breakdown": {
    "nominalDecimal": 0.12,
    "perPeriodRate": 0.01
  }
}
Input schema
{
  "type": "object",
  "required": [
    "nominalAprPct",
    "compoundsPerYear"
  ],
  "properties": {
    "nominalAprPct": {
      "type": "number",
      "description": "Nominal annual percentage rate.",
      "examples": [
        12
      ]
    },
    "compoundsPerYear": {
      "type": "number",
      "description": "Compounding periods per year (12=monthly, 365=daily).",
      "examples": [
        12
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}