Building an AI agent? Start with /llms.txt for the full site index.
Macroeconomics
Official monthly Taiwan government statistic, one row per (item, month). Fields honestly mapped from the source CSV; unit= (110=100). Machine-carried attribution (OGDL v1 ⇄ CC BY 4.0). Not a forecast, not a recommendation.
GET /v2/datasets/production-value-index-monthlyThis 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 |
|---|---|---|
stat_item | text | |
item_code | code | |
item_name | text | label |
value | numeric | (110=100) |
unit | text | |
attribution | text | (first-class) |
16,756 rows, 1982-01..2026-05, 32 (C= + 4 I1-I4 + 27). OGDL v1 (OK, attribution required). ROC dates converted +1911; period_month = first-of-month.
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": "production-value-index-monthly", "row_count": 3, "data": [ { "dataset_key": "production_value_index_monthly", "period_month": "2026-05-01", "stat_item": "<Chinese value - see the zh page>", "item_code": "C", "item_name": "<Chinese value - see the zh page>", "value": 116.42, "unit": "<Chinese value - see the zh page>", "attribution": "<Chinese value - see the zh page>" }, { "dataset_key": "production_value_index_monthly", "period_month": "2026-04-01", "stat_item": "<Chinese value - see the zh page>", "item_code": "C", "item_name": "<Chinese value - see the zh page>", "value": 110.94, "unit": "<Chinese value - see the zh page>", "attribution": "<Chinese value - see the zh page>" }, { "dataset_key": "production_value_index_monthly", "period_month": "2026-03-01", "stat_item": "<Chinese value - see the zh page>", "item_code": "C", "item_name": "<Chinese value - see the zh page>", "value": 118.01, "unit": "<Chinese value - see the zh page>", "attribution": "<Chinese value - see the zh page>" } ]}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/production-value-index-monthly?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/production-value-index-monthly", 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/production-value-index-monthly", 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/production-value-index-monthly. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.