TW Market Data LogoTW Market Data

核心資料

市場與價格

TWSE / TPEx 日線、還原價格、指數與市場廣度

財務與成長

月營收、財報三表、財務指標與估值資料

籌碼與資金

三大法人與融資融券資料

公司與結構

公司與事件

公司基本資料、公告、事件、公司行動與股利

分類與結構

主題分類、指數分類與跨資料集 mapping

策略與量化

Features、Factor Data、Time Alignment 與 Screener

平台能力

API 存取

REST API、認證與第一個 request

查詢與工具

Search API、Query API、欄位清單與查詢範例

Tools / MCP

Agent workflow、MCP tools 與 OpenAPI 入口

方案價格文件觀點文章
EN儀表板

TW Market Data(TWMD)提供之歷史資料與統計,非投資建議;投資決策與風險由您自行判斷。

隱私政策|服務條款|幫助中心||EN|TW Market Data © 2026

文件總覽

DASHBOARD

儀表板定價

FOR AI AGENTS

MCP Serverllms.txt工具清單OpenAPI SpecAgent 工作流範例
Webhooks建置中

OVERVIEW

總覽快速開始認證來源政策資料分級資料血緣市場覆蓋

DATA APIS

選擇權結算價可轉債期貨市場選擇權日線期貨法人籌碼可轉債參考

GUIDES

如何取得財報三表如何查三大法人籌碼如何看市場狀態如何接策略・AI Agent

SDKS

Release StatusPython SDKJavaScript / TypeScript SDK

AI agent?先讀 /llms.txt 取得全站索引。

衍生與可轉債

可轉債參考

可轉債參考——每檔可轉換公司債的主檔資料(發行人、條款、重要日期),來源為 TPEx。

參考來源: TPEx·方案: free·計費: 1 點·GET /v2/datasets/bond-convertible-reference

總覽

bond-convertible-reference 為參考型資料集:每檔可轉債一筆主檔紀錄,非時間序列。用於將可轉債代碼解析為發行人、轉換條款與重要日期;每筆紀錄附回溯 TPEx 發布的來源角色。

欄位型別說明
bond_codestring可轉債代碼。
issuer_symbolstring發行公司股票代碼。
issue_datestring發行日期。
maturity_datestring到期日期。
conversion_pricenumber參考轉換價格(新台幣元)。
source_rolestringofficial_tpex。

涵蓋範圍

列數1,474
涵蓋起訖參考資料,無時間序列
分級參考

範例回應

此為本端點的真實回應。資料列位於 "data" 之下,來源資訊如下方所示;各資料集形狀不盡相同,請以本頁為準。

{  "dataset_id": "bond_convertible_reference",  "request_context": {    "scope": "bond_convertible_reference_latest_snapshot_only",    "coverage_type": "latest_snapshot_only",    "filters": {      "bond_code": null,      "market": null,      "issuer": null,      "underlying_ticker": null,      "source_family": null,      "limit": 50    }  },  "quality": {    "row_count": 50,    "bond_code_count": 50,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "tpex_official"    ],    "source_roles": [      "bond_convertible_reference_issuance_master"    ],    "source_families": [      "bond_ISSBD5_data"    ]  },  "error": null,  "data": [    {      "bond_code": "11011",      "market": "TPEx",      "bond_name": "台泥一永",      "issuer": "台泥",      "bond_type": "5",      "issue_date": "2024-12-10",      "maturity_date": "2029-12-10",      "coupon_rate": 0,      "conversion_terms": {        "Currency": "1",        "SeriesNumber": "1",        "PutOptionDate": "20271210",        "OfferingMethod": "7",        "PutOptionPrice": "100.0000",        "PrincipalRepayment": "1",        "Conversion/ExchangePeriodEndDate": "20291210",        "Conversion/ExchangePeriodStartDate": "20250311",        "Conversion/ExchangePriceAtIssuance": "36.5000"      },      "underlying_ticker": null,      "source_provider": "tpex_official",      "source_role": "bond_convertible_reference_issuance_master",      "source_family": "bond_ISSBD5_data",      "lineage": {        "v1_scope": "clean_bondcode_reference_only",        "source_url": "https://www.tpex.org.tw/openapi/v1/bond_ISSBD5_data",        "issuer_code": "1101",        "source_date": "20260605",        "source_index": 2,        "series_number": "1",        "tranche_number": null      },      "data_gaps": [        "underlying_ticker_not_provided"      ],      "not_investment_advice": true    },    {      "bond_code": "12561",      "market": "TPEx",      "bond_name": "鮮活果汁一KY",      "issuer": "鮮活果汁-KY",      "bond_type": "5",      "issue_date": "2025-10-08",      "maturity_date": "2028-10-08",      "coupon_rate": 0,      "conversion_terms": {        "Currency": "1",        "SeriesNumber": "1",        "PutOptionDate": "20271008",        "OfferingMethod": "7",        "PutOptionPrice": "100.5006",        "PrincipalRepayment": "1",        "Conversion/ExchangePeriodEndDate": "20281008",        "Conversion/ExchangePeriodStartDate": "20260109",        "Conversion/ExchangePriceAtIssuance": "190.0000"      },      "underlying_ticker": null,      "source_provider": "tpex_official",      "source_role": "bond_convertible_reference_issuance_master",      "source_family": "bond_ISSBD5_data",      "lineage": {        "v1_scope": "clean_bondcode_reference_only",        "source_url": "https://www.tpex.org.tw/openapi/v1/bond_ISSBD5_data",        "issuer_code": "1256",        "source_date": "20260605",        "source_index": 3,        "series_number": "1",        "tranche_number": null      },      "data_gaps": [        "underlying_ticker_not_provided"      ],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "clean_bondcode_reference_only",    "latest_snapshot_only",    "blank_or_placeholder_bondcode_rows_excluded"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "bond_convertible_reference",    "scope": "bond_convertible_reference_latest_snapshot_only",    "row_count": 50  }}

