Skip to content
GET /v1/index

Bahrain index family (Bahrain All Share, Bahrain Islamic)

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/bahrain-stock-api

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

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 1,
        "market": "BAHRAIN",
        "indices": [
            {
                "low": 1992.979,
                "high": 2000.23,
                "name": "Bahrain All Share Index",
                "open": 1992.979,
                "index": "BHBX",
                "label": "Bahrain All Share",
                "value": 2000.23,
                "change_abs": 8.348,
                "change_pct": 0.4191
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:16:11.524Z",
        "request_id": "93568e79-32c6-46ec-9b9c-80a3cfd6e04d"
    },
    "status": "ok",
    "message": "Index retrieved successfully",
    "success": true
}