AI agent?先讀 /llms.txt 取得全站索引。
基金與企業情報
基金/ETF 主檔——每檔上市基金與 ETF 的參考資料(識別、發行機構、類型)。
GET /v2/datasets/fund-etf-metadatafund-etf-metadata 為參考型資料集:每檔基金/ETF 一筆紀錄,用於將代碼解析為發行機構與類型。屬 metadata,非價格或資金流時間序列。
| 欄位 | 型別 | 說明 |
|---|---|---|
symbol | string | 基金/ETF 代碼。 |
name | string | 基金/ETF 名稱。 |
issuer | string | 發行機構。 |
fund_type | string | 基金/ETF 類型。 |
| 列數 | 257 |
| 涵蓋起訖 | 參考資料,無時間序列 |
| 分級 | 參考 |
此為本端點的真實回應。資料列位於 "data" 之下,來源資訊如下方所示;各資料集形狀不盡相同,請以本頁為準。
{ "dataset_id": "fund_etf_metadata", "request_context": { "scope": "fund_etf_metadata_latest_snapshot_only", "coverage_type": "latest_snapshot_only", "filters": { "fund_code": null, "market": null, "issuer": null, "fund_type": null, "source_as_of_date": null, "source_family": null, "limit": 50 }, "min_source_as_of_date": "2026-06-04", "max_source_as_of_date": "2026-06-04" }, "quality": { "row_count": 50, "fund_count": 50, "sensitive_fields_exposed": false }, "lineage": { "source_providers": [ "twse_official" ], "source_roles": [ "official_twse_t187ap47_l" ], "source_families": [ "twse_fund_etf_metadata" ] }, "error": null, "data": [ { "fund_code": "00400A", "market": "TWSE", "fund_name": "國泰台股動能高息主動式ETF證券投資信託基金", "issuer": null, "listing_date": "2026-04-09", "fund_type": "國內成分證券主動式交易所交易基金(股票)", "underlying_index": "不適用", "currency": null, "source_as_of_date": "2026-06-04", "source_provider": "twse_official", "source_role": "official_twse_t187ap47_l", "source_family": "twse_fund_etf_metadata", "lineage": { "depth": "latest_snapshot_only", "source_name": "t187ap47_L", "tpex_supplemental_probe_status": "pass" }, "data_gaps": [ "issuer_not_provided_by_source", "currency_not_provided_by_source" ], "not_investment_advice": true }, { "fund_code": "00401A", "market": "TWSE", "fund_name": "摩根台灣鑫收益主動式ETF證券投資信託基金", "issuer": null, "listing_date": "2026-04-10", "fund_type": "國內成分證券主動式交易所交易基金(股票)", "underlying_index": "不適用", "currency": null, "source_as_of_date": "2026-06-04", "source_provider": "twse_official", "source_role": "official_twse_t187ap47_l", "source_family": "twse_fund_etf_metadata", "lineage": { "depth": "latest_snapshot_only", "source_name": "t187ap47_L", "tpex_supplemental_probe_status": "pass" }, "data_gaps": [ "issuer_not_provided_by_source", "currency_not_provided_by_source" ], "not_investment_advice": true } ], "data_count": 50, "known_gaps": [ "latest_snapshot_only", "twse_first_baseline", "tpex_supplemental_not_full_baseline" ], "warnings": [ "not_investment_advice" ], "not_investment_advice": true, "envelope": { "dataset_id": "fund_etf_metadata", "scope": "fund_etf_metadata_latest_snapshot_only", "row_count": 50 }}擷取自 2026-07-20 的線上 API。
本頁顯示原始中文值;英文頁會以標記取代,以維持全英文。
curl "https://api.twmarketdata.com/v2/datasets/fund-etf-metadata?symbol=2330" \ -H "X-API-Key: sk_live_..."| 參數 | 必填 | 型別 | 說明 |
|---|---|---|---|
symbol | 否 | string | 以股票代碼篩選單一標的。 |
limit | 否 | integer | 回傳筆數上限。 |
第一個呼叫:
import requests resp = requests.get( "https://api.twmarketdata.com/v2/datasets/fund-etf-metadata", 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/fund-etf-metadata", params={"symbol": "2330"}, headers={"X-API-Key": "sk_live_..."},)resp.raise_for_status()for row in resp.json()["data"]: print(row)此端點為 GET /v2/datasets/fund-etf-metadata。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。