Zum Inhalt springen
GET /v1/quote

Live quote for one or more Bahrain Bourse stocks

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/bahrain-stock-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 3,
        "market": "BAHRAIN",
        "quotes": [
            {
                "low": 0.91,
                "high": 0.921,
                "last": 0.921,
                "name": "Aluminium Bahrain B.S.C",
                "open": 0.91,
                "pe_ttm": 4.7255,
                "sector": "Non-Energy Minerals",
                "symbol": "ALBH",
                "ticker": "BAHRAIN:ALBH",
                "volume": 359344,
                "currency": "BHD",
                "change_abs": 0.014,
                "change_pct": 1.5436,
                "market_cap": 1273925686
            },
            {
                "low": 0.516,
                "high": 0.52,
                "last": 0.52,
                "name": "National Bank of Bahrain BSC",
                "open": 0.516,
                "pe_ttm": 15.1163,
                "sector": "Finance",
                "symbol": "NBB",
                "ticker": "BAHRAIN:NBB",
                "volume": 1485230,
                "currency": "BHD",
                "change_abs": 0.004,
                "change_pct": 0.7752,
                "market_cap": 1160693917
            },
            {
                "low": 0.462,
                "high": 0.462,
                "last": 0.462,
                "name": "Beyon B.S.C",
                "open": 0.462,
                "pe_ttm": 11.1325,
                "sector": "Communications",
                "symbol": "BEYON",
                "ticker": "BAHRAIN:BEYON",
                "volume": 11104,
                "currency": "BHD",
                "change_abs": 0.001,
                "change_pct": 0.2169,
                "market_cap": 764747008
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:11.098Z",
        "request_id": "bad80e6c-56c4-4b14-a6ba-0116d938be11"
    },
    "status": "ok",
    "message": "Quote retrieved successfully",
    "success": true
}