30-yr fixed7.28%▲ 0.17 wk 15-yr fixed6.66%▲ 0.21 wk Daily indicator7.14%▼ 0.09 10-yr Treasury4.92%▼ 0.12 Fed funds3.75 to 4.00%next meeting Dec 9 Freddie Mac surveyNov 19
Mortgage Rates Today

HomeAPI documentation

Mortgage and housing data API

Retrieve defined observations by measure, place and period. Responses include units, population, source and edition so your analysis can be reproduced.

Check access availability · Explore the data first · Download open files without a key

Free access and limits

A confirmed email address is required for a query API key. The free allowance is 5 requests per minute and 60 per day per account, resetting at 00:00 UTC. Replacing your key does not reset usage. Keys expire after 90 days. Email confirmation establishes access to a mailbox; it does not prove that a person is making each request. Automated research clients are permitted within the limits.

Additional shared-address abuse limits apply: 30 queries per minute and 300 per UTC day. Multiple people on the same network can share that allowance. A rejected request returns HTTP 429 and a Retry-After header. Stop until that delay has elapsed; do not create extra accounts to evade limits. Contact us about a larger project.

Make your first query

  1. Choose a dataset and measure in the research explorer. Geography IDs are shown in its place selector.
  2. When registration is open, request a confirmation link and explicitly confirm your email. Save the key when it appears; it is shown once.
  3. Send the key in the Authorization header. Never place it in a URL, public repository or browser code served to others.
curl 'https://mortgageratestoday.com/api/v1/observations?series=pmms.r30&geography=US&from=2025-01-01&to=2025-12-31&limit=100' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Endpoints

Download the OpenAPI 3.1 contract.

Method and pathPurposeParameters
GET /api/v1/catalogDataset and measure definitionsNone
GET /api/v1/searchSearch definitions and official resources, up to 50 resultsq, up to 120 characters
GET /api/v1/rulesSelected program rules with conditions and source verificationOptional q, offset and edition; up to 100 rows. Use the returned next_offset and edition for the next page.
GET /api/v1/observationsOne measure and one place, oldest firstRequired series, geography; optional from, to, limit (1–100), cursor
DELETE /api/v1/keyRevoke the current key immediatelyNone; revocation does not consume a query

Periods, missing values and pagination

Use the series' period format: YYYY for annual data, YYYY-MM for monthly data, YYYY-MM-DD for dated observations or YYYY-Q1 through YYYY-Q4 for quarters. Filters include both endpoints. A missing value is JSON null, accompanied by its status; it is not zero. Observation attributes can include margins of error, sample counts and suppression details.

When has_more is true, repeat the same query with its returned next_cursor. Do not interpret or modify the cursor. If the source edition changes between pages, HTTP 409 asks you to restart, preventing a mixed-edition result. The API does not accept arbitrary SQL.

Handle errors deliberately

HTTP 400 means a filter or cursor is invalid; 401 means the key is missing, expired or revoked; 404 means the endpoint, series or geography is unknown. HTTP 429 means wait for Retry-After. HTTP 503 means a bounded query or service could not complete; retain your last successful result and retry later. Error bodies use {"error":{"code":"…","message":"…"}}.

Sources and reuse

Use the source link, measure definition and edition supplied with each response. MRT import time is not the original release date. Different mortgage populations cannot be combined merely because they use percent units. See the existing attribution and source terms. No free or proposed premium plan changes the underlying source conditions.