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
- Choose a dataset and measure in the research explorer. Geography IDs are shown in its place selector.
- When registration is open, request a confirmation link and explicitly confirm your email. Save the key when it appears; it is shown once.
- 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 path | Purpose | Parameters |
|---|---|---|
GET /api/v1/catalog | Dataset and measure definitions | None |
GET /api/v1/search | Search definitions and official resources, up to 50 results | q, up to 120 characters |
GET /api/v1/rules | Selected program rules with conditions and source verification | Optional q, offset and edition; up to 100 rows. Use the returned next_offset and edition for the next page. |
GET /api/v1/observations | One measure and one place, oldest first | Required series, geography; optional from, to, limit (1–100), cursor |
DELETE /api/v1/key | Revoke the current key immediately | None; 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.