Skip to main content

Data API docs

Mortgage lender ratings

Published mortgage lender ratings built from HMDA loan records, CFPB complaints and CFPB enforcement actions: stars, score, modeled five-year extra cost against similar loans, complaints per 10,000 loans (null when not scored) and enforcement caps. Empty until a rating set is published. For internal services only.

Needs a internal key. Ask at editorial@switchwize.com. Cached for 0 seconds at the edge. Answers allow any website to call them from the browser.

Parameters

None.

Try it

Examples

curl

curl -H "Authorization: Bearer swk_YOUR_KEY" "https://www.switchwize.com/api/v1/datasets/mortgage-lender-ratings"

JavaScript

const res = await fetch("https://www.switchwize.com/api/v1/datasets/mortgage-lender-ratings", {
  headers: { Authorization: "Bearer swk_YOUR_KEY" },
})
const { data, asOf, attribution } = await res.json()

Python

import requests
r = requests.get("https://www.switchwize.com/api/v1/datasets/mortgage-lender-ratings", headers={"Authorization": "Bearer swk_YOUR_KEY"})
body = r.json()
print(body["asOf"], body["data"])

Reply shape

{ "apiVersion": "v1", "schemaVersion": "...", "dataset": "mortgage-lender-ratings", "asOf": "2026-12-03T11:40:00Z", "generatedAt": "...", "attribution": "SwitchWize (https://www.switchwize.com)", "data": ... }

Over the limit you get 429 with a Retry-After header in seconds. Please cite SwitchWize and the asOf date when you show these numbers.

The week's biggest rate changes, in your inbox every Monday. Free.

Savings, CDs and mortgages: the best rates and what moved.

See what is inside

Send me the weekly SwitchWize rate briefing: the biggest changes in savings, money market, checking and CD rates. Unsubscribe in one click. We never share your address.