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

市場結構與參考

公司產業曝險

公司產業曝險

參考來源: TWMD·方案: free·計費: 1 ·GET /v2/datasets/company-industry-exposures

公司產業曝險是台灣市場資料集,來源為 TWMD,由 TW Market Data 以 GET /v2/datasets/company-industry-exposures 提供。

總覽

公司產業曝險——後端 meta 未提供 grain,故此處不述。

欄位型別說明
tickerstring
company_namestring
marketstring
exchangestring
industrystring
industry_codestring
sub_industrynull
exposure_typestring
exposure_weightnumber
evidence_tierstring
confidence_scorenumber

範例回應

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

{  "dataset_id": "company_industry_exposures",  "request_context": {    "scope": "tw_listed_company_industry_exposure",    "coverage_type": "current_state_reference",    "filters": {      "ticker": "5236",      "market": null,      "industry": null,      "limit": 50    }  },  "quality": {    "row_count": 1,    "ticker_count": 1,    "rows_exceed_tickers": false,    "sensitive_fields_exposed": false  },  "lineage": {    "sources": [      "twse_t187ap03_L"    ],    "versions": [      "company_industry_exposure_official_t187ap03_v1"    ],    "semantics": "Which industries each listed company is exposed to and by how much, with the evidence tier and confidence behind each claim. A CURRENT-STATE reference surface: refreshes bump exposure_version rather than adding a dated row."  },  "error": null,  "data": [    {      "ticker": "5236",      "company_name": "凌陽創新科技股份有限公司",      "market": "TWSE",      "exchange": "listed",      "industry": "24",      "industry_code": "24",      "sub_industry": null,      "exposure_type": "official_industry_classification",      "exposure_weight": 1,      "evidence_tier": "official-source-backed",      "confidence_score": 1,      "source_name": "twse_t187ap03_L",      "source_url": "https://openapi.twse.com.tw/v1/opendata/t187ap03_L",      "exposure_version": "company_industry_exposure_official_t187ap03_v1"    }  ],  "data_count": 1,  "known_gaps": [    "exposure_weight_is_a_claimed_share_not_an_audited_revenue_split",    "evidence_tier_and_confidence_score_qualify_each_row_read_them_before_using_the_weight",    "current_state_snapshot_not_a_time_series_there_is_no_history_to_range_over"  ],  "warnings": [    "not_investment_advice"  ],  "envelope": {    "dataset_id": "company_industry_exposures",    "scope": "tw_listed_company_industry_exposure",    "row_count": 1  }}

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

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

出處

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

source_namesource_urlexposure_version

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

快速開始

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

篩選參數

參數必填型別說明
symbolstring以股票代碼篩選單一標的。
limitinteger回傳筆數上限。

Python 範例

第一個呼叫:

import requests resp = requests.get(    "https://api.twmarketdata.com/v2/datasets/company-industry-exposures",    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/company-industry-exposures",    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/company-industry-exposures。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec

備註與限制

  • 產業曝險是推導出的『實體屬性』現況快照,整表沒有日期欄,無法回放到過去某日。今天的分類不代表歷史上任一時點的分類;as_of 因此被拒絕而非以今日視角回答。