TW Market Data LogoTW Market Data

統計與事實

事實總覽

台股的長期統計基準,每一個數字都附樣本區間與 as_of

季節性

逐月報酬分布與勝率,含樣本數

法人動向

三大法人買賣超廣度的季節性分布

漲跌停事件

漲跌停的發生頻率與集中度

下市與存續

下市家數與存續期間,回測避開倖存者偏誤的基礎

規則沿革

交易制度變更的時間軸,解讀歷史資料時的前提

資料與探索

資料集總覽

全部資料集、涵蓋範圍與更新頻率

Playground

不用金鑰,直接在瀏覽器裡打一次 API

市場快照

當日市場概況與重點數字

個股分析

單一標的的資料檢視入口

熱力圖

全市場一張圖:面積是市值,顏色是營收年增率

台股日程

法定揭露截止日:一筆資料哪一天依法才能被知道

產品能力

產品概覽

TWMD 提供什麼,以及它為誰而做

可驗證證明

簽章 checkpoint 與逐列 inclusion proof

資料品質

對帳、缺漏處理與品質狀態

方法學

數字怎麼算出來的,以及口徑

可稽核交割

把交易決策連回它當時看到的資料

券商串接

把 TWMD 接進既有下單與研究流程

開發者

文件

API 參考、資料集頁與整合指南

快速開始

認證與你的第一個 request

依角色整合

量化研究、資料工程與應用開發各自的路徑

MCP 連線

讓 agent 直接連上 TWMD

MCP registry

已發布的 MCP tool 清單與簽章 manifest

Webhooks

資料更新時主動通知你的系統

學習

部落格

資料、方法與市場結構的長文

問答

具體問題的具體答案,附資料出處

主題

產業鏈與主題的關聯檢視

說明中心

帳號、計費與使用上的常見問題

名詞表

台股與資料領域的名詞定義

比較與狀態

為何選 TWMD

與 FinMind、TEJ 的逐項比較

從 FinMind 搬遷

欄位對映與搬遷步驟

從 FinLab 搬遷

欄位對映與搬遷步驟

從 TEJ 搬遷

欄位對映與搬遷步驟

系統狀態

服務可用性與事件紀錄

安全與信任

信任中心

我們宣稱什麼、以及每個宣稱的界線

安全中心

架構、存取控制與事件處理

安全事實

可以從外部自行查證的項目

安全證據

SBOM、ASVS 對照與威脅模型,含未達成的三條。

自我評估

採購問卷用的逐項回覆

合規與標準

合規對應

證據原語對應到 FSB、IOSCO 與 SR 26-2

資料標準

逐條對應到已發布標準,以及對不上的地方

資料溯源與 C2PA

機器可讀的來源圖,免金鑰取得

授權條款

資料的使用與再散布範圍

導入

方案評估

不用帳號就能自己跑的七項檢查

聯絡銷售

企業方案、額度與合約細節

方案價格
EN登入註冊
TW Market Data

台股資料基礎設施 · 為 AI agent 與量化流程而建。

狀態未知
© 2026 TW Market Data

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

  • 隱私權政策·
  • 服務條款·
  • Cookie 政策·
  • 可接受使用政策·
  • 資料來源與授權·
  • 法律文件總覽
EN

AI Agent

  • MCP Server
  • Skills 技能包
  • 工具清單
  • Agent 工作流範例
  • Agent 評測題庫
  • llms.txt
  • OpenAPI 規格

Security

  • 資安總覽
  • 可驗證資料
  • 信任中心
  • 標準與相容性
  • 監理對照表

Product

  • 資料集總覽
  • 題材研究
  • 統計資料
  • 文件
  • 接入指南
  • 試玩台(免註冊)
  • 免費方案
  • 解決方案

Company

  • 關於 TWMD
  • 部落格
  • 幫助中心
  • 方案價格

文件總覽

DASHBOARD

儀表板定價

