/v1/indices
Every TWSE index (TAIEX & sectors)
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/twse-api/v1/indices" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twse-api/v1/indices", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twse-api/v1/indices");
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/indices",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "The latest value of every TWSE index — the headline TAIEX (發行量加權股價指數) and all sector and themed indices — each with its closing level, point change and percent change. The pulse of the Taiwan market.",
"count": 267,
"source": "TWSE",
"indices": [
{
"date": "2026-06-12",
"name": "寶島股價指數",
"close": 49305.35,
"direction": "+",
"change_points": 1163.61,
"change_percent": 2.42
},
{
"date": "2026-06-12",
"name": "發行量加權股價指數",
"close": 44169.04,
"direction": "+",
"change_points": 1019.58,
"change_percent": 2.36
},
{
"date": "2026-06-12",
"name": "臺灣公司治理100指數",
"close": 27509.62,
"direction": "+",
"change_points": 591.54,
"change_percent": 2.2
},
{
"date": "2026-06-12",
"name": "臺灣50指數",
"close": 40828.13,
"direction": "+",
"change_points": 991.77,
"change_percent": 2.49
},
{
"date": "2026-06-12",
"name": "臺灣50權重上限30%指數",
"close": 34325.83,
"direction": "+",
"change_points": 789.39,
"change_percent": 2.35
},
{
"date": "2026-06-12",
"name": "臺灣中型100指數",
"close": 35305.51,
"direction": "+",
"change_points": 729.46,
"change_percent": 2.11
},
{
"date": "2026-06-12",
"name": "臺灣資訊科技指數",
"close": 85813.8,
"direction": "+",
"change_points": 2137.92,
"change_percent": 2.56
},
{
"date": "2026-06-12",
"name": "臺灣發達指數",
"close": 18266.68,
"direction": "+",
"change_points": 506.02,
"change_percent": 2.85
},
{
"date": "2026-06-12",
"name": "臺灣高股息指數",
"close": 14182.46,
"direction": "+",
"change_points": 255.8,
"change_percent": 1.84
},
{
"date": "2026-06-12",
"name": "臺灣就業99指數",
"close": 27362.51,
"direction": "+",
"change_points": 735.93,
"change_percent": 2.76
},
{
"date": "2026-06-12",
"name": "臺灣高薪100指數",
"close": 21282.92,
"direction": "+",
…