Mortgage Rate API

GET

Keep your loan calculators synced with weekly US mortgage rates.

Mortgage Rate reports weekly US fixed mortgage rates for 15-year and 30-year terms. Pass the loan term to get the latest percentage rate, survey date, and direction of weekly change.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/mortgagerate?type=30year
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "rateType": "30year",
    "name": "30-Year Fixed Rate Mortgage",
    "term": 30,
    "type": "fixed",
    "country": "US",
    "year": 2023,
    "month": 6,
    "count": 4,
    "rates": [
      {
        "week": "2023-06-01",
        "rate": 6.79
      },
      {
        "week": "2023-06-08",
        "rate": 6.71
      },
      {
        "week": "2023-06-15",
        "rate": 6.69
      },
      {
        "week": "2023-06-22",
        "rate": 6.67
      }
    ],
    "change1w": -0.02,
    "changeDirection": "down",
    "previousRate": 6.69,
    "previousDate": "2023-06-15"
  }
}

About the Mortgage Rate API

Mortgage Rate provides current and historical mortgage rate data from 1971 to present. The data comes from Freddie Mac's Primary Mortgage Market Survey, which has tracked mortgage rates weekly since the early 1970s. Use this for mortgage calculations, market analysis, and financial planning.

What people use it for

Home Listing Calculators
Populate monthly payment estimates across real estate portals by feeding current 30-year fixed rates into listing mortgage calculators.
Refinance Comparison Portals
When evaluating refinancing offers, mortgage brokers compare current 15-year and 30-year rates to highlight interest savings for homeowners.
Borrower Rate Alerts
To help homebuyers time their financing, personal finance platforms track weekly rate trend directions and notify borrowers when costs drop.
Housing Market Newsletters
Property investment newsletters graph weekly mortgage percentage changes against pending sales to assess shifts in buyer purchasing power.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Mortgage Rate

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Mortgage Rate API.

Read the docs →
What loan terms and mortgage types are covered?
The API covers US 30-year and 15-year fixed-rate mortgages. On paid plans, data includes weekly averages dating back to 1971 through the present. Adjustable-rate loans and terms outside 15 or 30 years are not included.
Where does the mortgage rate data come from and how fresh is it?
Rates come directly from the Freddie Mac Primary Mortgage Market Survey, which has monitored US mortgage rates since 1971. New data points are updated weekly to reflect current survey findings.
Are historical lookups and weekly rate changes available on the Free plan?
No, filtering by year and month requires a paid subscription. Premium fields like week-over-week rate changes, previous rates, and previous dates also require Starter or higher. The Free plan provides current weekly rate figures only.
Which plan fits 25,000 mortgage rate lookups a month?
Starter handles this volume with room to spare. At 2 credits per call, 25,000 lookups use 50,000 credits, or one-quarter of the 200,000 credits on Starter. That works out to about $0.30 per 1,000 calls. The Free plan includes 100 calls per month.
Can I display these rates in a commercial calculator or lending dashboard?
Yes, any paid plan allows commercial use in public calculators, financial planning software, and client portals. You may display and analyze the data within your product, but you cannot resell or redistribute the raw dataset.

Ready to build with Mortgage Rate? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs