Gross Domestic Product of the United States (US GDP)

1,269
0
Updated:
Files:2
Size:13.4 kB
Formats:csv
License:ODC-PDDL-1.0

Gross Domestic Product (GDP) of the United States (US) both nominal and real on an annual and quarterly basis. Annual data is provided since 1930 and quarterly data since 1947. Both total GDP (levels)...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/gdp-us/
https://datahub.io/core/gdp-us/_r/-/.gitignore
https://datahub.io/core/gdp-us/_r/-/README.md
https://datahub.io/core/gdp-us/_r/-/data/quarter.csv
https://datahub.io/core/gdp-us/_r/-/data/year.csv
https://datahub.io/core/gdp-us/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/gdp-us/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/gdp-us/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Views

Data Files

Explore with AI

year

Loading data...

Download

Download CSV

About

Last updated
9 February 2026
Total rows
...
Format
CSV
File size
2.69 kB

quarter

Loading data...

Download

Download CSV

About

Last updated
9 February 2026
Total rows
...
Format
CSV
File size
10.7 kB

About this dataset

badge

Gross Domestic Product (GDP) of the United States (US) both nominal and real on an annual and quarterly basis. Annual data is provided since 1930 and quarterly data since 1947. Both total GDP (levels) and annualized percentage change in GDP are provided. Both levels and changes are available both in current dollars (nominal GDP) and in chained 2017 dollars (real GDP). Data is sourced from US Government's Bureau of Economic Analysis (BEA) and provided in standardized CSV.

Data

The calculation of GDP and, in particular, chained measures of GDP involves some complexities. You can read more about the benefits and issues of BEA's Chain Indexes in the BEA's 1997 Survey of Current Business.

Preparation

Requires Python. Install the requirements:

pip install -r scripts/requirements.txt

Then run the script to get the data:

python scripts/process.py

Automation

Up-to-date (auto-updates every month) gdp-us dataset could be found on the datahub.io: https://datahub.io/core/gdp-us

License

Public Domain Dedication and License.

Note we assume source data is public domain as US Federal Government.