---
title: "Narwhal API 參考 路由總覽 | Narwhal API"
description: "經濟數據、外匯、大宗商品、殖利率曲線、預測市場、行事曆、市場和所有權的 API 參考文件。查看路徑、欄位與範例。"
url: "https://narwhalapi.com/zh-tw/docs/api"
---

# Narwhal API 參考文件

經濟數據、外匯、大宗商品、殖利率曲線、預測市場、行事曆、市場和所有權的 API 參考文件。查看路徑、欄位與範例。

## 選擇 API

- [經濟數據 API 來自官方發布機構的 CPI、勞動力、GDP 與貿易資料。](https://narwhalapi.com/zh-tw/docs/api/economics.md)
- [外匯 API 目前匯率、換算與歷史資料。](https://narwhalapi.com/zh-tw/docs/api/fx.md)
- [國定假日 API 全國假日、地區假日與補休假日。](https://narwhalapi.com/zh-tw/docs/api/calendars.md)
- [棕櫚油 API 來自印尼與馬來西亞的 CPO 和 FFB 價格。](https://narwhalapi.com/zh-tw/docs/api/commodities.md)
- [現貨金屬 API 貴金屬、銅、WTI 與布蘭特原油。](https://narwhalapi.com/zh-tw/docs/api/commodities/spot.md)
- [經濟數據發布日曆 發布日期與每個已發布的版本。](https://narwhalapi.com/zh-tw/docs/api/economic-calendar.md)
- [Exchange closures Closed, early close and late open days by exchange.](https://narwhalapi.com/docs/api/calendars/exchange-closures.md)
- [Exchange status Whether an exchange is open at an instant, with the next open and close.](https://narwhalapi.com/docs/api/calendars/exchange-status.md)
- [Exchange list Every exchange with a published calendar, its time zone and sessions.](https://narwhalapi.com/docs/api/calendars/exchange-list.md)
- [營業日 Add business days to a date or count them between two dates.](https://narwhalapi.com/docs/api/calendars/business-days.md)
- [預測 API Probabilities by topic and event, with history.](https://narwhalapi.com/zh-tw/docs/api/predictions.md)
- [貿易數據 API 依夥伴國與 HS 產品劃分的貨物進出口。](https://narwhalapi.com/zh-tw/docs/api/trade.md)
- [任意序列 API 依 ID 查詢世界銀行與加拿大統計局的序列。](https://narwhalapi.com/zh-tw/docs/api/any-series.md)
- [申報文件參考 Statements, filing lists and 5% holder reports.](https://narwhalapi.com/zh-tw/docs/api/filings.md)
- [政策利率 Central-bank policy rates, reserves and balance sheets.](https://narwhalapi.com/zh-tw/docs/api/economics/policy-rate.md)
- [價格串流 已停止。請透過 REST 路由讀取即時價格。](https://narwhalapi.com/zh-tw/docs/api/prices-stream.md)

## 共享基礎資訊

- 每個資料請求都需要 Bearer 金鑰。
- REST 與 MCP 使用同一份額度。
- 日期、單位、貨幣和資料時效都會保留在回應中。
- 錯誤使用統一的問題結構，其中包含 `request_id`。

REST 起始於 `https://api.narwhalapi.com/v1`。MCP 地址為 `https://api.narwhalapi.com/mcp`。

- [OpenAPI](https://api.narwhalapi.com/openapi.json)
- [API 認證：Bearer 金鑰的使用方式](https://narwhalapi.com/zh-tw/docs/authentication.md)
- [API 錯誤 處理：錯誤碼、額度與重試](https://narwhalapi.com/zh-tw/docs/errors.md)

此頁面對你有幫助嗎?
