← Agent Data Hub · Search endpoints · /llms.txt

G20 GDP Growth by Country — Quarterly, vs. Same Quarter a Year Earlier, Real (OECD)

Real GDP growth against the same quarter one year earlier (chain-linked volumes, calendar and seasonally adjusted, %) for every G20 country with quarterly data as collected by the OECD: 14 G20 countries outside the EU statistics and the G20 total. Growth rates only, not the GDP level (for the level: World Bank GDP). Options for country: US (United States, real GDP growth vs. same quarter a year earlier (OECD)), CN (China, real GDP growth vs. same quarter a year earlier (OECD)), JP (Japan, real GDP growth vs. same quarter a year earlier (OECD)), IN (India, real GDP growth vs. same quarter a year earlier (OECD)), GB (United Kingdom, real GDP growth vs. same quarter a year earlier (OECD)), CA (Canada, real GDP growth vs. same quarter a year earlier (OECD)), BR (Brazil, real GDP growth vs. same quarter a year earlier (OECD)), KR (South Korea, real GDP growth vs. same quarter a year earlier (OECD)), AU (Australia, real GDP growth vs. same quarter a year earlier (OECD)), MX (Mexico, real GDP growth vs. same quarter a year earlier (OECD)), ID (Indonesia, real GDP growth vs. same quarter a year earlier (OECD)), SA (Saudi Arabia, real GDP growth vs. same quarter a year earlier (OECD)), AR (Argentina, real GDP growth vs. same quarter a year earlier (OECD)), ZA (South Africa, real GDP growth vs. same quarter a year earlier (OECD)), G20 (G20 total, real GDP growth vs. same quarter a year earlier (OECD)).

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/g20-gdp-growth-yoy?country=US&compact=1

Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"g20-gdp-growth-yoy"}

How to fetch it

curl:

curl -s 'https://api.agentdatahub.de/api/v1/call/g20-gdp-growth-yoy?country=US&compact=1'

Python (standard library only):

import json, urllib.request

url = "https://api.agentdatahub.de/api/v1/call/g20-gdp-growth-yoy?country=US&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
    data = json.load(r)
print(json.dumps(data, indent=2)[:2000])

Google Sheets:

This endpoint answers in JSON. Any recorded series loads as a table with =IMPORTDATA("https://api.agentdatahub.de/api/v1/series/<id>?format=csv") (Excel: Data → From Web); find ids with /api/v1/series?q=….

Parameters

countryCountry (ISO-2 code or name) or G20, e.g. US, CN, JP, IN, BR; EU countries: eu-gdp-growth-by-country (required; several comma-separated to compare, up to 10): US, CN, JP, IN, GB, CA, BR, KR, AU, MX, ID, SA, AR, ZA, G20
fromOptional start YYYY, YYYY-MM or YYYY-MM-DD
toOptional end YYYY, YYYY-MM or YYYY-MM-DD
lastNumber of most recent periods when no from/to is given, 1-500 (default: 13)
groupOptional country group instead of country (EU27, EA, OECD, G7, G20, a continent): one row per member, newest value each
periodOnly with group: latest (default) or common (one period across members)

Example response (live, compact)

{
  "apiId": "g20-gdp-growth-yoy",
  "trust": "checked",
  "data_freshness": "cached",
  "data": {
    "country": "US",
    "series": "United States, real GDP growth vs. same quarter a year earlier (OECD)",
    "unit": "% vs. a year earlier",
    "frequency": "Q",
    "latest": {
      "period": "2026-Q3",
      "value": 2.29
    },
    "history": [
      {
        "period": "2023-Q3",
        "value": 3.18
      },
      {
        "period": "2023-Q4",
        "value": 3.42
      },
      {
        "period": "2024-Q1",
        "value": 2.94
      },
      {
        "period": "2024-Q2",
        "value": 3.29
      },
      {
        "period": "2024-Q3",
        "value": 2.95
      },
      {
        "period": "2024-Q4",
        "value": 2.64
      },
      {
        "period": "2025-Q1",
        "value": 2.31
      },
      {
        "period": "2025-Q2",
        "value": 2.42
      },
      {
        "period": "2025-Q3",
        "value": 2.6
      },
      {
        "period": "2025-Q4",
        "value": 2.05
      },
      {
        "period": "2026-Q1",
        "value": 2.64
      },
      {
        "period": "2026-Q2",
        "value": 2.19
      },
      {
        "period": "2026-Q3",
        "value": 2.29
      }
    ],
    "available": {
      "from": "1948-Q1",
      "to": "2026-Q3",
      "points": 315
    },
    "verification": {
      "checked_at": "2026-12-01T21:42:38.943Z",
      "checks": []
    },
    "source": {
      "publisher": "OECD",
      "licence": "OECD Terms and Conditions, section 3: Data may be used \"for any purpose, even for commercial use\", with credit to the OECD",
      "licence_url": "https://www.oecd.org/en/about/terms-conditions.html",
      "source_url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_G20&df[ag]=OECD.SDD.NAD",
      "source_url_level": "dataset",
      "series_title": "USA United States | Gross domestic product | Chain linked volume | Calendar and seasonally adjusted | Growth rate, over 1 year"
    },
    "attribution": "Source: OECD, Quarterly National Accounts, Quarterly real GDP growth - G20 countries"
  },
  "source": "OECD",
  "source_url": "https://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_G20&df[ag]=OECD.SDD.NAD",
  "license": "OECD Terms and Conditions, section 3: Data may be used \"for any purpose, even for commercial use\", with credit to the OECD",
  "licence_status": "green",
  "as_of": "2026-Q3",
  "checked": "2026-12-01"
}

Source & license

SourceOECD
LicenseOECD Terms and Conditions, section 3: Data may be used "for any purpose, even for commercial use", with credit to the OECD
Source URLhttps://data-explorer.oecd.org/vis?df[ds]=dsDisseminateFinalDMZ&df[id]=DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_G20&df[ag]=OECD.SDD.NAD
Termshttps://www.oecd.org/en/about/terms-conditions.html
CategoryFinance & Markets › Economic Activity · more: gleif-company-search · global-market-session-briefing · government-bond-yields-10y