AI agent?先讀 /llms.txt 取得全站索引。
市場結構與參考
權證參考——每檔上市權證的主檔(識別、標的、類型與主要契約條件)。
GET /v2/datasets/warrants-reference權證參考是台灣市場資料集,來源為 TWSE / TPEx,由 TW Market Data 以 GET /v2/datasets/warrants-reference 提供。
warrants-reference 為參考型資料集:每檔上市權證一筆現用紀錄,用於將權證代碼解析為標的、類型與契約條件。此為現有上市權證的現用快照,非價格或成交時間序列。
| 欄位 | 型別 | 說明 |
|---|---|---|
warrant_code | string | |
market | string | |
underlying_ticker | string | |
issuer | null | |
warrant_type | string | 認購/認售與類型。 |
strike_price | null | |
exercise_ratio | null | |
listing_date | string | |
expiry_date | string | |
settlement_style | string | |
exercise_style | string |
| 列數 | 54,219 |
| 涵蓋起訖 | 2024-04-02 – 2028-05-31 |
| 分級 | 參考 |
| 量測時間 | 2026-09-01取自資料集登錄表 |
此為本端點的真實回應。資料列位於 "data" 之下,來源資訊如下方所示;各資料集形狀不盡相同,請以本頁為準。
{
"dataset_id": "warrants_reference",
"request_context": {
"scope": "warrants_reference_latest_snapshot_only",
"coverage_type": "latest_snapshot_only",
"filters": {
"warrant_code": null,
"market": null,
"underlying_ticker": "台積電",
"issuer": null,
"warrant_type": null,
"source_family": null,
"limit": 50
}
},
"quality": {
"row_count": 50,
"warrant_count": 50,
"sensitive_fields_exposed": false
},
"lineage": {
"source_providers": [
"twse_official"
],
"source_roles": [
"official_twse_t187ap37_l"
],
"source_families": [
"twse_warrant_reference"
]
},
"error": null,
"data": [
{
"warrant_code": "03002T",
"market": "TWSE",
"underlying_ticker": "台積電",
"issuer": null,
"warrant_type": "認售",
"strike_price": null,
"exercise_ratio": null,
"listing_date": "2026-10-16",
"expiry_date": "2026-10-14",
"settlement_style": "主動報價",
"exercise_style": "一般型",
"source_provider": "twse_official",
"source_role": "official_twse_t187ap37_l",
"source_family": "twse_warrant_reference",
"lineage": {
"depth": "latest_snapshot_only",
"source_name": "t187ap37_L"
},
"data_gaps": [
"issuer_not_provided_by_source"
],
"not_investment_advice": true
},
{
"warrant_code": "03011T",
"market": "TWSE",
"underlying_ticker": "台積電",
"issuer": null,
"warrant_type": "認售",
"strike_price": null,
"exercise_ratio": null,
"listing_date": "2027-07-19",
"expiry_date": "2027-07-15",
"settlement_style": "主動報價",
"exercise_style": "一般型",
"source_provider": "twse_official",
"source_role": "official_twse_t187ap37_l",
"source_family": "twse_warrant_reference",
"lineage": {
"depth": "latest_snapshot_only",
"source_name": "t187ap37_L"
},
"data_gaps": [
"issuer_not_provided_by_source"
],
"not_investment_advice": true
}
],
"data_count": 50,
"known_gaps": [
"latest_snapshot_only",
"reference_only_not_daily_quotes",
"no_daily_quote_coverage"
],
"warnings": [
"not_investment_advice"
],
"not_investment_advice": true,
"envelope": {
"dataset_id": "warrants_reference",
"scope": "warrants_reference_latest_snapshot_only",
"row_count": 50
}
}擷取自 2026-07-20 的線上 API。
本頁顯示原始中文值;英文頁會以標記取代,以維持全英文。
以下欄位會隨資料一併回傳,記錄這一列的來源。它們屬於出處而非本資料集要講的事實,因此列在這裡而不進欄位表。
source_providersource_rolesource_familylineagedata_gapsnot_investment_advice本服務部分資料取自政府資料開放平臺(data.gov.tw),依「政府資料開放授權條款-第1版」授權利用。資料提供機關:臺灣證券交易所、證券櫃檯買賣中心、臺灣期貨交易所、臺灣集中保管結算所、國家發展委員會、中央銀行、經濟部統計處、財政部關務署。本服務之加值處理、衍生計算與呈現方式由 TWMD 負責,與各資料提供機關無涉。
TW Market Data. (n.d.). 權證參考 [Data set]. TW Market Data. Retrieved 2026-09-05, from https://twmarketdata.com/zh-TW/docs/api/structure-reference/warrants-reference
版本取自資料集自己的 as_of,不是這一頁的產生日期。沒有 as_of 的資料集就不列這個欄位,不會補一個看起來合理的值。 驗證簽章
可與本資料集對齊的其他資料集。每組都標出可用來 join 的欄位,規劃跨表查詢時不必自己猜。
curl "https://api.twmarketdata.com/v2/datasets/warrants-reference" \
-H "X-API-Key: sk_live_..."| 參數 | 必填 | 型別 | 說明 |
|---|---|---|---|
symbol | 否 | string | 以股票代碼篩選單一標的。 |
limit | 否 | integer | 回傳筆數上限。 |
import requests
resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/warrants-reference",
params={},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["data"])此端點為 GET /v2/datasets/warrants-reference。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。