Building an AI agent? Start with /llms.txt for the full site index.
Market Structure & Reference
Ticker membership in TPEx industry value chains (, AI,, …) with the chain node each company sits in. Sourced from the TPEx (ic.tpex.org.tw). Not a forecast, not a recommendation.
GET /v2/datasets/industry-chainThis dataset is in build and not yet queryable via the API. The coverage and honest limitations below are the real database state; it moves off "Building" once serving lands (targeted 8/1).
| Field | Type | Description |
|---|---|---|
chain_name | text | |
node_name | text | |
node_position | enum | NULL (not sourced) |
ticker | code |
6,934 rows, 47 chains / 2,418 tickers / 401 nodes. SINGLE SNAPSHOT captured 2026-07-02 (trade_date=capture_date; no forward refresh, no history yet — monthly re-snapshot queued in Phase-2 autowrite). node_position (//) is NULL on all rows (not exposed by the source at capture).
A real response from this endpoint. Rows are returned under "data", and provenance is carried in the shape shown below — it is not identical across datasets, so read this page's rather than assuming another's.
{ "dataset_id": "industry-chain", "row_count": 3, "data": [ { "ticker": "2401", "chain_name": "<Chinese value - see the zh page>", "node_name": "<Chinese value - see the zh page>", "node_position": null, "market": "TW", "capture_date": "2026-07-02" }, { "ticker": "3035", "chain_name": "<Chinese value - see the zh page>", "node_name": "<Chinese value - see the zh page>", "node_position": null, "market": "TW", "capture_date": "2026-07-02" }, { "ticker": "3443", "chain_name": "<Chinese value - see the zh page>", "node_name": "<Chinese value - see the zh page>", "node_position": null, "market": "TW", "capture_date": "2026-07-02" } ]}Captured from the live API on 2026-07-20.
Chinese data values are shown as a marker here so this page stays in English; the /zh page shows them verbatim.
curl "https://api.twmarketdata.com/v2/datasets/industry-chain?symbol=2330" \ -H "X-API-Key: sk_live_..."| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | Yes | string | Ticker, e.g. 2330. |
start_date | No | string (YYYY-MM-DD) | Start of the query range. |
end_date | No | string (YYYY-MM-DD) | End of the query range. |
limit | No | integer | Maximum rows to return. |
A first call:
import requests resp = requests.get( "https://api.twmarketdata.com/v2/datasets/industry-chain", params={"symbol": "2330"}, headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json()["data"])With a date-range filter:
import requests # The full verified example — the same call with every supported filter set.resp = requests.get( "https://api.twmarketdata.com/v2/datasets/industry-chain", params={"symbol": "2330"}, headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()for row in resp.json()["data"]: print(row)This endpoint is GET /v2/datasets/industry-chain. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.