Pushbuild

Freddie Mac Mortgage Rates API: Weekly 30-Year & 15-Year PMMS

Freddie Mac Primary Mortgage Market Survey (PMMS): weekly average US 30-year and 15-year fixed mortgage rates since 1971, with points, the 5/1 ARM history, weekly and year-over-year changes. Published every Thursday at noon ET.

$0.16 per 1,000 weekly rows

Get an API key

What it returns

US mortgage rates from Freddie Mac's Primary Mortgage Market Survey (PMMS), the weekly benchmark for 30-year and 15-year fixed-rate mortgages, from 1971 to the latest Thursday.

| field | meaning |. |---|---|. | `date` | survey week (the Thursday it was published) |. | `rate30y`, `points30y` | 30-year fixed rate (%) and fees and points (where published) |. | `rate15y`, `points15y` | 15-year fixed rate (%) and fees and points (where published) |. | `rate5_1Arm`, `points5_1Arm`, `margin5_1Arm` | 5/1 adjustable-rate mortgage (discontinued by Freddie Mac in November 2022) |. | `change30y`, `change15y` | change from the previous week, percentage points |. | `yoy30y` | change from the same week a year earlier, percentage points |. | `releaseTime` | Freddie Mac publishes PMMS each Thursday at noon ET (shown from 2023) |.

Request

POST https://api.pushbuild.com/freddie-mac-mortgage-rates/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
lastNintegerMost recent weekly surveys. Ignored when fromYear is set. Default: 12.
fromYearintegerReturn every week from this year. Optional.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/freddie-mac-mortgage-rates/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 weekly rows. No charge for errors or empty searches.

Related APIs

Australian Bureau of Statistics API: CPI, Jobs, GDP & Any Dataflow API

Australian Bureau of Statistics data from the official ABS Data API: monthly CPI and trimmed mean, unemployment by state, GDP, wage price index and household spending presets, any ABS dataflow by SDMX key, and dataflow search.

Bank of Canada API: Policy Rate, CORRA, Bonds, CPI & CAD FX API

Bank of Canada statistics from its official Valet API: policy rate, CORRA, prime, T-bills, benchmark bond yields, mortgage and GIC rates, CPI and core CPI, commodity prices and daily CAD exchange rates.

Bank of England API: Bank Rate, SONIA, Gilts & Mortgages API

Bank of England statistics from its official database: Bank Rate, SONIA, gilt yields, implied inflation, mortgage rates and approvals, M4 money, lending and sterling FX.

BLS Data API: Any Bureau of Labor Statistics Series API

Any US Bureau of Labor Statistics time series by id (CPI, payrolls by industry, unemployment, wages, PPI, JOLTS, import prices) plus state unemployment and labor force from plain state codes, with month-over-month and year-over-year changes..

Bundesbank API: German Bund Yields, CPI & Euro FX Rates API

Deutsche Bundesbank statistics from its official time series API: German government bond yields (2, 5, 10 and 30 years, daily), German consumer price index and ECB euro reference rates.

Cboe Put/Call Ratios & VIX Futures Term Structure API

Daily Cboe options statistics: total, equity, index, SPX and VIX put/call ratios with call and put volume and open interest by product, plus the VIX futures curve with settlements, open interest and contango versus spot VIX..

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.