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/balance-sheet

資產負債表是台灣市場資料集,來源為 MOPS,由 TW Market Data 以 GET /v2/datasets/balance-sheet 提供。

總覽

balance-sheet 以官方 MOPS 申報為源,每家公司每個會計期間回傳一列;lineage 欄位標明數字來自哪一份 MOPS 表單,結構可回溯原始報表。

欄位型別說明
symbolstring股票代碼。
tickerstring
fiscal_yearnumber
fiscal_quarternumber
period_typestring
period_end_datestring
report_datestring
total_assetsnumber資產總額(新台幣仟元)。
total_liabilitiesnumber負債總額(新台幣仟元)。
total_equitynumber權益總額(新台幣仟元)。
cash_and_cash_equivalentsnumber
inventorynull
accounts_receivablenumber
current_assetsnull
current_liabilitiesnull
sourcestring
fiscal_periodstring
frequencystring
fundamentals_contextobject

涵蓋範圍

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

範例回應

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

{
"dataset": "balance_sheet",
"rows": [
{
"symbol": "2882",
"ticker": "2882",
"fiscal_year": 2026,
"fiscal_quarter": 1,
"period_type": "quarterly",
"period_end_date": "2026-03-31",
"report_date": "2026-05-15",
"total_assets": 14450034484,
"total_liabilities": 13633007653,
"total_equity": 817026831,
"cash_and_cash_equivalents": 293505959,
"inventory": null,
"accounts_receivable": 351852572,
"current_assets": null,
"current_liabilities": null,
"source": "mops_t163sb05",
"source_name": "mops_t163sb05",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"created_at": "2026-07-04T18:13:02.632865",
"updated_at": "2026-07-04T18:13:02.632865",
"fundamentals_context": {
"generated_at": "2026-08-06T05:15:14Z",
"ticker": "2882",
"period": "2026Q1",
"period_type": "quarterly",
"statement_family": "balance_sheet",
"metric_values": {
"symbol": "2882",
"period_end_date": "2026-03-31",
"report_date": "2026-05-15",
"total_assets": 14450034484,
"total_liabilities": 13633007653,
"total_equity": 817026831,
"cash_and_cash_equivalents": 293505959,
"inventory": null,
"accounts_receivable": 351852572,
"current_assets": null,
"current_liabilities": null,
"source": "mops_t163sb05",
"source_name": "mops_t163sb05",
"fiscal_period": "2026-Q1",
"frequency": "quarterly",
"created_at": "2026-07-04T18:13:02.632865",
"updated_at": "2026-07-04T18:13:02.632865"
},
"source_lineage": {
"provider": "mops_t163sb05",
"source_role": "official_mops_balance_sheet"
},
"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": "balance_sheet",
"path": "/v2/datasets/balance-sheet"
},
{
"name": "balance_sheet",
"path": "/v2/datasets/financials"
}
]
}
},
{
"symbol": "2882",
"ticker": "2882",
"fiscal_year": 2025,
"fiscal_quarter": 4,
"period_type": "quarterly",
"period_end_date": "2025-12-31",
"report_date": "2026-03-31",
"total_assets": 14341618353,
"total_liabilities": 13407230263,
"total_equity": 934388090,
"cash_and_cash_equivalents": 361911485,
"inventory": null,
"accounts_receivable": 324847287,
"current_assets": null,
"current_liabilities": null,
"source": "mops_t163sb05",
"source_name": "mops_t163sb05",
"fiscal_period": "2025-Q4",
"frequency": "quarterly",
"created_at": "2026-07-04T18:13:02.632865",
"updated_at": "2026-07-04T18:13:02.632865",
"fundamentals_context": {
"generated_at": "2026-08-06T05:15:14Z",
"ticker": "2882",
"period": "2025Q4",
"period_type": "quarterly",
"statement_family": "balance_sheet",
"metric_values": {
"symbol": "2882",
"period_end_date": "2025-12-31",
"report_date": "2026-03-31",
"total_assets": 14341618353,
"total_liabilities": 13407230263,
"total_equity": 934388090,
"cash_and_cash_equivalents": 361911485,
"inventory": null,
"accounts_receivable": 324847287,
"current_assets": null,
"current_liabilities": null,
"source": "mops_t163sb05",
"source_name": "mops_t163sb05",
"fiscal_period": "2025-Q4",
"frequency": "quarterly",
"created_at": "2026-07-04T18:13:02.632865",
"updated_at": "2026-07-04T18:13:02.632865"
},
"source_lineage": {
"provider": "mops_t163sb05",
"source_role": "official_mops_balance_sheet"
},
"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": "balance_sheet",
"path": "/v2/datasets/balance-sheet"
},
{
"name": "balance_sheet",
"path": "/v2/datasets/financials"
}
]
}
}
],
"count": 50,
"plan_id": "enterprise",
"status": "ok",
"unit": {
"currency": "TWD",
"scale": "per_field",
"fields": {
"total_assets": {
"currency": "TWD",
"scale": "thousand_twd",
"scale_multiplier": 1000,
"unit_label": "仟元",
"verified": true
},
"total_liabilities": {
"currency": "TWD",
"scale": "thousand_twd",
"scale_multiplier": 1000,
"unit_label": "仟元",
"verified": true
},
"total_equity": {
"currency": "TWD",
"scale": "thousand_twd",
"scale_multiplier": 1000,
"unit_label": "仟元",
"verified": true
},
"cash_and_cash_equivalents": {
"currency": "TWD",
"scale": "thousand_twd",
"scale_multiplier": 1000,
"unit_label": "仟元",
"verified": true
},
"accounts_receivable": {
"currency": "TWD",
"scale": "thousand_twd",
"scale_multiplier": 1000,
"unit_label": "仟元",
"verified": true
},
"inventory": {
"currency": "TWD",
"scale": "scale_unknown",
"scale_multiplier": null,
"unit_label": null,
"verified": false,
"reason": "no populated value exists to verify a scale against; the unit is NOT asserted"
}
},
"unverified_fields": [
"inventory"
],
"source_of_truth": "official_mops_statement",
"note": "科目字典(§2b):單位以官方 MOPS 報表為準——三大報表金額為仟元(值 ×1000 = 元),EPS 為元/股,比率為 %。每個科目的 scale 皆以官方公布數字核對過;無法核對者標 scale_unknown,不臆測。"
},
"meta": {
"plan": "enterprise",
"row_limit": 100000,
"is_limited": false
}
}

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

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

