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 取得全站索引。

財務與成長

現金流量表

上市櫃公司季度現金流量表,來源為公開資訊觀測站(MOPS)——申報之營業、投資與籌資活動現金流量。

← 現金流量表 資料集總覽

已驗證來源: MOPS·方案: pro·計費: 2 點·GET /v2/datasets/cash-flow-statement

現金流量表是台灣市場資料集,來源為 MOPS,由 TW Market Data 以 GET /v2/datasets/cash-flow-statement 提供。

總覽

cash-flow-statement 以官方 MOPS 申報為源,每家公司每個會計期間回傳一列;每列附來源角色與 lineage 標明所屬 MOPS 表單,現金流數字可回溯申報稿。

欄位型別說明
symbolstring股票代碼。
tickerstring
fiscal_yearnumber
fiscal_quarternumber
period_typestring
period_end_datestring
report_datenull
operating_cash_flownumber營業活動之淨現金流量(新台幣仟元)。
investing_cash_flownumber投資活動之淨現金流量(新台幣仟元)。
financing_cash_flownumber籌資活動之淨現金流量(新台幣仟元)。
free_cash_flownumber
capital_expendituresnull
depreciationnull
cash_beginningnull
cash_endingnull
net_change_in_cashnull
sourcestring
fiscal_periodstring
frequencystring
fundamentals_contextobject

涵蓋範圍

列數約 77,712
涵蓋起訖2019-05-15 – 2026-08-14
分級已驗證
量測時間2026-09-01取自資料集登錄表

範例回應

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

{
"dataset": "cash_flow_statement",
"rows": [
{
"symbol": "3189",
"ticker": "3189",
"fiscal_year": 2026,
"fiscal_quarter": 1,
"period_type": "quarterly",
"period_end_date": "2026-03-31",
"report_date": null,
"operating_cash_flow": 1449456,
"investing_cash_flow": -5263490,
"financing_cash_flow": 3130418,
"free_cash_flow": -3814034,
"capital_expenditures": null,
"depreciation": null,
"cash_beginning": null,
"cash_ending": null,
"net_change_in_cash": null,
"source": "official_mopsov_ajax_t163sb20",
"source_name": "official_mopsov_ajax_t163sb20",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"updated_at": "2026-05-25T10:25:58.801061",
"fundamentals_context": {
"generated_at": "2026-08-06T05:15:14Z",
"ticker": "3189",
"period": "2026Q1",
"period_type": "quarterly",
"statement_family": "cash_flow_statement",
"metric_values": {
"symbol": "3189",
"period_end_date": "2026-03-31",
"report_date": null,
"operating_cash_flow": 1449456,
"investing_cash_flow": -5263490,
"financing_cash_flow": 3130418,
"free_cash_flow": -3814034,
"capital_expenditures": null,
"depreciation": null,
"cash_beginning": null,
"cash_ending": null,
"net_change_in_cash": null,
"source": "official_mopsov_ajax_t163sb20",
"source_name": "official_mopsov_ajax_t163sb20",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"updated_at": "2026-05-25T10:25:58.801061"
},
"source_lineage": {
"provider": "official_mopsov_ajax_t163sb20",
"source_role": "official_mops_cash_flow_statement"
},
"data_gaps": [],
"restatement_warning": {
"has_restatement": false,
"reason": null,
"previous_version_ref": null
},
"not_investment_advice": true,
"coverage_window": {
"min_period": null,
"max_period": null,
"coverage_confidence": "medium",
"row_count": 0
},
"safe_usage_notes": [
"not_investment_advice",
"official_public_first_policy",
"period_semantics_explicit"
],
"available_tools_or_endpoints": [
{
"name": "cash_flow_statement",
"path": "/v2/datasets/cash-flow-statement"
},
{
"name": "cash_flow_statement",
"path": "/v2/datasets/financials"
}
]
}
},
{
"symbol": "3189",
"ticker": "3189",
"fiscal_year": 2026,
"fiscal_quarter": 1,
"period_type": "quarterly",
"period_end_date": "2026-03-31",
"report_date": "2026-05-15",
"operating_cash_flow": 1449456,
"investing_cash_flow": -5263490,
"financing_cash_flow": 3130418,
"free_cash_flow": null,
"capital_expenditures": null,
"depreciation": null,
"cash_beginning": null,
"cash_ending": null,
"net_change_in_cash": null,
"source": "mops_t163sb20",
"source_name": "mops_t163sb20",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"updated_at": "2026-07-18T14:43:59.997885",
"fundamentals_context": {
"generated_at": "2026-08-06T05:15:14Z",
"ticker": "3189",
"period": "2026Q1",
"period_type": "quarterly",
"statement_family": "cash_flow_statement",
"metric_values": {
"symbol": "3189",
"period_end_date": "2026-03-31",
"report_date": "2026-05-15",
"operating_cash_flow": 1449456,
"investing_cash_flow": -5263490,
"financing_cash_flow": 3130418,
"free_cash_flow": null,
"capital_expenditures": null,
"depreciation": null,
"cash_beginning": null,
"cash_ending": null,
"net_change_in_cash": null,
"source": "mops_t163sb20",
"source_name": "mops_t163sb20",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"updated_at": "2026-07-18T14:43:59.997885"
},
"source_lineage": {
"provider": "mops_t163sb20",
"source_role": "official_mops_cash_flow_statement"
},
"data_gaps": [],
"restatement_warning": {
"has_restatement": false,
"reason": null,
"previous_version_ref": null
},
"not_investment_advice": true,
"coverage_window": {
"min_period": null,
"max_period": null,
"coverage_confidence": "medium",
"row_count": 0
},
"safe_usage_notes": [
"not_investment_advice",
"official_public_first_policy",
"period_semantics_explicit"
],
"available_tools_or_endpoints": [
{
"name": "cash_flow_statement",
"path": "/v2/datasets/cash-flow-statement"
},
{
"name": "cash_flow_statement",
"path": "/v2/datasets/financials"
}
]
}
}
],
"count": 50,
"status": "ok"
}

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

