Zum Inhalt springen
GET /v1/future-value

Lump-sum future value

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cagr-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/cagr-api/v1/future-value" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cagr-api/v1/future-value", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cagr-api/v1/future-value");
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/cagr-api/v1/future-value",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Lump-sum compound growth FV = PV·(1+r)^n. €1,000 at 7 % for 10 periods grows to ≈€1,967.15.",
        "growth": 967.151357,
        "inputs": {
            "rate": 0.07,
            "periods": 10,
            "present_value": 1000
        },
        "future_value": 1967.151357
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:25.757Z",
        "request_id": "26cac6c9-1405-41b1-946d-d8ed2609af16"
    },
    "status": "ok",
    "message": "Future value",
    "success": true
}