Get mortgage rate history
get_mortgage_rate_historyFreddie Mac PMMS 30-year or 15-year fixed averages between two dates as weekly rows or monthly or annual averages, with the high, low and change over the range. Default is the last 52 weeks of the 30-year rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Loan term in years, "30" (default) or "15". | |
| end_date | No | End date, default the latest week as YYYY-MM-DD. | |
| frequency | No | Row size. Default weekly up to 3 years, monthly beyond. | |
| start_date | No | Start date as YYYY-MM-DD. |