Skip to content

Freddie Mac API: Get mortgage rates

Returns Freddie Mac's U.S. 30-year and 15-year fixed mortgage rates for the latest survey or a chosen date, with weekly and year-ago changes, and optionally a weekly history for a date range.

freddiemac.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Freddie Mac.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Date optionaldate

Survey week on or before this date (YYYY-MM-DD); defaults to the latest survey.

2026-09-22

End Date optionalend_date

Last date to include in weekly history (YYYY-MM-DD); defaults to today when start_date is set.

2025-10-31

Start Date optionalstart_date

First date to include in weekly history (YYYY-MM-DD); defaults to the earliest available survey when end_date is set.

2025-09-01

Output

From a run on Oct 23, 2026, shortened for this page.
{  "page_url": "https://www.freddiemac.com/pmms/pmms_archives",  "survey_date": "2026-09-17",  "weekly_history": [    {      "page_url": "https://www.freddiemac.com/pmms/pmms_archives",      "survey_date": "2025-10-30",      "rate_15_year_percent": 5.41,      "rate_30_year_percent": 6.17    },    {      "page_url": "https://www.freddiemac.com/pmms/pmms_archives",      "survey_date": "2025-10-23",      "rate_15_year_percent": 5.44,      "rate_30_year_percent": 6.19    },    {      "page_url": "https://www.freddiemac.com/pmms/pmms_archives",      "survey_date": "2025-10-16",      "rate_15_year_percent": 5.52,      "rate_30_year_percent": 6.27    }  ],  "rate_15_year_percent": 6.26,  "rate_30_year_percent": 6.95,  "change_15_year_year_ago_points": 0.85,  "change_30_year_year_ago_points": 0.69,  "change_15_year_previous_week_points": 0.17,  "change_30_year_previous_week_points": 0.19}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
freddiemac.com/get_mortgage_rates
Returns
survey date, 30-year and 15-year rates, weekly and year-ago changes, optional weekly history

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method freddiemac.com/get_mortgage_rates with the inputs above.

Ask your agent

  • What is the current 30-year fixed mortgage rate from Freddie Mac this week?
  • Show me the 15-year fixed rate for the survey week of 2026-09-24 and how it changed from last week.
  • How have 30-year mortgage rates moved over the year, with weekly history from 2025-09-01 to 2025-10-31?
  • Compare today's average 15-year and 30-year fixed rates with the same week a year ago on freddiemac.com.
  • I need the Freddie Mac weekly mortgage rate survey as of 2026-06-15, including year-over-year change.

See more

  • Gets Bankrate's published mortgage or refinance interest rates and APRs by loan type, with the as-of date of the rate table. A ZIP code or state picks the matching state page; Bankrate describes these tables as national averages. Weekly changes are included only when Bankrate publishes a matching change.

    bankrate.com/get_mortgage_rates
  • Gets a public FRED economic series by plain name or series ID, with its observations, latest value and source details.

    fred.stlouisfed.org/get_economic_indicator
  • Searches FRED economic series by topic, ordered by popularity, and returns each series' coverage dates, units, frequency and last update. FRED does not publish a popularity score on these pages, so it is null.

    fred.stlouisfed.org/search_indicators
  • Gets official daily Treasury par yield curve rates for a date, or the latest published date on or before it.

    home.treasury.gov/get_treasury_yields
  • Returns Yahoo Finance daily, weekly or monthly price history and total adjusted-close return for a stock, fund, index or cryptocurrency.

    finance.yahoo.com/get_price_history
  • Gets the U.S. Treasury quarterly reporting exchange rate for a country or currency on a given date. If that quarter has no published record, it uses the latest preceding quarter.

    treasury.gov/get_reporting_exchange_rates
  • Gets decades of yearly commodity or stock-index price history from Macrotrends: yearly average, open, high, low, close, annual change and inflation-adjusted value for gold, silver, crude oil, natural gas, copper, Dow Jones, S&P 500 and Nasdaq. The current year may be incomplete.

    macrotrends.net/get_long_term_price_history
  • Lists Bankrate's current high-yield savings, CD (for a chosen term) or money market account rates in Bankrate's listed order, with APY, minimum deposit and whether the listing is sponsored.

    bankrate.com/list_best_savings_rates