FOR AI AGENTS

MCP ServerSkills(技能包)llms.txt工具清單OpenAPI SpecAgent 工作流範例

OVERVIEW

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

DATA APIS

利率快照全球總經世界銀行總經外銷訂單金額(按貨品別)製造業生產價值指數海關進出口貿易統計台灣公債殖利率曲線

GUIDES

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

SDKS

Release StatusPython SDKJavaScript / TypeScript SDK

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

總體經濟

利率快照

中央銀行(CBC)政策利率快照——最近一次設定的重貼現率與擔保放款融通利率。

← 利率快照 資料集總覽

已驗證來源: CBC·方案: starter·計費: 1 點·GET /v2/datasets/interest-rate-snapshot

利率快照是台灣市場資料集,來源為 CBC,由 TW Market Data 以 GET /v2/datasets/interest-rate-snapshot 提供。

總覽

interest-rate-snapshot 回傳目前 CBC 政策利率與其生效日期,來源為中央銀行。此為快照面,非長期每日時間序列。

欄位型別說明
rate_codestring利率代碼(如 CBC_ACCOMMODATIONS_WITH_COLLATERAL)。
rate_namenull利率名稱(可能為 null)。
as_of_datestring利率資料基準日。
rate_valuenumber利率值(百分比)。
rate_unitnull
rate_familynull
marketstring市場別(TW)。
currencystring

涵蓋範圍

列數165
涵蓋起訖2000-12-29 – 2026-05-27
分級已驗證
量測時間2026-09-01取自資料集登錄表

範例回應

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

{
"api_version": "v2",
"endpoint": "/v2/datasets/interest-rate-snapshot",
"request_id": "req_79f005a4b1fd",
"plan_id": "enterprise",
"dataset": "interest_rate_snapshot",
"query": {
"rate_code": "cbc_discount_rate",
"as_of_date": null,
"market": "TW",
"date_from": null,
"date_to": "2026-08-06",
"rate_family": null,
"currency": null,
"limit": 50,
"legacy": {
"tenor": null,
"offset": 0,
"sort_by": "as_of_date",
"sort_order": "desc"
}
},
"meta": {
"rows_returned": 50,
"mandatory_contract_fields_present": [
"api_version",
"data",
"data_as_of"
],
"plan": "enterprise",
"row_limit": 100000,
"is_limited": false
},
"envelope": {
"api_version": "v2",
"dataset": "interest_rate_snapshot",
"dataset_version": "v2.0.0-preview",
"release_version": "v2.2026-08-06.preview",
"release_date": "2026-08-06",
"data_as_of": "2026-08-06",
"request_context": {
"ticker": "cbc_discount_rate",
"as_of_date": "2026-08-06",
"family": "taiwan_macro",
"field_group_type": "canonical",
"dataset_view": "interest_rate_snapshot_v1",
"supported_sort_by": [],
"supported_filter_fields": [
"rate_code",
"as_of_date",
"date_from"
],
"not_investment_advice": true
},
"data": [
{
"rate_code": "cbc_discount_rate",
"rate_name": null,
"as_of_date": "2024-03-22",
"rate_value": 2,
"rate_unit": null,
"rate_family": null,
"market": "TW",
"currency": "TWD",
"provider": "twse_official",
"source_name": "twse_official",
"source_url": null
},
{
"rate_code": "cbc_discount_rate",
"rate_name": null,
"as_of_date": "2023-03-24",
"rate_value": 1.875,
"rate_unit": null,
"rate_family": null,
"market": "TW",
"currency": "TWD",
"provider": "twse_official",
"source_name": "twse_official",
"source_url": null
}
],
"quality": {
"freshness_state": "fresh",
"freshness_as_of": "2026-08-06",
"completeness_ratio": 1,
"quality_status": "ready"
},
"lineage": {
"source_role": "canonical",
"selected_source": "cbc_official",
"fallback_chain": [
"dgbas_official",
"other_official_public"
],
"policy_notes": [
"official/public-first canonical",
"interest rate snapshots mapped from canonical taiwan_macro family",
"unstable fields excluded from public contract (e.g., rate_change_basis_points)"
]
},
"error": {
"error_code": null,
"error_message": null,
"dataset": "interest_rate_snapshot",
"request_id": "read-api-f060bb73dfec",
"blocking_gate": null
}
}
}

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

