/v1/market
Whole-market snapshot
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/twse-api/v1/market" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/twse-api/v1/market", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/twse-api/v1/market");
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/market",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "A whole-market snapshot of every TWSE-listed stock for the latest trading day — each with its OHLC, change, volume and value. Sort by value (default) or volume; page with offset and limit (max 200). The full Taiwan market tape.",
"sort": "value",
"count": 50,
"total": 1366,
"offset": 0,
"source": "TWSE",
"stocks": [
{
"low": 852,
"code": "2327",
"date": "2026-06-12",
"high": 919,
"name": "國巨*",
"open": 919,
"close": 855,
"change": 0,
"trade_value": 80454166531,
"trade_volume": 90466919,
"transactions": 134773
},
{
"low": 2290,
"code": "2330",
"date": "2026-06-12",
"high": 2325,
"name": "台積電",
"open": 2325,
"close": 2310,
"change": 60,
"trade_value": 60666936905,
"trade_volume": 26306885,
"transactions": 77219
},
{
"low": 132.5,
"code": "2303",
"date": "2026-06-12",
"high": 137.5,
"name": "聯電",
"open": 134,
"close": 133.5,
"change": 8.5,
"trade_value": 53550204004,
"trade_volume": 393604121,
"transactions": 169605
},
{
"low": 4165,
"code": "2454",
"date": "2026-06-12",
"high": 4415,
"name": "聯發科",
"open": 4410,
"close": 4180,
"change": 95,
"trade_value": 37361334120,
"trade_volume": 8765007,
"transactions": 40657
},
{
"low": 263,
"code": "2313",
"date": "2026-06-12",
"high": 291.5,
"name": "華通",
"open": 291,
"close": 263,
"change": -12,
"trade_value": 37234322685,
"trade_volume": 134234586,
"transactions": 155595
},
{
"low": 166,
"code": "2344",
"date": "2026-06-12",
"high": 172,
"name": "華邦電",
"open": 169.5,
"close": 172,
"change": 15.5,
"trade_value": 36419205477,
"trade_volume": 213495727,
"transactions": 119733
},
{
"low": 365,
"code": "2408",
"date": "2026-06-12",
"high": 374,
"name": "南亞科",
…