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/loan-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Amounts in any single currency; annual_rate in percent; term as 'years' or 'months'. Fixed-rate, fully-amortizing loans (mortgages, auto and personal loans).",
        "service": "loan-api",
        "formulae": {
            "payment": "M = P·r·(1+r)ⁿ / ((1+r)ⁿ − 1)",
            "principal": "P = M·((1+r)ⁿ − 1) / (r·(1+r)ⁿ)",
            "monthly_rate": "r = annual_rate / 100 / 12",
            "zero_interest": "M = P / n"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/payment": "Monthly payment, total paid and total interest for a fixed-rate loan.",
            "GET /v1/schedule": "Interest/principal split and remaining balance at a given payment number.",
            "GET /v1/affordability": "Largest principal a given monthly payment can service."
        },
        "description": "Loan and mortgage amortization calculator: monthly payment and total interest, per-payment interest/principal split with running balance, and the maximum principal a monthly budget can afford."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:09.187Z",
        "request_id": "0a7e8b6b-cd6d-4724-a853-d329ea35cab3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}