/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/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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}