Published

10 year US Government Bond Yields (long-term interest rate)

2.7K
712

10 year nominal yields on US government bonds from the Federal Reserve. The 10 year government bond yield is considered a standard indicator of long-term interest rates. Data comes from the [Releas...

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/bond-yields-us-10y/
https://datahub.io/core/bond-yields-us-10y/_r/-/.gitignore
https://datahub.io/core/bond-yields-us-10y/_r/-/README.md
https://datahub.io/core/bond-yields-us-10y/_r/-/archive/h15-m.csv
https://datahub.io/core/bond-yields-us-10y/_r/-/data/monthly.csv
https://datahub.io/core/bond-yields-us-10y/_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/bond-yields-us-10y/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/bond-yields-us-10y/_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 Previews

monthly

Loading data...

Schema

nametypeformatdescriptiondecimalChardescriptorgroupChar
Datedate%Y-%m-%dDate in ISO 8601
RatenumberdefaultPercent per year.

Data Files

FileDescriptionSizeLast modifiedDownload
monthly
14.9 kB11 days ago
monthly
FilesSizeFormatCreatedUpdatedLicenseSource
114.9 kBcsv11 days agoOpen Data Commons Public Domain Dedication and License v1.0Federal Reserve (Release H.15)

badge

10 year nominal yields on US government bonds from the Federal Reserve. The 10 year government bond yield is considered a standard indicator of long-term interest rates.

Data

Data comes from the Release H.15 from the Federal Reserve - Selected Interest Rates Daily specifically the 10 year US Treasury (monthly, csv).

Preparation

You will need Python 3.6 or greater and dataflows library to run the script

To update the data run the process script locally:

# Install necessary libraries
pip install -r scripts/requirements.txt

# Update the data
./scripts/process.sh

# Run the script
python scripts/bond_us_flow.py

Note we keep a copy of the raw data from the Federal Reserve (pre-tidying) in archive.

Automation

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

License

Licensed under the Public Domain Dedication and License (assuming either no rights or public domain license in source data).