10-Year Treasury Yield

3
0
Updated:
Files:1
Size:300 kB
Formats:csv
License:CC-BY-4.0

Daily 10-year Treasury constant maturity yield from US Treasury via FRED (DGS10). 30+ years of history. CC BY 4.0.

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.

/calcfi/calcfi-10-year-treasury/
https://datahub.io/calcfi/calcfi-10-year-treasury/_r/-/README.md
https://datahub.io/calcfi/calcfi-10-year-treasury/_r/-/data.csv
https://datahub.io/calcfi/calcfi-10-year-treasury/_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/calcfi/calcfi-10-year-treasury/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/calcfi/calcfi-10-year-treasury/_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 Files

Explore with AI

data

Download

Download CSV

About

Last updated
19 May 2026
Total rows
...
Format
CSV
File size
300 kB

About this dataset

10-Year Treasury Yield

Daily observations of 10-Year Treasury Yield (10yr Treasury).

At a glance

FieldValue
Slug10-year-treasury
Categorymortgage-rates
Unitpercent
Cadencedaily
SourceU.S. Treasury via FRED (DGS10)
Source series IDDGS10
LicenseCC BY 4.0

Live data on CalcFi

Quick start

# Latest single value from the API
curl https://calcfi.app/api/rates/10-year-treasury

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

Source + provenance

This dataset mirrors U.S. Treasury via FRED (DGS10) (DGS10). Primary source: Federal Reserve Economic Data (FRED).

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). 10-Year Treasury Yield dataset. https://calcfi.app/rates/history/10-year-treasury

License

CC BY 4.0 — attribution requested. The data itself is sourced from Federal Reserve Economic Data (FRED); consult their terms for any additional restrictions.