---
title: "金額 supply API Reference | Narwhal API"
description: "取得一個國家來自 IMF 的最新月度廣義貨幣，以本國貨幣計。Parameters, examples, errors, freshness, and coverage."
url: "https://narwhalapi.com/zh-tw/docs/api/economics/money-supply"
---

# Money supply API

取得一個國家來自 IMF 的最新月度廣義貨幣，以本國貨幣計。

`economics_get_money_supply` 可透過 REST 或 `economics_get_money_supply` MCP 工具呼叫。兩者回傳相同的資料結構，並使用同一份額度。

## 端點與請求

REST 端點

```
GET /v1/economics/{country}/money-supply
```

請求範例

```
curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/KWT/money-supply" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
```

MCP 使用工具 `economics_get_money_supply` ，並使用下列對應參數。

## 參數

此操作接受的期間格式是 `YYYY-MM`。

| 名稱 | 必填 | 類型 | 含義 |
| --- | --- | --- | --- |
| `country` | 是 | 路徑·ISO alpha-3 | 一個受支援的大寫國家代碼；請參閱此操作的涵蓋清單。 |
| `period` | 否 | 查詢·YYYY-MM | 省略此參數可取得已採納的最新完整發布資料，或傳入一個確切期間。 |
| `series_id` | 否 | 查詢·UUID | 選填。某個序列的 `series_id`，取自先前的回應。省略則讀取該國的預設序列。 |

## 回應

回應範例

```
{
  "source": {
    "publisher": "Country authorities; National Summary Data Pages; European Central Bank; IMF Staff Calculations",
    "distributor": "International Monetary Fund"
  },
  "seasonal_adjustment": "not_seasonally_adjusted",
  "aggregate": "broad_money",
  "definition_label": "Broad Money",
  "period": "2026-08",
  "value": "42767544300",
  "country": "KWT",
  "series_id": "94322188-0436-47b7-b127-01f3f73cfab9",
  "unit": "currency",
  "currency": "KWD"
}
```

| 欄位 | 類型 | 必填 | 含義 |
| --- | --- | --- | --- |
| `source` | 對象 | 是 | 該數值的發布方。`publisher` 是 IMF 序列中繼資料所列的原始發布機構，`distributor` 是 IMF，即 Narwhal 讀取資料的來源。每個序列只有一個來源，適用於其全部歷史。沒有 `released_on`。 |
| `seasonal_adjustment` | 字串 | 是 | Always `not_seasonally_adjusted`. |
| `aggregate` | 字串 | 是 | Always `broad_money`. |
| `definition_label` | 字串 | 是 | 該總計數在 IMF 資料集中的名稱：`Broad Money`。 |
| `period` | 字串 | 是 | 回傳的官方觀測期間。 |
| `value` | 十進位數值字串 | 是 | 月底的廣義貨幣，以 `currency` 中本國貨幣的整數單位計。 |
| `status` | 字串 | 否 | 僅當發布機構標註該數值時才提供：`estimated`、`break_in_series`、`definition_differs` 或 `break_in_series_and_definition_differs`。否則省略。 |
| `release_status` | 字串 | 否 | 發布機構將該數值標為暫時值時為 `preliminary`。否則省略。 |
| `country` | 字串 | 是 | 所請求的大寫 ISO 三字母國家代碼。 |
| `series_id` | 字串 | 是 | 該數值來自的序列。將其作為 `series_id` 傳入，可再次讀取同一序列。 |
| `unit` | 字串 | 是 | Always `currency`. |
| `currency` | ISO 4217 字串 | 是 | 該國的本國貨幣，例如 `KWD`。 |

## API 錯誤 處理：錯誤碼、額度與重試

- `400 invalid_query`: A query parameter is unknown or repeated, `country` is not three uppercase letters, `series_id` is not a UUID, or `period` is not a month in `YYYY-MM` format. `version_id`, `version` and `as_of` are not accepted on this route.
- `401 invalid_api_key`: Bearer 金鑰缺失或被拒絕。
- `402 insufficient_credits`: 你的餘額不足以支付此次呼叫。
- `404 series_not_found`: 該國家不在本頁的涵蓋清單中，`series_id` 不是該國的序列，或沒有符合 `period` 的觀測值。清單之外的國家會得到一則說明該系列不適用於它的詳細訊息。404 不收費。
- `429 rate_limit_exceeded`: 達到了網路或帳戶的短窗口限制。請在 `Retry-After` 之後重試。
- `503 economics_unavailable`: Narwhal 無法安全地提供已儲存的序列。

Only a successful data response costs credit. 查看 [所有錯誤、標頭與重試規則](https://narwhalapi.com/zh-tw/docs/errors.md)。

## 資料時效

省略 `period` 時會回傳最新儲存的觀測值。該 API 呼叫讀取 Narwhal 的資料庫，不會即時呼叫發布機構。回應中沒有 `released_on`，因為散布機構顯示的日期不是發布機構的發布日期。

讀取 [來源檢查、驗證、發布版本儲存，以及檢查失敗時的處理方式](https://narwhalapi.com/zh-tw/docs/freshness.md)。

## 目前公開測試版的涵蓋範圍

4 國家

`DOM, KAZ, KWT, MUS`

月度資料，以該國本國貨幣的整數單位計，未經季節性調整。各國對廣義貨幣的定義不同，因此只應在同一國家內比較水準。該序列由國際貨幣基金組織（IMF）散布，`source.publisher` 給出原始發布機構。期間是 `YYYY-MM` 格式的月份。其他任何國家會回傳 `404 not_found`，且不收費。

每日 FX 資料可透過以下 API 取得： [外匯 API](https://narwhalapi.com/zh-tw/api/fx.md)。

回傳 [所有 經濟數據 操作](https://narwhalapi.com/zh-tw/docs/api/economics.md)。

## 從免費金鑰開始

每月 10 美元免費額度，無需綁卡。每月 10 美元免費額度，無需綁卡。

[取得免費 API 金鑰](https://narwhalapi.com/zh-tw/signup)

此頁面對你有幫助嗎?