出處

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

source_nameupdated_at

授權與顯名

本服務部分資料取自政府資料開放平臺(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/financials/cash-flow-statement

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

相關資料集

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

  • 資產負債表

    可用 fiscal_quarter + fiscal_year + report_date + ticker 對齊

  • 損益表

    可用 fiscal_quarter + fiscal_year + report_date + ticker 對齊

  • 財務比率指標

    可用 fiscal_year + ticker 對齊

  • 集保持股分級集中度

    可用 report_date + ticker 對齊

  • 股利政策

    可用 ticker 對齊

快速開始

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

篩選參數

參數必填型別說明
symbol否string股票代碼,例如 2330。

Python 範例

import requests

resp = requests.get(
"https://api.twmarketdata.com/v2/datasets/cash-flow-statement",
params={"symbol": "2330"},
headers={"X-API-Key": "sk_live_..."},
)
resp.raise_for_status()
print(resp.json()["rows"])

OpenAPI

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

備註與限制

  • 申報財報具時間點敏感性且會重編:回測時請帶 as_of,只會看到當下已公開的數字。

請求與回應

請求
curl "https://api.twmarketdata.com/v2/datasets/cash-flow-statement?symbol=2330" \
-H "X-API-Key: $TWMD_API_KEY"
回應
{
"dataset": "cash_flow_statement",
"rows": [
{
"symbol": "<string>",
"ticker": "<string>",
"fiscal_year": "<number>",
"fiscal_quarter": "<number>",
"period_type": "<string>",
"period_end_date": "<string>",
"report_date": "<null>",
"operating_cash_flow": "<number>",
"investing_cash_flow": "<number>",
"financing_cash_flow": "<number>",
"free_cash_flow": "<number>",
"capital_expenditures": "<null>",
"depreciation": "<null>",
"cash_beginning": "<null>",
"cash_ending": "<null>",
"net_change_in_cash": "<null>",
"source": "<string>",
"source_name": "<string>",
"fiscal_period": "<string>",
"frequency": "<string>",
"updated_at": "<string>",
"fundamentals_context": {
"generated_at": "<string>",
"ticker": "<string>",
"period": "<string>",
"period_type": "<string>",
"statement_family": "<string>",
"metric_values": "<object>",
"source_lineage": "<object>",
"data_gaps": "<array>",
"restatement_warning": "<object>",
"not_investment_advice": "<boolean>",
"coverage_window": "<object>",
"safe_usage_notes": "<array>",
"available_tools_or_endpoints": "<array>"
}
}
],
"count": 50,
"status": "ok"
}
i