Skip to content
GET /v1/future

Future value of savings

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/savings-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}