# TWSE (Taiwan) — Zapi reference > Seluruh pasar saham Taiwan dalam satu panggilan: OHLC, volume, nilai, dan jumlah transaksi tiap kode. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/finance/twse - Endpoint catalog: https://zpi.web.id/category/finance - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## TWSE (Taiwan) **Category:** finance · **Slug:** `twse` **Detail page:** https://zpi.web.id/api/finance/twse Seluruh pasar saham Taiwan dalam satu panggilan: OHLC, volume, nilai, dan jumlah transaksi tiap kode. **Tags:** twse, taiwan, stock, exchange, finance ### Daily Market Ringkasan harian seluruh emiten Taiwan. Tanggal kalender ROC upstream dikonversi ke ISO. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/finance:twse/daily` - **Cache TTL:** 900s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `code` | string | query | no | Keep a single listing code. Omit for the whole market. | | `length` | number | query | no | Rows to return (default 50, max 2000) | | `sort` | enum(value|volume|code) | query | no | Order rows by traded value (default), volume, or code. | **cURL:** ```bash curl "https://api.zpi.web.id/v1/finance:twse/daily?code=2330&length=50&sort=value" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/finance:twse/daily?code=2330&length=50&sort=value", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/finance:twse/daily?code=2330&length=50&sort=value", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "date": "2026-08-07", "sort": "value", "count": 8, "items": [ { "low": 2355, "code": "2330", "date": "2026-08-07", "high": 2395, "name": "台積電", "open": 2390, "close": 2370, "value": 57947015347, "change": 5, "volume": 24414025, "transactions": 64670 }, { "low": 445, "code": "2408", "date": "2026-08-07", "high": 463, "name": "南亞科", "open": 456.5, "close": 457, "value": 32106124944, "change": -2, "volume": 70547660, "transactions": 70841 }, { "low": 160.5, "code": "2344", "date": "2026-08-07", "high": 170.5, "name": "華邦電", "open": 170, "close": 163.5, "value": 29019818860, "change": -7.5, "volume": 176709453, "transactions": 118087 }, { "low": 3825, "code": "2454", "date": "2026-08-07", "high": 4010, "name": "聯發科", "open": 3990, "close": 3900, "value": 25900624790, "change": -20, "volume": 6607003, "transactions": 42825 }, { "low": 531, "code": "2327", "date": "2026-08-07", "high": 578, "name": "國巨*", "open": 560, "close": 540, "value": 24331353698, "change": -30, "volume": 44277453, "transactions": 95384 }, { "low": 178.5, "code": "1303", "date": "2026-08-07", "high": 193, "name": "南亞", "open": 189, "close": 188, "value": 23929994073, "change": 9.5, "volume": 129122451, "transactions": 79564 }, { "low": 942, "code": "3037", "date": "2026-08-07", "high": 999, "name": "欣興", "open": 986, "close": 955, "value": 20870585514, "change": -18, "volume": 21596279, "transactions": 36856 }, { "low": 114, "code": "2303", "date": "2026-08-07", "high": 121.5, "name": "聯電", "open": 121.5, "close": 116, "value": 19789208343, "change": -5.5, "volume": 169352784, "transactions": 123813 } ], "total": 1377, "market": "taiwan", "source": "twse", "currency": "TWD" } ``` --- _Generated: 2026-08-08T12:07:56.782Z_