/v1/forward
Outright forward rate, points & premium/discount
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/fxforward-api/v1/forward" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fxforward-api/v1/forward", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fxforward-api/v1/forward");
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/forward",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"days": 90,
"note": "EUR trades at a forward premium vs USD (driven by the rate differential 2%).",
"pair": "EUR/USD",
"spot": 1.1,
"source": "FXFORWARD",
"rate_base": 0.03,
"rate_quote": 0.05,
"base_status": "premium",
"tenor_years": 0.25,
"forward_rate": 1.10545906,
"annualized_pct": 1.9851,
"daycount_basis": 360,
"forward_points": 0.00545906,
"forward_points_pips": 54.59
},
"meta": {
"timestamp": "2026-06-10T22:56:12.133Z",
"request_id": "8496ef69-2cb8-4f3e-bc72-8d30fa90ebfe"
},
"status": "ok",
"message": "Forward computed",
"success": true
}