出處

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

source_namecreated_atupdated_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/balance-sheet

版本取自資料集自己的 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 對齊

  • 月營收

    可用 ticker 對齊

快速開始

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

篩選參數

參數必填型別說明
symbol是string股票代碼,例如 2330。
start_date否string查詢起始日期(YYYY-MM-DD)。
end_date否string查詢結束日期(YYYY-MM-DD)。
limit否integer回傳筆數上限。

Python 範例

import requests

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

OpenAPI

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

備註與限制

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

請求與回應

請求
curl "https://api.twmarketdata.com/v2/datasets/balance-sheet?symbol=2330&start_date=2026-01-01&end_date=2026-06-30&limit=5" \
-H "X-API-Key: $TWMD_API_KEY"
回應
{
"dataset": "balance_sheet",
"rows": [
{
"symbol": "<string>",
"ticker": "<string>",
"fiscal_year": "<number>",
"fiscal_quarter": "<number>",
"period_type": "<string>",
"period_end_date": "<string>",
"report_date": "<string>",
"total_assets": "<number>",
"total_liabilities": "<number>",
"total_equity": "<number>",
"cash_and_cash_equivalents": "<number>",
"inventory": "<null>",
"accounts_receivable": "<number>",
"current_assets": "<null>",
"current_liabilities": "<null>",
"source": "<string>",
"source_name": "<string>",
"fiscal_period": "<string>",
"frequency": "<string>",
"created_at": "<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,
"plan_id": "enterprise",
"status": "ok",
"unit": {
"currency": "<string>",
"scale": "<string>",
"fields": {
"total_assets": "<object>",
"total_liabilities": "<object>",
"total_equity": "<object>",
"cash_and_cash_equivalents": "<object>",
"accounts_receivable": "<object>",
"inventory": "<object>"
},
"unverified_fields": "<array>",
"source_of_truth": "<string>",
"note": "<string>"
},
"meta": {
"plan": "<string>",
"row_limit": "<number>",
"is_limited": "<boolean>"
}
}
i