/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/investment-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/investment-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/investment-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/investment-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Rates and returns in percent; values in any single currency. Analyses a lump-sum return — for regular-deposit projections use a savings API and for loan amortization a loan API.",
"service": "investment-api",
"formulae": {
"cagr": "(end/begin)^(1/years) − 1",
"rule_of_72": "72 / rate%",
"fisher_real": "(1+nominal)/(1+inflation) − 1",
"doubling_exact": "ln(2)/ln(1+r)"
},
"endpoints": {
"GET /v1/cagr": "CAGR from a begin/end value, or project an ending value from a CAGR.",
"GET /v1/meta": "This document.",
"GET /v1/doubling": "Doubling time from a rate, or the rate needed to double in a given time.",
"GET /v1/real-return": "Inflation-adjusted real return (or the nominal return for a target real return)."
},
"description": "Investment return analysis: compound annual growth rate (CAGR), doubling time (Rule of 72 and the exact figure), and inflation-adjusted real return via the Fisher equation."
},
"meta": {
"timestamp": "2026-06-04T18:38:08.699Z",
"request_id": "0880db31-2c67-4535-86f8-832c60d99675"
},
"status": "ok",
"message": "Meta",
"success": true
}