https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 30-Year Constant Maturity, Quoted on an Investment Basis, Inflation-Indexed (WFII30) from 2010-02-26 to 2025-07-18 about TIPS, 30-year, maturity, securities, Treasury, interest rate, interest, real, rate, and USA.
https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 7-Year Constant Maturity, Quoted on an Investment Basis, Inflation-Indexed (WFII7) from 2003-01-03 to 2025-07-18 about 7-year, TIPS, maturity, securities, Treasury, interest rate, interest, real, rate, and USA.
These rates are commonly referred to as Constant Maturity Treasury rates, or CMTs. Yields are interpolated by the Treasury from the daily yield curve. This curve, which relates the yield on a security to its time to maturity is based on the closing market bid yields on actively traded Treasury securities in the over-the-counter market. These market yields are calculated from composites of quotations obtained by the Federal Reserve Bank of New York. The yield values are read from the yield curve at fixed maturities, currently 1, 3 and 6 months and 1, 2, 3, 5, 7, 10, 20, and 30 years. This method provides a yield for a 10 year maturity, for example, even if no outstanding security has exactly 10 years remaining to maturity.
https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 20-Year Constant Maturity, Quoted on an Investment Basis (DGS20) from 1962-01-02 to 2025-07-22 about 20-year, maturity, Treasury, interest rate, interest, rate, and USA.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 5-Year Constant Maturity was 4.04% in June of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 5-Year Constant Maturity reached a record high of 16.13 in September of 1981 and a record low of 0.21 in August of 2020. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 5-Year Constant Maturity - last updated from the United States Federal Reserve on June of 2025.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - 10-Year Treasury Constant Maturity Minus Federal Funds Rate was 0.08% in June of 2025, according to the United States Federal Reserve. Historically, United States - 10-Year Treasury Constant Maturity Minus Federal Funds Rate reached a record high of 4.92 in November of 1975 and a record low of -9.57 in December of 1980. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - 10-Year Treasury Constant Maturity Minus Federal Funds Rate - last updated from the United States Federal Reserve on June of 2025.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 1-Month Constant Maturity was 4.23% in June of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 1-Month Constant Maturity reached a record high of 6.02 in May of 2023 and a record low of 0.00 in December of 2008. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 1-Month Constant Maturity - last updated from the United States Federal Reserve on June of 2025.
https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 5-Year Constant Maturity, Quoted on an Investment Basis, Inflation-Indexed from 2003-01-02 to 2025-07-22 about TIPS, maturity, securities, Treasury, interest rate, interest, real, 5-year, rate, and USA.
More details about each file are in the individual file descriptions.
This is a dataset from the Federal Reserve hosted by the Federal Reserve Economic Database (FRED). FRED has a data platform found here and they update their information according to the frequency that the data updates. Explore the Federal Reserve using Kaggle and all of the data sources available through the Federal Reserve organization page!
This dataset is maintained using FRED's API and Kaggle's API.
Cover photo by LoboStudio Hamburg on Unsplash
Unsplash Images are distributed under a unique Unsplash License.
Treasury rates
import requests from bs4 import BeautifulSoup import datetime import pandas as pd import numpy as np
def risk_free(): url = r'https://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/TextView.aspx?data=yieldAll' data = requests.get(url).text soup = BeautifulSoup(data,"html.parser") time = np.array([1/12,0.25,0.5,1,2,3,5,7,10,20,30]) cols = ['m1','m3','m6','y001','y002','y003','y005','y007','y010','y020','y030'] rates_zero = np.zeros(len(time)) data = {} rw = 0 for tbl_rw in soup.find('table',{'class':'t-chart'}).find_all('tr'): rates = {} i = 0 if rw == 0: rw+=1 continue
for td in tbl_rw.contents:
if i > 0:
r = td.contents[0]
if r.find(r'N/A') > 0:
rates[cols[i-1]] = None
else:
rates[cols[i-1]] = float(r)/100
else:
date = datetime.datetime.strptime(td.contents[0], '%m/%d/%y')
i+= 1
data[date] = rates
data = pd.DataFrame.from_dict(data,orient='index')
data.index.name = 'Date'
return (data,time)
data,time = risk_free() data.to_csv('treasury_cmt.csv')
Treasury.gov, everyone who has contributed to the packages I used to download the data
https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 2-Year Constant Maturity, Quoted on an Investment Basis (DGS2) from 1976-06-01 to 2025-07-21 about 2-year, maturity, Treasury, interest rate, interest, rate, and USA.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 20-Year Constant Maturity was 4.92% in May of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 20-Year Constant Maturity reached a record high of 15.13 in October of 1981 and a record low of 1.06 in April of 2020. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 20-Year Constant Maturity - last updated from the United States Federal Reserve on July of 2025.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 3-Year Constant Maturity was 3.84% in July of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 3-Year Constant Maturity reached a record high of 16.47 in September of 1981 and a record low of 0.13 in August of 2020. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 3-Year Constant Maturity - last updated from the United States Federal Reserve on July of 2025.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - 1-Year Treasury Constant Maturity Minus Federal Funds Rate was -0.25% in July of 2025, according to the United States Federal Reserve. Historically, United States - 1-Year Treasury Constant Maturity Minus Federal Funds Rate reached a record high of 3.61 in December of 1965 and a record low of -10.11 in December of 1986. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - 1-Year Treasury Constant Maturity Minus Federal Funds Rate - last updated from the United States Federal Reserve on July of 2025.
CC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
These rates are commonly referred to as "Real Constant Maturity Treasury" rates, or R-CMTs. Real yields on Treasury Inflation Protected Securities (TIPS) at "constant maturity" are interpolated by the U.S. Treasury from Treasury's daily real yield curve. These real market yields are calculated from composites of secondary market quotations obtained by the Federal Reserve Bank of New York. The real yield values are read from the real yield curve at fixed maturities, currently 5, 7, 10, 20, and 30 years. This method provides a real yield for a 10 year maturity, for example, even if no outstanding security has exactly 10 years remaining to maturity. Dataset updated daily every weekday.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 1-Year Constant Maturity was 4.06% in July of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 1-Year Constant Maturity reached a record high of 17.31 in September of 1981 and a record low of 0.04 in May of 2021. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 1-Year Constant Maturity - last updated from the United States Federal Reserve on July of 2025.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Key information about United States Long Term Interest Rate
More details about each file are in the individual file descriptions.
This is a dataset from the Federal Reserve hosted by the Federal Reserve Economic Database (FRED). FRED has a data platform found here and they update their information according to the frequency that the data updates. Explore the Federal Reserve using Kaggle and all of the data sources available through the Federal Reserve organization page!
This dataset is maintained using FRED's API and Kaggle's API.
More details about each file are in the individual file descriptions.
This is a dataset from the Federal Reserve hosted by the Federal Reserve Economic Database (FRED). FRED has a data platform found here and they update their information according to the frequency that the data updates. Explore the Federal Reserve using Kaggle and all of the data sources available through the Federal Reserve organization page!
This dataset is maintained using FRED's API and Kaggle's API.
Cover photo by Pineapple Supply Co. on Unsplash
Unsplash Images are distributed under a unique Unsplash License.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States - Market Yield on U.S. Treasury Securities at 3-Month Constant Maturity was 4.42% in July of 2025, according to the United States Federal Reserve. Historically, United States - Market Yield on U.S. Treasury Securities at 3-Month Constant Maturity reached a record high of 16.82 in September of 1981 and a record low of 0.00 in October of 2015. Trading Economics provides the current actual value, an historical data chart and related indicators for United States - Market Yield on U.S. Treasury Securities at 3-Month Constant Maturity - last updated from the United States Federal Reserve on July of 2025.
https://fred.stlouisfed.org/legal/#copyright-public-domainhttps://fred.stlouisfed.org/legal/#copyright-public-domain
Graph and download economic data for Market Yield on U.S. Treasury Securities at 30-Year Constant Maturity, Quoted on an Investment Basis, Inflation-Indexed (WFII30) from 2010-02-26 to 2025-07-18 about TIPS, 30-year, maturity, securities, Treasury, interest rate, interest, real, rate, and USA.