Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/investment-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}