擷取自 2026-07-20 的線上 API。

本頁顯示原始中文值;英文頁會以標記取代,以維持全英文。

快速開始

  1. 把你的金鑰放進 X-API-Key 標頭。
  2. 加上查詢參數(symbol、日期區間、limit)。
  3. 送出請求並讀取 data 陣列。
curl "https://api.twmarketdata.com/v2/datasets/bond-convertible-reference?symbol=2330" \  -H "X-API-Key: sk_live_..."

篩選參數

參數必填型別說明
symbol否string以股票代碼篩選單一標的。
limit否integer回傳筆數上限。

Python 範例

第一個呼叫:

import requests resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/bond-convertible-reference",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()print(resp.json()["data"])

帶日期區間篩選:

import requests # The full verified example — the same call with every supported filter set.resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/bond-convertible-reference",    params={"symbol": "2330"},    headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()for row in resp.json()["data"]:    print(row)

OpenAPI

此端點為 GET /v2/datasets/bond-convertible-reference。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。

備註與限制

  • 參考/查表型資料集——每檔可轉債一筆主檔紀錄,非價格時間序列;用於將可轉債代碼解析為條款,每日數字請查詢 convertible-bonds。

請求與回應

請求

curl "https://api.twmarketdata.com/v2/datasets/bond-convertible-reference?symbol=2330&limit=5" \  -H "X-API-Key: $TWMD_API_KEY"

以 X-API-Key 標頭認證,使用儀表板發放的 sk_live_ 金鑰。

回應

JSON
{  "dataset_id": "bond_convertible_reference",  "request_context": {    "scope": "bond_convertible_reference_latest_snapshot_only",    "coverage_type": "latest_snapshot_only",    "filters": {      "bond_code": null,      "market": null,      "issuer": null,      "underlying_ticker": null,      "source_family": null,      "limit": 50    }  },  "quality": {    "row_count": 50,    "bond_code_count": 50,    "sensitive_fields_exposed": false  },  "lineage": {    "source_providers": [      "tpex_official"    ],    "source_roles": [      "bond_convertible_reference_issuance_master"    ],    "source_families": [      "bond_ISSBD5_data"    ]  },  "error": null,  "data": [    {      "bond_code": "11011",      "market": "TPEx",      "bond_name": "台泥一永",      "issuer": "台泥",      "bond_type": "5",      "issue_date": "2024-12-10",      "maturity_date": "2029-12-10",      "coupon_rate": 0,      "conversion_terms": {        "Currency": "1",        "SeriesNumber": "1",        "PutOptionDate": "20271210",        "OfferingMethod": "7",        "PutOptionPrice": "100.0000",        "PrincipalRepayment": "1",        "Conversion/ExchangePeriodEndDate": "20291210",        "Conversion/ExchangePeriodStartDate": "20250311",        "Conversion/ExchangePriceAtIssuance": "36.5000"      },      "underlying_ticker": null,      "source_provider": "tpex_official",      "source_role": "bond_convertible_reference_issuance_master",      "source_family": "bond_ISSBD5_data",      "lineage": {        "v1_scope": "clean_bondcode_reference_only",        "source_url": "https://www.tpex.org.tw/openapi/v1/bond_ISSBD5_data",        "issuer_code": "1101",        "source_date": "20260605",        "source_index": 2,        "series_number": "1",        "tranche_number": null      },      "data_gaps": [        "underlying_ticker_not_provided"      ],      "not_investment_advice": true    },    {      "bond_code": "12561",      "market": "TPEx",      "bond_name": "鮮活果汁一KY",      "issuer": "鮮活果汁-KY",      "bond_type": "5",      "issue_date": "2025-10-08",      "maturity_date": "2028-10-08",      "coupon_rate": 0,      "conversion_terms": {        "Currency": "1",        "SeriesNumber": "1",        "PutOptionDate": "20271008",        "OfferingMethod": "7",        "PutOptionPrice": "100.5006",        "PrincipalRepayment": "1",        "Conversion/ExchangePeriodEndDate": "20281008",        "Conversion/ExchangePeriodStartDate": "20260109",        "Conversion/ExchangePriceAtIssuance": "190.0000"      },      "underlying_ticker": null,      "source_provider": "tpex_official",      "source_role": "bond_convertible_reference_issuance_master",      "source_family": "bond_ISSBD5_data",      "lineage": {        "v1_scope": "clean_bondcode_reference_only",        "source_url": "https://www.tpex.org.tw/openapi/v1/bond_ISSBD5_data",        "issuer_code": "1256",        "source_date": "20260605",        "source_index": 3,        "series_number": "1",        "tranche_number": null      },      "data_gaps": [        "underlying_ticker_not_provided"      ],      "not_investment_advice": true    }  ],  "data_count": 50,  "known_gaps": [    "clean_bondcode_reference_only",    "latest_snapshot_only",    "blank_or_placeholder_bondcode_rows_excluded"  ],  "warnings": [    "not_investment_advice"  ],  "not_investment_advice": true,  "envelope": {    "dataset_id": "bond_convertible_reference",    "scope": "bond_convertible_reference_latest_snapshot_only",    "row_count": 50  }}

擷取自對此端點的真實呼叫,非手寫。

此資料集的資料列在 "data" 之下。各資料集的信封不同,請以本頁為準,勿沿用其他頁的形狀。

本頁的分級徽章屬文件分級,並非回應欄位。