Mortgage Rates API - US, UK, Canada, Eurozone Official Data
Pricing
from $0.70 / 1,000 results
Mortgage Rates API - US, UK, Canada, Eurozone Official Data
No API key. Official mortgage rates for 25 markets in one call: US 30-year and 15-year fixed (Freddie Mac PMMS weekly since 1971), Canada 1/3/5-year conventional and prime (Bank of Canada), UK 2/3/5/10-year fixed, 95% LTV and variable (Bank of England), and the cost of borrowing for house purchase i
Pricing
from $0.70 / 1,000 results
Rating
0.0
(0)
Developer
Martin Petrov
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 hours ago
Last modified
Categories
Features
Share
No API key. Problem: your mortgage calculator, proptech app, personal-finance dashboard or AI agent needs today's mortgage rate, and every country publishes it differently: Freddie Mac posts a weekly CSV, the Bank of Canada a JSON feed, the Bank of England a database export with its own series codes, the ECB an SDMX cube with 21 countries and four fixation periods. Most "mortgage rate" APIs cover one country or scrape lender sites.
This API: one JSON call for 25 markets from the official publishers, with history and change fields ready to show.
- United States: 30-year and 15-year fixed (Freddie Mac PMMS, weekly since 1971), 5/1 ARM history (ended 2022).
- Canada: 1-, 3- and 5-year conventional mortgage + prime rate (Bank of Canada, weekly since 1990).
- United Kingdom: 2-, 3-, 5- and 10-year fixed (75% LTV), 2-year fixed at 95% LTV, 2-year variable, lifetime tracker, Bank Rate (Bank of England, monthly since 1995).
- Euro area + 21 countries (AT BE BG CY DE EE ES FI FR GR HR IE IT LT LU LV MT NL PT SI SK): cost of borrowing for house purchase, all fixation periods and split into floating/up to 1 year, 1-5 years, 5-10 years, over 10 years (ECB MFI interest rate statistics, monthly since 2003).
- Every row:
rate,date,previousRate,change,rate1yAgo,change1y,active,source,sourceUrl,attribution. - Modes:
latest,history(native, monthly or yearly),compare(one headline rate per country, cheapest first),countries(coverage and date ranges).
Example (API)
curl -X POST "https://api.apify.com/v2/acts/martin10291~mortgage-rates-api/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"mode": "latest", "country": ["US", "GB", "DE"]}'
Output row (measured 2026-11-14):
{"country": "US", "countryName": "United States", "product": "30y-fixed", "productName": "30-year fixed rate mortgage","rate": 7.11, "unit": "percent", "date": "2026-11-12", "frequency": "weekly","previousRate": 7.18, "previousDate": "2026-11-05", "change": -0.07, "rate1yAgo": 6.22, "change1y": 0.89,"active": true, "source": "Freddie Mac PMMS", "sourceUrl": "https://www.freddiemac.com/pmms","attribution": "Freddie Mac, Primary Mortgage Market Survey (PMMS)", "stale": false}
More inputs:
{"mode": "compare"}-> 25 rows, cheapest first (2026-09: Malta 1.93%, Spain 2.99%, Germany 4.09%, UK 2y fixed 5.39%, Canada 5y 6.19%, US 30y 7.11%).{"mode": "history", "country": ["US"], "product": ["30y-fixed"], "startDate": "2008-01", "frequency": "monthly"}{"mode": "latest", "country": ["Germany", "France", "Italy"], "product": ["over-10y-fixed", "1-5y-fixed"]}{"mode": "countries"}-> what is covered, first and last date per product.
Use from agents (MCP)
Add the Apify MCP server (https://mcp.apify.com?tools=martin10291/mortgage-rates-api) to Claude, Cursor or any MCP client and ask: "What is the average 30-year mortgage rate in the US this week, and how does Germany compare?".
Schedule it
Set onlyNew: true and a monitorId, schedule the actor weekly (Friday): each run returns only the rates published since the last run (new Freddie Mac / Bank of Canada week, new UK / ECB month).
Input
| Field | Meaning |
|---|---|
mode | latest (default), history, compare, countries |
country | ISO codes (US, CA, GB, DE, ...), UK / EA / full names work; empty = all |
product | optional filter (30y-fixed, 5y-fixed, 2y-fixed, all-fixation, over-10y-fixed, ...) |
startDate, endDate | history range, YYYY-MM-DD or YYYY-MM |
frequency | native, monthly, yearly (history) |
sort | country, rate, rate_desc, change (latest) |
limit | max rows, default 1000 |
onlyNew, monitorId | only new publications per watch |
Honest limits
- These are official survey/statistical averages, not a quote from a lender. US = Freddie Mac weekly survey average; UK = quoted rates of UK lenders; euro countries = average rate on new loans (ECB, published about 5 weeks after the month).
- Values are exactly as published (percent). Series that ended (US 5/1 ARM 2022, UK tracker 2025, Malta over-10y 2021) are kept for history and marked
active: false. - Freddie Mac and the Bank of Canada publish weekly, the Bank of England and the ECB monthly; there is no daily data.
- Sources and terms: Freddie Mac ("information may be used with proper attribution"), Bank of Canada, Bank of England, European Central Bank. Each row carries the attribution; keep it when you display the data. Not affiliated with any of these institutions.
FAQ
- How fresh is the data? The cache refreshes every 6 hours. US rates update every Thursday (Freddie Mac), Canada weekly (Wednesday), UK at the start of each month for the previous month, euro countries about 5 weeks after month end (ECB).
- What if a source is down? You get the last good copy and
stale: trueon the affected rows; the call does not fail. Only if a needed source has never loaded do you getupstream error: .... - Errors: invalid input returns a clear message with the valid values, for example
invalid input: GB has no 30y-fixed; available: 2y-fixed, 3y-fixed, 5y-fixed, .... Failed runs are not charged. - Why are euro rates lower than US 30-year rates? They measure different loans: the US figure is a 30-year fixed survey average, the euro figure is the average rate on all new house-purchase loans (many with short fixation). Use
productto compare like with like (e.g.over-10y-fixed).