Retrieves Moody’s seasoned corporate bond yields for Aaa (the highest rating) and Baa (the lowest investment grade rating) US corporate bonds, the longest running corporate bond yield benchmark there is: daily from 1986 and monthly from 1919.

With spread=True the spreads over the 10-year Treasury yield are returned instead, together with the Baa minus Aaa spread, the classic measure of default risk in the academic literature (e.g. Fama and French, 1989), which widens sharply in recessions. Monthly spreads start in 1953, when the monthly 10-year Treasury yield does.

Monthly values are the averages over the month, as Moody’s publishes them; weekly values are the yields on the last day of each week (weeks end on Friday).

The formula is as follows (spread=True only):

\[\text{Aaa} = \text{Aaa Yield} - \text{10-Year} \;\text{Treasury Yield},\;\; \text{and Baa likewise}\] \[\text{Baa} - \text{Aaa} = \text{Baa Yield} - \text{Aaa Yield}\]

Monthly spreads subtract the monthly average 10-year Treasury constant maturity yield; daily spreads are the ones FRED publishes against the daily 10-year yield.

The data comes from FRED, so a free FRED API key is required. The yields and spreads are returned as decimal fractions (0.0675 for 6.75%).

Also known as: Moody’s Aaa, Moody’s Baa, corporate bond yields by rating, default spread, credit spread.

Moody’s Corporate Bond Yields in Python or via the MCP

Install the Finance Toolkit with:

pip install financetoolkit -U

Then call get_moodys_corporate_bond_yields as shown below.

from financetoolkit import FixedIncome

fixedincome = FixedIncome(start_date='2026-03-01', end_date='2026-08-31')

fixedincome.get_moodys_corporate_bond_yields(period='monthly', spread=True)

Or, after setting up the Finance Toolkit MCP, ask:

How did the spreads of Moody's Aaa and Baa US corporate bonds over the 10-year Treasury move from March to August 2026?

Which returns:

  Aaa Baa Baa - Aaa
2026-03 0.0123 0.0179 0.0056
2026-04 0.011 0.0171 0.0061
2026-05 0.0108 0.0162 0.0054
2026-06 0.0105 0.0153 0.0048
2026-07 0.0116 0.0159 0.0043
2026-08 0.012 0.0164 0.0044

Parameters

get_moodys_corporate_bond_yields accepts the following parameters.

ParameterTypeDescriptionExample
periodstrWhether to return the daily, weekly or monthly data. Defaults to “daily”."weekly"
spreadboolWhether to return the spreads over the 10-year Treasury yield instead of the yields. Defaults to False.True
roundingint | NoneThe number of decimals to round the results to. Defaults to None.2
growthboolWhether to return the growth data or the actual data. Defaults to False.True
lagintThe number of periods to lag the growth data by. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
Share