Vai al contenuto
GET /v1/meta

Service metadata and endpoint list

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/fxforward-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Pair is BASE+QUOTE (EURUSD). Rates are annual decimals (0.05 = 5%). Money-market t = days/basis (basis 360 default, or 365). pip = 0.0001 (0.01 for JPY).",
        "source": "Computed in-process (covered interest-rate parity)",
        "service": "fxforward-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/parity": "Covered interest-rate parity check + cross-currency basis (pair=EURUSD, spot=1.10, forward=1.1213, rate_base=0.03, rate_quote=0.05, days=360).",
            "GET /v1/points": "Forward-points curve across standard tenors (pair=EURUSD, spot=1.10, rate_base=0.03, rate_quote=0.05).",
            "GET /v1/forward": "Outright forward rate, points & premium/discount (pair=EURUSD, spot=1.10, rate_base=0.03, rate_quote=0.05, days=90).",
            "GET /v1/implied": "Solve one rate from a quoted forward (pair=EURUSD, spot=1.10, forward=1.1213, days=360, rate_base=0.03)."
        },
        "description": "Live FX forward and interest-rate-parity maths, computed on demand and deterministically. The forward endpoint returns the outright forward rate, forward points (price and pips) and the annualised forward premium/discount from a spot rate, the two currencies' interest rates and a tenor; the points endpoint returns the forward-points curve across standard tenors; the implied endpoint solves for one currency's interest rate from a quoted forward; the parity endpoint checks covered interest-rate parity, comparing a market forward to its theoretical value and reporting the cross-currency basis. Works for any currency pair. A forwards-and-parity engine, distinct from spot calculators and risk tools.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-10T22:56:12.334Z",
        "request_id": "9393acb5-8369-4520-8fa0-58217a2e84ba"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}