/v1/quote
Live best bid/ask/mid/spread
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/swissquote-api/v1/quote" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/swissquote-api/v1/quote", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/swissquote-api/v1/quote");
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/swissquote-api/v1/quote",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"ask": 1.15618,
"bid": 1.15616,
"mid": 1.15617,
"base": "EUR",
"quote": "USD",
"source": "Swissquote",
"spread": 2.0e-5,
"timestamp": "2026-06-10T14:02:41.550Z",
"instrument": "EUR/USD",
"spread_pct": 0.00173
},
"meta": {
"timestamp": "2026-06-10T14:02:41.669Z",
"request_id": "edde2df0-f655-433a-b584-5b895a44a886"
},
"status": "ok",
"message": "Quote retrieved successfully",
"success": true
}