出處

以下欄位會隨資料一併回傳,記錄這一列的來源。它們屬於出處而非本資料集要講的事實,因此列在這裡而不進欄位表。

providersource_namesource_url

授權與顯名

本服務部分資料取自政府資料開放平臺(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/macro/interest-rate-snapshot

版本取自資料集自己的 as_of,不是這一頁的產生日期。沒有 as_of 的資料集就不列這個欄位,不會補一個看起來合理的值。 驗證簽章

相關資料集

可與本資料集對齊的其他資料集。每組都標出可用來 join 的欄位,規劃跨表查詢時不必自己猜。

  • 期貨市場日資料

    可用 as_of_date + market 對齊

  • GHG 碳揭露(範疇1/2/3)

    可用 as_of_date + market 對齊

  • ETF 持股明細

    可用 as_of_date + market 對齊

  • 財務比率指標

    可用 as_of_date + market 對齊

  • 指數分類

    可用 as_of_date + market 對齊

快速開始

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

篩選參數

參數必填型別說明
rate_code否string由端點自身在 envelope.request_context.supported_filter_fields 宣告。
as_of_date否string由端點自身在 envelope.request_context.supported_filter_fields 宣告。
date_from否string由端點自身在 envelope.request_context.supported_filter_fields 宣告。

Python 範例

import requests

resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/interest-rate-snapshot",
params={"rate_code": "CBC_REDISCOUNT_RATE"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["envelope"]["data"])

OpenAPI

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

請求與回應

請求
curl "https://api.twmarketdata.com/v2/datasets/interest-rate-snapshot" \
-H "X-API-Key: $TWMD_API_KEY"
回應
{
"api_version": "v2",
"endpoint": "/v2/datasets/interest-rate-snapshot",
"request_id": "req_79f005a4b1fd",
"plan_id": "enterprise",
"dataset": "interest_rate_snapshot",
"query": {
"rate_code": "<string>",
"as_of_date": "<null>",
"market": "<string>",
"date_from": "<null>",
"date_to": "<string>",
"rate_family": "<null>",
"currency": "<null>",
"limit": "<number>",
"legacy": {
"tenor": "<null>",
"offset": "<number>",
"sort_by": "<string>",
"sort_order": "<string>"
}
},
"meta": {
"rows_returned": "<number>",
"mandatory_contract_fields_present": "<array>",
"plan": "<string>",
"row_limit": "<number>",
"is_limited": "<boolean>"
},
"envelope": {
"api_version": "<string>",
"dataset": "<string>",
"dataset_version": "<string>",
"release_version": "<string>",
"release_date": "<string>",
"data_as_of": "<string>",
"request_context": {
"ticker": "<string>",
"as_of_date": "<string>",
"family": "<string>",
"field_group_type": "<string>",
"dataset_view": "<string>",
"supported_sort_by": "<array>",
"supported_filter_fields": "<array>",
"not_investment_advice": "<boolean>"
},
"data": "<array>",
"quality": {
"freshness_state": "<string>",
"freshness_as_of": "<string>",
"completeness_ratio": "<number>",
"quality_status": "<string>"
},
"lineage": {
"source_role": "<string>",
"selected_source": "<string>",
"fallback_chain": "<array>",
"policy_notes": "<array>"
},
"error": {
"error_code": "<null>",
"error_message": "<null>",
"dataset": "<string>",
"request_id": "<string>",
"blocking_gate": "<null>"
}
}
}
i