Aller au contenu
GET /v1/taiex

Daily history of the TAIEX index

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/twse-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "The recent daily history of the headline TAIEX index (Taiwan Capitalization Weighted Stock Index) — each day's open, high, low and close. Track the trend of the whole Taiwan market.",
        "count": 10,
        "source": "TWSE",
        "history": [
            {
                "low": 44872.82,
                "date": "2026-06-01",
                "high": 45931.1,
                "open": 44872.82,
                "close": 45337.91
            },
            {
                "low": 44869.38,
                "date": "2026-06-02",
                "high": 45915.92,
                "open": 45388.93,
                "close": 45557.31
            },
            {
                "low": 45660.46,
                "date": "2026-06-03",
                "high": 46552.16,
                "open": 45660.46,
                "close": 46459.16
            },
            {
                "low": 45677.46,
                "date": "2026-06-04",
                "high": 46364.07,
                "open": 46364.07,
                "close": 45677.46
            },
            {
                "low": 44209.53,
                "date": "2026-06-05",
                "high": 45619.82,
                "open": 45619.82,
                "close": 45070.94
            },
            {
                "low": 42376.86,
                "date": "2026-06-08",
                "high": 44507.49,
                "open": 44507.49,
                "close": 43502.78
            },
            {
                "low": 43687.62,
                "date": "2026-06-09",
                "high": 44821.71,
                "open": 43687.62,
                "close": 44704.44
            },
            {
                "low": 43225.54,
                "date": "2026-06-10",
                "high": 44676.49,
                "open": 44581.45,
                "close": 43225.54
            },
            {
                "low": 42006.39,
                "date": "2026-06-11",
                "high": 43463.03,
                "open": 43172.21,
                "close": 43149.46
            },
            {
                "low": 43587.63,
                "date": "2026-06-12",
                "high": 44798.88,
                "open": 43587.63,
                "close": 44169.04
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T02:11:15.326Z",
        "request_id": "06058013-94a0-4da0-9a64-d5fa4b0b8fdc"
    },
    "status": "ok",
    "message": "TAIEX history retrieved successfully",
    "success": true
}