Ir al contenido
GET /v1/index

Live value of the QE All-Share Index

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/qse-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "low": 4008.52,
        "high": 4108.95,
        "name": "QE All Share Index",
        "note": "The live value of the QE All-Share Index (the Qatar Stock Exchange benchmark) — current level, change, and the day's open/high/low. Pass name (QEAS; default QEAS).",
        "open": 4008.52,
        "index": "QEAS",
        "value": 4087.37,
        "change": 78.84999999999991,
        "source": "Qatar Stock Exchange / QSE (TradingView)",
        "change_percent": 1.97
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:35.695Z",
        "request_id": "3c73ffbf-d7cb-4b39-8438-b4199871674b"
    },
    "status": "ok",
    "message": "Index retrieved successfully",
    "success": true
}