Building an AI agent? Start with /llms.txt for the full site index.
Market Structure & Reference
Security master — the active reference record for each listed security (identity, listing board, industry).
GET /v2/datasets/security-masterSecurity master is a Taiwan market dataset sourced from TWSE / TPEx, served by TW Market Data as GET /v2/datasets/security-master.
security-master is a reference dataset: one active record per security, not a time series. Use it to resolve a ticker to its name, board and industry. It is an active snapshot — the full point-in-time lifecycle (renames, delistings) is not yet integrated.
| Field | Type | Description |
|---|---|---|
generated_at | string | |
as_of_date | string | |
ticker | string | |
security_identity | object | |
market_identity | object | |
dataset_coverage | object | |
safe_usage_notes | array | |
survivorship_bias_warning | object | |
available_tools_or_endpoints | array |
| Rows | ~70,760 |
| Window | 2025-09-01 – 2026-09-04 |
| Grade | Reference |
| Measured | 2026-09-05from the dataset registry |
A real response from this endpoint. Rows are returned under "items", 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.
{
"generated_at": "2026-08-06T05:14:55Z",
"dataset_id": "security-master",
"as_of_date": "2026-08-06",
"row_count": 1,
"survivorship_bias_warning": {
"enabled": true,
"level": "warning",
"message": "Current security master is not point-in-time complete; survivorship bias may exist for backtests."
},
"items": [
{
"generated_at": "2026-08-06T05:14:55Z",
"as_of_date": "2026-08-06",
"ticker": "2114",
"security_identity": {
"ticker": "2114",
"name_zh": "<Chinese value - see the zh page>",
"name_en": null,
"security_type": "common_stock",
"is_active": true
},
"market_identity": {
"market": "TWSE",
"source_provider": "twse_official",
"source_role": "official_twse_issuer_profile",
"source_confidence": "high"
},
"dataset_coverage": {
"price": "available",
"technical_indicators": "available",
"margin_short": "available",
"valuation": "partial",
"financials": "partial"
},
"source_lineage": {
"emitter": "build_reference_refresh_candidates",
"source_policy": "official_first",
"selected_source": "official_twse_issuer_profile",
"source_as_of_date": "2026-08-03"
},
"data_gaps": [],
"safe_usage_notes": [
"current_master_not_survivorship_safe_for_backtests",
"not_investment_advice"
],
"survivorship_bias_warning": {
"enabled": true,
"level": "warning",
"message": "Current security master is not point-in-time complete; survivorship bias may exist for backtests."
},
"available_tools_or_endpoints": [
{
"name": "security_master_lookup",
"path": "/v2/read/mcp-tool"
},
{
"name": "security_master_dataset",
"path": "/v2/datasets/security-master"
},
{
"name": "security_lookup",
"path": "/v2/securities/{ticker}"
}
]
}
],
"safe_usage_notes": [
"not_investment_advice",
"official_first_source_policy",
"active_snapshot_only"
],
"available_tools_or_endpoints": [
{
"name": "security_master_lookup",
"path": "/v2/read/mcp-tool"
},
{
"name": "security_master_dataset",
"path": "/v2/datasets/security-master"
},
{
"name": "security_lookup",
"path": "/v2/securities/{ticker}"
}
]
}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.
These columns are returned alongside the data and record where the row came from. They are provenance, not the dataset's subject matter, so they are listed here rather than in the field table.
source_lineagedata_gapsPart of the data in this service is obtained from the Government Open Data Platform (data.gov.tw) and used under the Open Government Data License, version 1.0. Providing agencies: Taiwan Stock Exchange, Taipei Exchange, Taiwan Futures Exchange, Taiwan Depository & Clearing Corporation, National Development Council, Central Bank of the Republic of China (Taiwan), Department of Statistics of the Ministry of Economic Affairs, and Customs Administration of the Ministry of Finance. The value-added processing, derived calculations and presentation in this service are the responsibility of TWMD and are not associated with the providing agencies.
TW Market Data. (n.d.). Security master [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/en/docs/api/structure-reference/security-master
The version is the dataset's own as_of, not the date this page was built. Where we have no as_of the field is left out rather than filled in. Check a signature
Datasets that join with this one. The key each pair aligns on is shown, so you can plan a multi-table query without guessing.
Joins on as_of_date + ticker
Joins on as_of_date + ticker
Joins on as_of_date + ticker
Joins on as_of_date + ticker
Joins on as_of_date + ticker
curl "https://api.twmarketdata.com/v2/datasets/security-master?ticker=2114" \
-H "X-API-Key: sk_live_..."| Parameter | Required | Type | Description |
|---|---|---|---|
symbol | No | string | Ticker to filter to a single security. |
limit | No | integer | Maximum rows to return. |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/security-master",
params={"ticker": "2114"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["items"])This endpoint is GET /v2/datasets/security-master. The full machine-readable schema (parameters, security, response envelope) lives in the OpenAPI spec.