所有 API

各國 經濟成長率 API:單季實質 GDP 成長

官方季度實質 GDP 成長率。

在線99.99% uptime, last 30天364 ms 一般回應

首次請求

取得最新值

curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/USA/gdp-growth?period=2026-Q2" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"

取得歷史資料

curl --request GET \
  --url "https://api.narwhalapi.com/v1/economics/USA/gdp-growth/observations?start=2026-Q2&limit=100" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"

端點

GETGDP 成長率/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字串或 null

    Whether 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字串或 null

    The 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字串或 null

    The 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字串或 null

    Whether 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 strings

    Present 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.


完整參考文件 →
GETGDP 成長率歷史資料/v1/economics/{country}/gdp-growth/observations

取得指定國家目前已接受的 GDP 成長率時間序列。

參數

  • country必填

    一個受支援的大寫國家代碼;請參閱此操作的涵蓋清單。

  • start選填

    起始觀測期間(含該期間)。A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.

  • end選填

    結束觀測期間(含該期間)。A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.

  • limit選填

    傳回的期間數上限。預設值為 100。頁面可能包含較少的期間;請繼續使用 next_cursor。

  • cursor選填

    上一頁回傳的 next_cursor。

  • version選填

    只接受 first_reported:回傳每個期間首次儲存的值,並附帶 first_reported_at。不能與 as_of 同時使用。

  • as_of選填

    回傳截至指定 UTC 日終時已發布的序列。不能與 version 同時使用。

回應欄位

  • country字串

    請求的大寫 ISO alpha-3 國家代碼。每頁傳回一次,不在每筆觀測資料中重複。

  • start字串

    僅當 Narwhal 將請求的 start 移至較晚的期間時出現。不會傳回更早的期間。

  • as_ofRFC 3339 時間戳記

    來源最後更新本頁最新觀測值的時間,精確到整秒,使用 UTC。

  • 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.

  • frequency字串

    Present, as annual, only for yearly World Bank history. Periods are then years in YYYY format.

  • seasonal_adjustment字串或 null

    Whether 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字串或 null

    The 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字串或 null

    The 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字串或 null

    Whether 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。

  • observations陣列

    按時間由早到晚排列的已採用觀測資料,每個期間一筆。來源缺少的值會省略,絕不補值。每頁觀測資料筆數可能少於 limit;請繼續使用 next_cursor,直到其值為 null。

  • observations[].period字串

    觀測值所代表的官方月份、季度或年份。

  • observations[].first_reported_atRFC 3339 時間戳記

    僅在 version=first_reported 時出現。這個 UTC 時間戳記錄 Narwhal 首次儲存該期間的時間(如果各項指標是分開儲存的,則取最晚的時間)。在開始擷取之前發布的期間,顯示的是 Narwhal 的首次擷取時間。

  • observations[].year_over_year十進位數值字串

    與去年同季相比的實質變動率,單位為百分比。

  • observations[].quarter_over_quarter十進位數值字串

    與上一季相比的實質變動率,單位為百分比,未換算為年率。

  • observations[].year_to_date十進位數值字串

    年初至今的實質變動率,單位為百分比。發布機構未發布時省略。

  • observations[].calculatedarray of strings

    Present only when Narwhal calculated a figure in this row from the publisher's own numbers because the publisher does not print it. Lists the calculated figures: "year_over_year" and "quarter_over_quarter". A printed figure always wins over a calculated one.

  • next_cursor字串或 null

    將此值原樣作為 cursor 傳入,以讀取下一頁;最後一頁為 null。


完整參考文件 →

使用情境

由 GDP 水準計算成長率

計算季度成長率並換算成年率。

閱讀指南 →

建立經濟行事曆

按 UTC 列出你所選國家和日期的發布時間。

閱讀指南 →

在發布前收到提醒

透過日曆訂閱源或每日腳本設定提醒。

閱讀指南 →

回補歷史資料

分頁下載整個序列,中斷後可繼續。

閱讀指南 →

涵蓋範圍

顯示全部 40 個國家

來源

  • 澳大利亞澳大利亞統計局(ABS)
  • 奧地利奧地利統計局、歐盟統計局(Eurostat)
  • 比利時比利時統計局(Statbel)、比利時國家銀行、歐盟統計局(Eurostat)
  • 巴西Brazilian Institute of Geography and Statistics (IBGE), Secretariat of Foreign Trade (SECEX)
  • 加拿大加拿大統計局
  • 智利智利中央銀行(BCCh)、智利國家統計局(INE)
  • 中國National Bureau of Statistics of China, General Administration of Customs of China
  • 哥倫比亞國家統計行政部(DANE)
  • 捷克捷克統計局(ČSÚ)
  • 德國德國聯邦統計局(Destatis)
  • 丹麥丹麥統計局、歐盟統計局(Eurostat)
  • 西班牙西班牙國家統計局(INE)、西班牙稅務局(AEAT)
顯示全部 40 個來源
  • 愛沙尼亞愛沙尼亞統計局
  • 芬蘭芬蘭統計局、芬蘭海關(Tulli)
  • 法國法國國家統計與經濟研究院(INSEE)、法國海關
  • 英國英國國家統計局(ONS)
  • 克羅埃西亞克羅埃西亞統計局(CBS)
  • 印度尼西亞印尼統計局(BPS)
  • 愛爾蘭中央統計局(CSO)
  • 義大利義大利國家統計局(Istat)、歐盟統計局(Eurostat)
  • 日本日本統計局、日本內閣府、日本 Customs
  • 南韓Bank of Korea, Statistics Korea
  • 立陶宛立陶宛國家資料局
  • 盧森堡STATEC、歐盟統計局(Eurostat)
  • 拉脫維亞拉脫維亞中央統計局(CSB)
  • 墨西哥國家統計、地理與資訊研究所(INEGI)
  • 馬來西亞馬來西亞統計局(DOSM)
  • 荷蘭荷蘭統計局(CBS)
  • 挪威挪威統計局(SSB)
  • 紐西蘭Stats NZ
  • 巴基斯坦巴基斯坦統計局(PBS)
  • 菲律賓菲律賓統計局(PSA)
  • 波蘭波蘭統計局、歐盟統計局(Eurostat)
  • 葡萄牙葡萄牙統計局(INE)
  • 卡達National Planning Council (NPC),透過 Qatar Open Data 入口網站
  • 沙烏地阿拉伯統計總局(GASTAT)
  • 新加坡新加坡統計局(SingStat)、新加坡政府發布的開放資料
  • 斯洛維尼亞斯洛維尼亞共和國統計局(SURS)
  • 瑞典瑞典統計局(SCB)
  • 美國勞工統計局(BLS)、經濟分析局(BEA)、美國人口普查局

相關 API

經濟數據 API

價格、勞動力、產出、貿易與利率的官方指標。

探索 API →

常見問題

回應包含哪些內容?

取得一季的官方實質 GDP 成長率,按固定價格計算,以百分比表示。

可以請求哪些期間?

YYYY-QN

支援哪些資料範圍?

季度年增率與季增率資料涵蓋下列國家。選用的 year_to_date 欄位僅在官方來源發布該資料時才會出現。