CD Calculator API - certificate of deposit interest, APY/APR, tax & schedule
cd_calculatorCalculate Certificate of Deposit (CD) maturity value, total compound interest, effective APY and equivalent nominal APR from deposit, term (months or years), and compounding frequency (daily, monthly, quarterly, semiannually, annually, continuous). Supports optional marginal tax rate (after-tax return and after-tax APY), inflation-adjusted real value, early withdrawal penalty estimator, 3-to-60-month term comparison, and optional monthly and yearly growth schedule. 0 AI, deterministic, < 5 ms, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.001/call via x402 at https://radarbg.com/x402/cd-calculator.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rate": 5,
"term": 12,
"deposit": 10000,
"taxRate": 22,
"rateType": "apy",
"termUnit": "months",
"compounding": "daily"
},
"name": "cd_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Interest rate (%) | |
| term | No | CD term length (in termUnit, e.g. 12 months or 3 years) | |
| deposit | No | Initial CD deposit amount (e.g. 10000) | |
| taxRate | No | Optional marginal tax rate on interest (%) | |
| rateType | No | 'apy' = annual percentage yield; 'apr' = nominal stated interest rate | apy |
| termUnit | No | Unit for term: 'months' or 'years' | months |
| startMonth | No | Optional start month YYYY-MM (defaults to next month) | |
| compounding | No | Interest compounding frequency | daily |
| penaltyDays | No | Optional early withdrawal penalty in days of interest (e.g. 90 or 180) | |
| inflationRate | No | Optional expected annual inflation rate (%) | |
| includeSchedule | No | Include full monthly and yearly growth schedule |