/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/cagr-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cagr-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cagr-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/cagr-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": "Rates as decimals (0.07 = 7 %) except doubling-time which takes rate_percent. Single-sum growth and return metrics; for level-payment loans use a loan API and for regular-deposit savings a savings API.",
"service": "cagr-api",
"endpoints": {
"GET /v1/cagr": "Compound annual growth rate from begin/end value and years.",
"GET /v1/meta": "This document.",
"GET /v1/annualize": "Convert a total return over a span into an annual rate (or back).",
"GET /v1/future-value": "Lump-sum compound growth FV = PV·(1+r)^n.",
"GET /v1/doubling-time": "Exact doubling time and Rule-of-72/70/69.3 estimates.",
"GET /v1/present-value": "Discount a future lump sum PV = FV/(1+r)^n."
},
"description": "Investment growth and return: CAGR, lump-sum future/present value, annualizing a total return, and doubling time (Rule of 72)."
},
"meta": {
"timestamp": "2026-06-05T19:50:25.902Z",
"request_id": "9d854386-f02f-4c5d-ab21-784bc0032ef8"
},
"status": "ok",
"message": "Meta",
"success": true
}