Freddie Mac Mortgage Rates Scraper avatar

Freddie Mac Mortgage Rates Scraper

Pricing

Pay per usage

Go to Apify Store
Freddie Mac Mortgage Rates Scraper

Freddie Mac Mortgage Rates Scraper

Pull weekly 30-year, 15-year, and 5-1 ARM mortgage rates and historical data straight from Freddie Mac's public survey. Filter by date, set a row cap, and easily export clean JSON, CSV, or Excel files for housing research and rate tracking

Pricing

Pay per usage

Rating

0.0

(0)

Developer

BigiByte

BigiByte

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

Freddie Mac Mortgage Rates Scraper cover

The Freddie Mac Mortgage Rates Scraper collects historical weekly mortgage rate data from Freddie Mac's Primary Mortgage Market Survey (PMMS). Retrieve 30-year fixed, 15-year fixed, and 5/1 adjustable-rate mortgage statistics, including available points, margins, and spreads. Filter records by date and export structured data for housing research, financial analysis, and rate monitoring.

What This Actor Does

This Actor retrieves Freddie Mac's historical PMMS data and converts the weekly records into a clean, structured dataset.

It processes the historical rate file, applies an optional starting date, removes duplicate records using the date field, and saves the matching weeks up to your selected record limit.

Each record can include mortgage rates, points, margins, and spreads for different loan categories, along with the source URL and collection timestamp.

Key Features

  • Historical Mortgage Rate Collection: Retrieve weekly PMMS records from Freddie Mac's historical dataset.
  • Multiple Mortgage Types: Collect available 30-year fixed, 15-year fixed, and 5/1 ARM statistics.
  • Date Filtering: Use the since parameter to focus on a specific period.
  • Historical Data: Access records dating back to 1971.
  • Duplicate Prevention: Avoid repeated weekly records using the date field.
  • Flexible Output Limits: Control the number of records saved per run.
  • Error Handling: Record collection failures without unnecessarily interrupting the run.

Input Configuration

Configure the Actor using the following parameters:

ParameterDescriptionDefault
modeSelects the collection mode. Use history for historical PMMS data.history
sinceOptional starting date in YYYY-MM-DD format.No date filter
maxItemsMaximum number of records to save.100
requestDelayMsDelay between requests, in milliseconds.1000
userAgentUser-agent value used for the request.ActorResearch/1.0
timeoutSecsMaximum Actor execution time, in seconds.300
requestTimeoutSecsMaximum request wait time, in seconds.30
proxyConfigurationOptional proxy configuration.Disabled

Input Example

{
"mode": "history",
"since": "2020-01-01",
"maxItems": 50,
"requestDelayMs": 1000,
"userAgent": "ActorResearch/1.0",
"timeoutSecs": 300,
"requestTimeoutSecs": 30,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Output Data

Each weekly PMMS record is saved as a structured dataset entry.

Output Example

{
"date": "4/2/1971",
"pmms30": "7.33",
"pmms30p": "",
"pmms15": "",
"pmms15p": "",
"pmms51": "",
"pmms51p": "",
"pmms51m": "",
"pmms51spread": "",
"scrapedAt": "2026-10-26T00:00:00+00:00"
}

Output Fields

FieldDescription
dateDate associated with the weekly mortgage rate observation.
pmms3030-year fixed mortgage rate.
pmms30pPoints associated with the 30-year fixed mortgage rate.
pmms1515-year fixed mortgage rate.
pmms15pPoints associated with the 15-year fixed mortgage rate.
pmms515/1 adjustable-rate mortgage rate.
pmms51pPoints associated with the 5/1 ARM rate.
pmms51mMargin associated with the 5/1 ARM data.
pmms51spreadSpread associated with the 5/1 ARM data.
scrapedAtTimestamp when the record was collected.

Use Cases

  • Mortgage Rate History Research: Collect decades of weekly mortgage rate observations for long-term analysis.
  • Housing Market Analysis: Study 30-year and 15-year fixed mortgage rate trends.
  • ARM Comparisons: Examine available 5/1 ARM rates, points, margins, and spreads over time.
  • Financial Forecasting: Use historical mortgage rate data in financial models and research notebooks.
  • Housing Dashboards: Refresh recent mortgage rate records on a schedule and display changes over time.
  • Analyst Reporting: Export structured PMMS data for reports, spreadsheets, and presentations.

Usage and Limits

  • The Actor supports the history mode.
  • Historical data comes from Freddie Mac's public PMMS history file.
  • Use since to filter records from a specific starting date.
  • The default output limit is 100 records per run.
  • The maximum output is 1,000 records per run.
  • maxItems controls how many matching records are saved.
  • The default request delay is approximately 1,000 milliseconds.
  • Respect the source's applicable terms and attribution requirements.

Frequently Asked Questions

1. What mortgage data does this Actor collect?

It collects weekly mortgage rate information from Freddie Mac's PMMS, including available 30-year fixed, 15-year fixed, and 5/1 ARM statistics.

2. How far back does the historical data go?

The historical dataset includes weekly mortgage rate records dating back to 1971.

3. Can I collect only recent mortgage rates?

Yes. Use the since parameter with a date such as 2020-01-01 to filter the historical records.

4. How many records can I collect per run?

The default limit is 100 records, and the maximum is 1,000 records per run.

5. Why are some output fields empty?

Some mortgage statistics were not available for every historical observation. Empty fields indicate that the corresponding values were not provided in the source data.

6. Can I export the results to Excel or CSV?

Yes. You can export the collected dataset in JSON, CSV, Excel, and other supported formats.

7. Can I schedule automatic data collection?

Yes. Use Apify schedules to periodically refresh the dataset and monitor recent mortgage rate changes.

Explore other BigiByte data collection tools:

  • Upbit Market Data Scraper – Collect cryptocurrency market ticker information for financial data analysis.
  • Gate.io Market Data Scraper – Retrieve spot market prices, bid and ask values, and 24-hour trading statistics.
  • MEXC Market Data Scraper – Collect cryptocurrency ticker information and 24-hour market statistics.

Looking for a scraper tailored to your business requirements? BigiByte builds custom web scrapers, data extraction tools, and automation solutions to help you collect and organize the data you need.

Visit BigiByte to explore our services.

Trademark Notice

Freddie Mac and its associated names, logos, and trademarks are the property of their respective owners. They are used solely to identify the source of the collected information. This Actor is an independent product and does not imply any affiliation, sponsorship, or endorsement by Freddie Mac.

Disclaimer

This Actor is an independent data collection tool, endorsed by, sponsored by, or officially associated with Freddie Mac. The collected information is provided for research and informational purposes. BigiByte does not guarantee the accuracy, completeness, or continued availability of the source data. Mortgage rates can change over time, and historical observations should not be treated as current loan offers or financial advice. Users are responsible for checking the original source and complying with applicable attribution and usage requirements.

This Actor extracts publicly accessible information without bypassing login screens, paywalls, or technical security layers. While collecting public web data is widely permitted, compliance depends on how data is gathered and used:

  • Personal Data: If collected information includes personal data, privacy laws such as GDPR and CCPA may apply. Collect and process such information responsibly.
  • Copyrighted Content: Some website content may be protected by copyright. Check applicable permissions before reproducing or redistributing it.
  • Platform Terms and Rate Limits: Respect Freddie Mac's terms of use, applicable restrictions, and attribution requirements.

This information is provided for general guidance only and does not constitute legal advice.

For more information, read Apify's guide: Is Web Scraping Legal?.