US GDP Per Capita (Annual)

US GDP Per Capita. Source: World Bank (NY.GDP.PCAP.CD). Live current value at https://calcfi.app/rates/history/us-gdp-per-capita. Cadence: annual. Unit: usd.

Report an issue
Downloads
248
Last updated
Data file
1
Size
1.25 kB
Format
csv
License
CC-BY-4.0

US GDP Per Capita

Periodic observations of US GDP Per Capita (US GDP/capita).

At a glance

FieldValue
Slugus-gdp-per-capita
Categoryglobal
Unitusd
Cadenceannual
SourceWorld Bank (NY.GDP.PCAP.CD)
Source series IDUSA:NY.GDP.PCAP.CD
LicenseCC BY 4.0

Live data on CalcFi

Quick start

# Latest single value from the API
curl https://calcfi.app/api/rates/us-gdp-per-capita

# Full history from this repo
curl https://raw.githubusercontent.com/jerehere/calcfi-open-data/main/datasets/us-gdp-per-capita/data.csv
import pandas as pd
url = "https://raw.githubusercontent.com/jerehere/calcfi-open-data/main/datasets/us-gdp-per-capita/data.csv"
df = pd.read_csv(url, parse_dates=["date"])
print(df.tail())

Source + provenance

This dataset mirrors World Bank (NY.GDP.PCAP.CD) (USA:NY.GDP.PCAP.CD). Primary source: World Bank.

Values are pulled daily by a GitHub Actions workflow (.github/workflows/refresh.yml) from CalcFi's read-only data API, which itself pulls from primary sources. No transformations or imputations are applied; values are passed through verbatim.

Citation

If you use this dataset, please cite:

CalcFi (2026). US GDP Per Capita dataset. https://calcfi.app/rates/history/us-gdp-per-capita

License

CC BY 4.0 — attribution requested. The data itself is sourced from World Bank; consult their terms for any additional restrictions.

API access

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

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.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/calcfi/calcfi-us-gdp-per-capita/3 files
  • README.mddocumentationhttps://datahub.io/calcfi/calcfi-us-gdp-per-capita/_r/-/README.md
  • data.csvhttps://datahub.io/calcfi/calcfi-us-gdp-per-capita/_r/-/data.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/calcfi/calcfi-us-gdp-per-capita/_r/-/datapackage.json