2-Year Treasury Yield

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

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

2-Year Treasury Yield

Live, free, machine-readable economic data. Sourced from primary government datasets, updated on the published cadence.

Download

Columns: date,value,source (one row per observation, sorted ascending by date).

Live page

Interactive chart + 10-year history + stats: https://calcfi.app/rates/history/2-year-treasury

Metadata

FieldValue
Slug2-year-treasury
Categoryinterest-rates
Primary sourceU.S. Treasury via FRED (DGS2)
Update cadencedaily
Last README sync2026-06-04

License

CC-BY 4.0 — attribute to CalcFi with a link to https://calcfi.app/rates/history/2-year-treasury.

The previous data.csv link in this dataset's datahub.io storage was unreachable (404). CalcFi now serves the canonical CSV directly via its content-negotiated rates API, which reads from the same Supabase-cached pipeline that powers the live page above. The CSV is regenerated on every request from the most recent stored observations, so it stays in sync with the live page without a separate publishing step.

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-2-year-treasury/3 files
  • README.mddocumentationhttps://datahub.io/calcfi/calcfi-2-year-treasury/_r/-/README.md
  • data.csvhttps://datahub.io/calcfi/calcfi-2-year-treasury/_r/-/data.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/calcfi/calcfi-2-year-treasury/_r/-/datapackage.json