Skip to content
GET /v1/quote

Live best bid/ask/mid/spread

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/swissquote-api

It works. Grab an API key and use it in your project.

Get an API key

Code 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_..."}
)

Example response

A real response from this endpoint, captured by the latest 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
}