Naar de inhoud
GET /v1/quote

Company quote with beta & foreign holdings

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/cse-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/cse-api/v1/quote" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cse-api/v1/quote", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cse-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/cse-api/v1/quote",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "isin": "LK0092N00003",
        "name": "JOHN KEELLS HOLDINGS PLC",
        "note": "The full quote and fundamentals for one Colombo Stock Exchange company — last price, day and 52-week range, change, market cap, today's volume and turnover, foreign-holding percentage and the beta versus the ASPI and S&P SL20 indices. Pass symbol (e.g. LOLC.N0000, JKH.N0000).",
        "change": 0.3,
        "source": "CSE",
        "symbol": "JKH.N0000",
        "day_low": 19.7,
        "day_high": 20,
        "beta_aspi": 1.4364177,
        "last_price": 20,
        "market_cap": 354233524900,
        "week52_low": 17.8,
        "week52_high": 26.1,
        "beta_sp_sl20": 1.3333858,
        "change_percent": 1.52,
        "previous_close": 19.7,
        "turnover_today": 63157624,
        "share_volume_today": 3163380,
        "foreign_holding_percent": null
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:03.936Z",
        "request_id": "5be8da8e-c181-4146-ab13-bdfc316aba6d"
    },
    "status": "ok",
    "message": "Quote retrieved successfully",
    "success": true
}