/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}