AI agent?先讀 /llms.txt 取得全站索引。
總體經濟
中央銀行(CBC)政策利率快照——最近一次設定的重貼現率與擔保放款融通利率。
GET /v2/datasets/interest-rate-snapshot利率快照是台灣市場資料集,來源為 CBC,由 TW Market Data 以 GET /v2/datasets/interest-rate-snapshot 提供。
interest-rate-snapshot 回傳目前 CBC 政策利率與其生效日期,來源為中央銀行。此為快照面,非長期每日時間序列。
| 欄位 | 型別 | 說明 |
|---|---|---|
rate_code | string | 利率代碼(如 CBC_ACCOMMODATIONS_WITH_COLLATERAL)。 |
rate_name | null | 利率名稱(可能為 null)。 |
as_of_date | string | 利率資料基準日。 |
rate_value | number | 利率值(百分比)。 |
rate_unit | null | |
rate_family | null | |
market | string | 市場別(TW)。 |
currency | string |
| 列數 | 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 對齊
可用 as_of_date + market 對齊
可用 as_of_date + market 對齊
可用 as_of_date + market 對齊
可用 as_of_date + market 對齊
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 宣告。 |
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"])此端點為 GET /v2/datasets/interest-rate-snapshot。完整機器可讀 schema(參數、認證、回應封裝)見 OpenAPI spec。