Zum Inhalt springen
GET /v1/meta

Spec

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Money in any currency, annual_rate as a percentage, compounded monthly. Deposits assumed at period end (ordinary annuity). Estimates — not financial advice.",
        "service": "savings-api",
        "formulae": {
            "goal": "PMT = (target − P·(1+r)^n)·r / ((1+r)^n − 1)",
            "emergency": "target = months × monthly_expenses",
            "future_value": "FV = P·(1+r)^n + PMT·((1+r)^n − 1)/r"
        },
        "endpoints": {
            "GET /v1/goal": "Monthly deposit needed to reach a savings target by a date.",
            "GET /v1/meta": "This document.",
            "GET /v1/future": "Future value of an initial sum plus monthly deposits at an interest rate.",
            "GET /v1/emergency": "Emergency-fund target and the time to reach it."
        },
        "description": "Personal-savings goal calculator: future value of regular savings, the monthly deposit to reach a target, and emergency-fund planning."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:16.066Z",
        "request_id": "1b66ba42-8d43-4fd9-bf0e-0e5bcb4acb73"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}