比較各國通膨
把最新的通膨率排序,並保留每次發布的日期。
閱讀指南 →透過單一來源,取得官方統計機構發布的 CPI、通膨、勞動力、GDP 和貿易資料。
curl --request GET \
--url "https://api.narwhalapi.com/v1/economics/USA/cpi?period=2026-07" \
--header "Authorization: Bearer $NARWHAL_API_KEY"/v1/economics/{country}/cpi取得某個國家在指定月份的整體消費者物價指數。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
value表示正數的十進位數值字串整體指數值。
index_base字串指數的基期和基值,例如 1982-84=100。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象選填的 source 物件僅在統計資料經由分發方取得時出現,包含 publisher(分發方所註明的原始發布方)和 distributor(分發機構)。存在 source 時,released_on 是分發方的發布日期,而不是原始發布方的發布日期。由發布方直接提供的序列沒有 source。
/v1/economics/{country}/inflation取得指定月份的通膨年增率、月增率及年初至今通膨率。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
year_over_year十進位數值字串與去年同月相比的變動率,單位為百分比。
month_over_month十進位數值字串與上個月相比的變動率,單位為百分比。Left out where the publisher releases only the year-over-year figure.
quarter_over_quarter十進位數值字串Change from the previous quarter, in percent. Sent instead of month_over_month for New Zealand, whose figures are quarterly.
year_to_date十進位數值字串與去年十二月相比的變動率,單位為百分比。發布機構未發布時省略。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象The optional source object appears only when the statistic is received through a distributor. It contains publisher (the original publisher named by the distributor) and distributor (the distributing organisation). When source is present, released_on is the distributor's publication date, not the original publisher's release date. Publisher-direct series omit source. On a newest figure read from the publisher's own release, source is {"publisher": "..."} with no distributor, and released_on is the publisher's local release day.
stage字串Appears only on a newest figure read from the publisher's release. Which reading of the figure this is: flash, advance, first, second, third, preliminary or final.
published_atRFC 3339 時間戳記Appears only on a newest figure read from the publisher's release. When the publisher released the figure.
provisional是Present, as true, only when the figure read from the release is marked provisional.
calculatedarray of stringsPresent only when Narwhal calculated a figure from the publisher's own numbers because the publisher does not print it. Lists the calculated figures: ["year_over_year"], ["month_over_month"] or both. A printed figure always wins over a calculated one. A stored answer can carry it too, not only an answer read from the release.
/v1/economics/{country}/unemployment取得一個觀測期間的官方失業率。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
rate十進位數值字串已發布的比率,單位為百分比,範圍為 0 至 100,包含兩端。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
seasonal_adjustment字串或 nullWhether the figure is seasonally adjusted, as the publisher states it: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. null means the publisher does not say. Never read null as adjusted.
source對象Who published the figure: the statistics office or central bank, for example {"publisher": "Office for National Statistics"}. Where the data reaches us through another body, distributor names that body too. If we cannot tell who published a figure, source is left out. On a newest figure read from the publisher's own release, source is {"publisher": "..."} with no distributor, and released_on is the publisher's local release day.
stage字串Appears only on a newest figure read from the publisher's release. Which reading of the figure this is: flash, advance, first, second, third, preliminary or final.
published_atRFC 3339 時間戳記Appears only on a newest figure read from the publisher's release. When the publisher released the figure.
provisional是Present, as true, only when the figure read from the release is marked provisional.
calculatedarray of stringsPresent only when Narwhal calculated a figure from the publisher's own numbers because the publisher does not print it. Lists the calculated figures: ["rate"]. A printed figure always wins over a calculated one. A stored answer can carry it too, not only an answer read from the release.
/v1/economics/{country}/labour-force-participation取得一個觀測期間的官方勞動力參與率。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
rate十進位數值字串已發布的比率,單位為百分比,範圍為 0 至 100,包含兩端。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象選填的 source 物件僅在統計資料經由分發方取得時出現,包含 publisher(分發方所註明的原始發布方)和 distributor(分發機構)。存在 source 時,released_on 是分發方的發布日期,而不是原始發布方的發布日期。由發布方直接提供的序列沒有 source。
/v1/economics/{country}/gdp取得一季的全國 GDP,一律按現價計算。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
value表示正數的十進位數值字串按當期價格計算的 GDP 數值。
currencyISO 4217 字串GDP數值所使用的本國貨幣。
seasonal_adjustment字串或 nullWhether the figure is seasonally adjusted, as the publisher states it: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. null means the publisher does not say. Never read null as adjusted.
price_basis字串或 nullcurrent for nominal GDP at current prices, or constant for real GDP at a reference year's prices. null means the publisher does not say.
not_seasonally_adjusted是僅在官方序列未經季節調整時出現,值為 true。
annualized是僅在官方總量已換算為年率時出現,值為 true。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象Who published the figure: the statistics office or central bank, for example {"publisher": "Office for National Statistics"}. Where the data reaches us through another body, distributor names that body too. If we cannot tell who published a figure, source is left out.
/v1/economics/{country}/gdp-growth取得一季的官方實質 GDP 成長率,按固定價格計算,以百分比表示。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
year_over_year十進位數值字串與去年同季相比的實質 GDP 變動率,單位為百分比。
quarter_over_quarter十進位數值字串與上一季相比的實質 GDP 變動率,單位為百分比,未換算為年率。發布機構只發布年增率時,以及年度期間,此欄位會省略。
year_to_date十進位數值字串來源發布時提供的官方年初至今成長率,單位為百分比;否則省略。
seasonal_adjustment字串或 nullWhether the figure is seasonally adjusted, as the publisher states it: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. null means the publisher does not say. Never read null as adjusted. mixed means the two growth figures are on different bases. Japan is one example: its year on year growth is not adjusted, and its quarter on quarter growth is.
year_over_year_seasonal_adjustment字串或 nullThe basis of each growth figure on its own, using the same values. They are filled only when seasonal_adjustment is mixed. Otherwise, or where the release does not state that figure's basis, they are null.
quarter_over_quarter_seasonal_adjustment字串或 nullThe basis of each growth figure on its own, using the same values. They are filled only when seasonal_adjustment is mixed. Otherwise, or where the release does not state that figure's basis, they are null.
annualization字串或 nullWhether quarter on quarter growth is annualized: annualized or not_annualized. It is null when the answer has no quarter on quarter figure. Year on year growth is never annualized.
not_seasonally_adjusted是僅在成長率未經季節調整時出現,值為 true。
annualized是僅在已發布的成長率換算為年率時出現,值為 true。
year_over_year_not_seasonally_adjusted是僅當某國混用不同基準且其年增率數值未經季節調整時出現,值為 true。此時頂層旗標不會出現。
quarter_over_quarter_not_seasonally_adjusted是僅當某國混用不同基準且其季增率數值未經季節調整時出現,值為 true。此時頂層旗標不會出現。
seasonally_adjusted是僅當兩個數值均記錄為經季節調整時出現,值為 true。
year_over_year_seasonally_adjusted是僅當某國混用不同基準且其年增率數值經季節調整時出現,值為 true。此時頂層旗標不會出現。
quarter_over_quarter_seasonally_adjusted是僅當某國混用不同基準且其季增率數值經季節調整時出現,值為 true。此時頂層旗標不會出現。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象Who published the figure: the statistics office or central bank, for example {"publisher": "Office for National Statistics"}. Where the data reaches us through another body, distributor names that body too. If we cannot tell who published a figure, source is left out. On a newest figure read from the publisher's own release, source is {"publisher": "..."} with no distributor, and released_on is the publisher's local release day.
stage字串Appears only on a newest figure read from the publisher's release. Which reading of the figure this is: flash, advance, first, second, third, preliminary or final.
published_atRFC 3339 時間戳記Appears only on a newest figure read from the publisher's release. When the publisher released the figure.
provisional是Present, as true, only when the figure read from the release is marked provisional.
calculatedarray of stringsPresent only when Narwhal calculated a figure from the publisher's own numbers because the publisher does not print it. Lists the calculated figures: ["year_over_year"], ["quarter_over_quarter"] or both. A printed figure always wins over a calculated one. A stored answer can carry it too, not only an answer read from the release.
/v1/economics/{country}/trade取得一個期間的出口額、進口額和精確的商品貿易差額。不包含服務。
country必填一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。
period選填省略此參數可取得已採納的最新完整發布資料,或傳入一個確切期間。
version_id選填選填的不可變發布版本。使用 dataset.published 或 dataset.revised 事件中的 resource_version;省略則讀取目前已收錄的指標。
country字串所請求的大寫 ISO 三字母國家代碼。
period字串回傳的官方觀測期間。
exports表示非負數的十進位字串貨物出口總額。
imports表示非負數的十進位字串貨物進口總額。
balance十進位數值字串精確的出口額減進口額;結果可能為負。
currencyISO 4217 字串三個貨幣值所使用的貨幣。
seasonal_adjustment字串或 nullWhether the figure is seasonally adjusted, as the publisher states it: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. null means the publisher does not say. Never read null as adjusted.
scope字串What the totals cover. goods is trade in goods only, so services are not included. A headline figure that adds services is a different series and is not served here.
not_seasonally_adjusted是僅在數值為未經季節調整的原始序列時出現,值為 true。未出現表示數值已做季節調整,或為不含季節調整的世界銀行年度數據。
released_on日期官方發布日期,而不是 Narwhal 的檢索時間。
source對象Who published the figure: the statistics office or central bank, for example {"publisher": "Office for National Statistics"}. Where the data reaches us through another body, distributor names that body too. If we cannot tell who published a figure, source is left out.
查閱涵蓋範圍表,確認已發布資料涵蓋哪些國家。可用指標與歷史期間依國家而異。
有。七個最新發布操作各有對應的 observations 路由,可取得目前採用的歷史序列。
每個已上線的資料串流都來自涵蓋範圍矩陣中列出的政府統計機構或其他各國官方發布機構。
Narwhal 會在發布資料通過驗證後予以發布。公開測試版不保證從來源發布到 Narwhal 發布之間有固定的時間差。
每月 10 美元免費額度,無需綁卡。每月 10 美元免費額度,無需綁卡。