/v1/future
Future value of savings
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/savings-api/v1/future" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/savings-api/v1/future", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/savings-api/v1/future");
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/savings-api/v1/future",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "FV = initial·(1+r)^n + deposit·((1+r)^n − 1)/r, with r the monthly rate and n the number of months.",
"inputs": {
"years": 10,
"initial": 1000,
"annual_rate": 5,
"monthly_deposit": 200
},
"months": 120,
"future_value": 32703.47,
"interest_earned": 7703.47,
"total_contributions": 25000
},
"meta": {
"timestamp": "2026-06-04T18:38:15.846Z",
"request_id": "4d233409-e267-4c78-afd6-ba607e96de34"
},
"status": "ok",
"message": "Future value",
"success": true
}