/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/carrytrade-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/carrytrade-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/carrytrade-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/carrytrade-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": "rate_long = yield of the bought currency, rate_short = yield of the funding currency, both annual % (5.5 = 5.5%). notional, leverage, days and financing_spread optional.",
"source": "Computed in-process from caller-supplied interest rates (no upstream)",
"service": "carrytrade-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/carry": "Differential, carry income & leveraged return (rate_long=5.5&rate_short=0.5¬ional=100000&leverage=10).",
"GET /v1/rollover": "Daily/weekly/monthly swap (rate_long=5.5&rate_short=0.5¬ional=100000).",
"GET /v1/breakeven": "Adverse spot move the carry cushions (rate_long=5.5&rate_short=0.5&days=365&spot=150)."
},
"description": "Live carry-trade and rollover analytics computed on demand from two interest rates. The carry endpoint returns the interest-rate differential, the carry income over a period, the financing-adjusted yield and the leveraged return on margin; the rollover endpoint returns the daily/weekly/monthly swap (positive when you earn carry, negative when you pay); the breakeven endpoint returns how far the spot can move against the position before the carry is wiped out. An interest-rate / carry engine, distinct from pip/lot calculators and price tools. Computed locally, nothing stored.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:49:22.794Z",
"request_id": "87fbf2af-90a1-4158-885b-0605efc986e2"
},
"status": "ok",
"message": "Meta",
"success": true
}