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 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.
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.
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 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 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 - 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 1-Month Constant Maturity, Quoted on an Investment Basis (DGS1MO) from 2001-07-31 to 2025-07-21 about 1-month, bills, maturity, Treasury, interest rate, interest, rate, and USA.
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
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 2 Years data was reported at 2.861 % pa in Oct 2018. This records an increase from the previous number of 2.768 % pa for Sep 2018. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 2 Years data is updated monthly, averaging 5.352 % pa from Jun 1976 (Median) to Oct 2018, with 509 observations. The data reached an all-time high of 16.458 % pa in Sep 1981 and a record low of 0.211 % pa in Sep 2011. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 2 Years data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s USA – Table US.M008: Treasury Securities Yields.
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 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 Treasury Bonds Yield: Constant Maturity: Nominal: MA: 30 Years data was reported at 3.361 % pa in Nov 2018. This records an increase from the previous number of 3.340 % pa for Oct 2018. United States Treasury Bonds Yield: Constant Maturity: Nominal: MA: 30 Years data is updated monthly, averaging 6.127 % pa from Feb 1977 (Median) to Nov 2018, with 502 observations. The data reached an all-time high of 14.684 % pa in Oct 1981 and a record low of 2.227 % pa in Jul 2016. United States Treasury Bonds Yield: Constant Maturity: Nominal: MA: 30 Years data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s United States – Table US.M008: Treasury Securities Yields.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 5 Years data was reported at 3.000 % pa in Oct 2018. This records an increase from the previous number of 2.894 % pa for Sep 2018. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 5 Years data is updated monthly, averaging 5.091 % pa from Apr 1953 (Median) to Oct 2018, with 787 observations. The data reached an all-time high of 15.930 % pa in Sep 1981 and a record low of 0.620 % pa in Jul 2012. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 5 Years data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s United States – Table US.M008: Treasury Securities Yields.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 3 Years data was reported at 2.908 % pa in Nov 2018. This records a decrease from the previous number of 2.936 % pa for Oct 2018. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 3 Years data is updated monthly, averaging 4.951 % pa from Apr 1953 (Median) to Nov 2018, with 788 observations. The data reached an all-time high of 16.224 % pa in Sep 1981 and a record low of 0.331 % pa in Jul 2012. United States Treasury Notes Yield: Constant Maturity: Nominal: MA: 3 Years data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s United States – Table US.M008: Treasury Securities Yields.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
United States TIPS Yield: Constant Maturity: Inflation Indexed: MA: 10 Years data was reported at 1.110 % pa in Nov 2018. This records an increase from the previous number of 1.040 % pa for Oct 2018. United States TIPS Yield: Constant Maturity: Inflation Indexed: MA: 10 Years data is updated monthly, averaging 1.040 % pa from Jan 2003 (Median) to Nov 2018, with 191 observations. The data reached an all-time high of 2.890 % pa in Nov 2008 and a record low of -0.770 % pa in Nov 2012. United States TIPS Yield: Constant Maturity: Inflation Indexed: MA: 10 Years data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s United States – Table US.M008: Treasury Securities Yields.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Treasury Bills Yield: Constant Maturity: Nominal: MA: 1 Month data was reported at 2.240 % pa in Nov 2018. This records an increase from the previous number of 2.174 % pa for Oct 2018. Treasury Bills Yield: Constant Maturity: Nominal: MA: 1 Month data is updated monthly, averaging 0.841 % pa from Jul 2001 (Median) to Nov 2018, with 209 observations. The data reached an all-time high of 5.210 % pa in Mar 2007 and a record low of 0.003 % pa in Dec 2011. Treasury Bills Yield: Constant Maturity: Nominal: MA: 1 Month data remains active status in CEIC and is reported by Federal Reserve Board. The data is categorized under Global Database’s United States – Table US.M008: Treasury Securities Yields.
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.
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.
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.
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.