Growth from GDP levels
Work out quarterly growth and show it as an annual rate.
Read the guide →Read official GDP levels and GDP growth by country through REST or MCP. Request the latest accepted value, an exact period or dated history.
curl --request GET \
--url "https://api.narwhalapi.com/v1/economics/USA/gdp?period=2026-Q2" \
--header "Authorization: Bearer $NARWHAL_API_KEY"/v1/economics/{country}/gdpRetrieve national GDP for one quarter, always at current prices.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
valuepositive decimal stringThe current-price GDP value.
currencyISO 4217 stringThe national currency for the GDP value.
seasonal_adjustmentstring or 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_basisstring or 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_adjustedtruePresent, as true, only when the official series is not seasonally adjusted.
annualizedtruePresent, as true, only when the official level is annualized.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectWho 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/observationsRetrieve the current accepted gross domestic product time series for one country.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
startoptionalInclusive first observation period. A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.
endoptionalInclusive last observation period. A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.
limitoptionalMaximum number of periods returned. Defaults to 100. A page may contain fewer periods; follow next_cursor.
cursoroptionalThe next_cursor from the previous page.
versionoptionalAccepts first_reported only: returns the first stored value per period with first_reported_at. Cannot be combined with as_of.
as_ofoptionalReturns the series as published through the end of the specified UTC day. Cannot be combined with version.
countrystringThe requested uppercase ISO alpha-3 country code. Returned once per page, not for each observation.
startstringPresent only when Narwhal moves the requested start to a later period. Earlier periods are not returned.
as_ofRFC 3339 timestampWhen the source last updated the newest observation on this page, in whole seconds, UTC.
sourceobjectWho 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.
frequencystringPresent, as annual, only for yearly World Bank history. Periods are then years in YYYY format.
seasonal_adjustmentstring or 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_basisstring or 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.
currencyISO 4217 stringThe national currency for every value on the page, or USD for World Bank annual history.
not_seasonally_adjustedtruePresent, as true, only when the figures are not seasonally adjusted.
annualizedtruePresent, as true, only when the figures are annualized.
observationsarrayOldest-first accepted observations, one per period. Missing source values are omitted, never filled. A page can hold fewer observations than limit; follow next_cursor until it is null.
observations[].periodstringThe official month, quarter or year represented by the observation.
observations[].first_reported_atRFC 3339 timestampPresent only with version=first_reported, this UTC timestamp records when Narwhal first stored the period (the latest time if its measures were stored separately); periods released before capture began show Narwhal's first capture.
observations[].valuedecimal stringThe current-price GDP value.
next_cursorstring or nullPass this unchanged as cursor to read the next page; null on the last page.
/v1/economics/{country}/gdp-growthRetrieve official real GDP growth for one quarter, measured at constant prices and expressed in percent.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
periodoptionalOmit it for the latest accepted complete release, or pass one exact period.
version_idoptionalOptional immutable publication version. Use resource_version from a dataset.published or dataset.revised event; omit to read the current admitted indicator.
countrystringThe requested uppercase ISO alpha-3 country code.
periodstringThe official observation period returned.
year_over_yeardecimal stringReal GDP change from the same quarter one year earlier, in percent.
quarter_over_quarterdecimal stringReal GDP change from the previous quarter, in percent, not annualized. Left out where the publisher releases only the year-over-year figure, and for a yearly period.
year_to_datedecimal stringOfficial year-to-date growth, in percent, when the source publishes it; otherwise omitted.
seasonal_adjustmentstring or 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_adjustmentstring or 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_adjustmentstring or 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.
annualizationstring or 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_adjustedtruePresent, as true, only when the growth rates are not seasonally adjusted.
annualizedtruePresent, as true, only when the published growth rate is annualized.
year_over_year_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its year-over-year figure is not seasonally adjusted. The top-level flag is then absent.
quarter_over_quarter_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its quarter-over-quarter figure is not seasonally adjusted. The top-level flag is then absent.
seasonally_adjustedtruePresent, as true, only when both figures are recorded as seasonally adjusted.
year_over_year_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its year-over-year figure is seasonally adjusted. The top-level flag is then absent.
quarter_over_quarter_seasonally_adjustedtruePresent, as true, only for a country that mixes bases: its quarter-over-quarter figure is seasonally adjusted. The top-level flag is then absent.
released_ondateThe official publication date, not Narwhal's retrieval time.
sourceobjectWho 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.
stagestringAppears 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 timestampAppears only on a newest figure read from the publisher's release. When the publisher released the figure.
provisionaltruePresent, 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}/gdp-growth/observationsRetrieve the current accepted gdp growth time series for one country.
countryrequiredOne supported uppercase country code; see this operation’s coverage list.
startoptionalInclusive first observation period. A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.
endoptionalInclusive last observation period. A year in YYYY format works only for countries served from World Bank annual data. A national series rejects it with 400 invalid_query.
limitoptionalMaximum number of periods returned. Defaults to 100. A page may contain fewer periods; follow next_cursor.
cursoroptionalThe next_cursor from the previous page.
versionoptionalAccepts first_reported only: returns the first stored value per period with first_reported_at. Cannot be combined with as_of.
as_ofoptionalReturns the series as published through the end of the specified UTC day. Cannot be combined with version.
countrystringThe requested uppercase ISO alpha-3 country code. Returned once per page, not for each observation.
startstringPresent only when Narwhal moves the requested start to a later period. Earlier periods are not returned.
as_ofRFC 3339 timestampWhen the source last updated the newest observation on this page, in whole seconds, UTC.
sourceobjectWho 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.
frequencystringPresent, as annual, only for yearly World Bank history. Periods are then years in YYYY format.
seasonal_adjustmentstring or 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_adjustmentstring or 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_adjustmentstring or 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.
annualizationstring or 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_adjustedtruePresent, as true, only when the figures are not seasonally adjusted.
annualizedtruePresent, as true, only when the figures are annualized.
year_over_year_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases and whose year-over-year figure is not seasonally adjusted.
quarter_over_quarter_not_seasonally_adjustedtruePresent, as true, only for a country that mixes bases and whose quarter-over-quarter figure is not seasonally adjusted.
seasonally_adjustedtruePresent, as true, only when both figures are recorded as seasonally adjusted.
year_over_year_seasonally_adjustedtruePresent, as true, only for a country that mixes bases and whose year-over-year figure is seasonally adjusted.
quarter_over_quarter_seasonally_adjustedtruePresent, as true, only for a country that mixes bases and whose quarter-over-quarter figure is seasonally adjusted.
observationsarrayOldest-first accepted observations, one per period. Missing source values are omitted, never filled. A page can hold fewer observations than limit; follow next_cursor until it is null.
observations[].periodstringThe official month, quarter or year represented by the observation.
observations[].first_reported_atRFC 3339 timestampPresent only with version=first_reported, this UTC timestamp records when Narwhal first stored the period (the latest time if its measures were stored separately); periods released before capture began show Narwhal's first capture.
observations[].year_over_yeardecimal stringReal change from the same quarter one year earlier, in percent.
observations[].quarter_over_quarterdecimal stringReal change from the previous quarter, in percent, not annualized.
observations[].year_to_datedecimal stringReal change for the year to date, in percent. Omitted when the publisher does not release it.
observations[].calculatedarray of stringsPresent 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_cursorstring or nullPass this unchanged as cursor to read the next page; null on the last page.
Work out quarterly growth and show it as an annual rate.
Read the guide →List release times in UTC for the countries and dates you choose.
Read the guide →Set a reminder with a calendar feed or a daily script.
Read the guide →Download a full series page by page and resume if it stops.
Read the guide →Official indicators for prices, labour, output, trade, and rates.
Explore the API →Release schedules, status, and publication versions.
Explore the API →How releases are checked and revised.
Read the methodology →Yes. Both GDP levels and GDP growth are live today.
Yes. You can request an exact period or retrieve dated history.
The API publishes official statistics from national publishers, organized by country.
Free $10 credits every month, no card.Free $10 credits a month, no card.