What a response looks like
{"count": 5, "items": [{ "change15y": -0.01, "change30y": -0.02, "date": "2026-08-20", "margin5_1Arm": null, "points15y": null, "points30y": null, "points5_1Arm": null, "rate15y": 5.95, "rate30y": 6.65, "rate5_1Arm": null, … ]}change15y by date in this sample response| change15y | change30y | date | margin5_1Arm | points15y | points30y |
|---|---|---|---|---|---|
| -0.01 | -0.02 | 2026-08-20 | |||
| 0.03 | 0.01 | 2026-08-27 | |||
| 0.06 | 0.05 | 2026-09-03 | |||
| 0.05 | 0.05 | 2026-09-10 | |||
| 0.17 | 0.19 | 2026-09-17 |
Real rows returned by this API on 2026-11-09 for the request shown.
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.
| Field | Type | Description |
|---|---|---|
lastN | integer | Most recent weekly surveys. Ignored when fromYear is set. Default: 12. |
fromYear | integer | Return every week from this year. Optional. |
maxItems | integer | Maximum 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.
| Weekly rows | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/freddie-mac-mortgage-rates. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want these numbers on one screen alongside your own? Dashboards and reporting