/v1/compound-interest
Compound interest
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/fincalc-api/v1/compound-interest" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fincalc-api/v1/compound-interest", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fincalc-api/v1/compound-interest");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/fincalc-api/v1/compound-interest",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"years": 20,
"principal": 10000,
"annual_rate": 7,
"future_value": 300850.72,
"interest_earned": 170850.72,
"compounds_per_year": 12,
"total_contributions": 130000,
"contribution_per_period": 500
},
"meta": {
"timestamp": "2026-06-02T16:52:02.926Z",
"request_id": "989624e9-4e07-496e-8aa6-288ca0908d42"
},
"status": "ok",
"message": "Compound interest",
"success": true
}