Fetch current mortgage rate data for display in a real estate application

domain: real-estate-general · 6 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Identify a mortgage rate data source appropriate for your use case: Freddie Mac publishes weekly PMMS (Primary Mortgage Market Survey) averages for free; CFPB HMDA data provides historical loan rate data; commercial providers like Optimal Blue offer real-time lock data via paid API.
  2. For Freddie Mac PMMS weekly data, fetch the published CSV or JSON from Freddie Mac's research data page; parse the 30-year and 15-year fixed rate and the week-ending date.
  3. For a real-time rate feed, integrate with a mortgage pricing API (e.g., Polly, Optimal Blue, or a lender-specific API); these require a business relationship and return rates based on loan scenario inputs (loan amount, LTV, credit score, property type).
  4. Cache the rate data with an appropriate TTL: weekly for PMMS data, minutes to hours for real-time lock rates.
  5. Display rates with the appropriate context: PMMS rates are national averages and will differ from a consumer's actual rate; include the rate source and date prominently.
  6. Compute a sample monthly payment using the formula: M = P[r(1+r)^n]/[(1+r)^n-1] where P is loan amount, r is monthly rate, and n is number of payments.

Known gotchas

Related routes

Fetch current and historical currency exchange rates using Frankfurter or ECB data sources
currency-data · 5 steps · unrated
Track foreclosure and auction listings using public data feeds
real-estate-general · 6 steps · unrated
Look up parcel and assessor data using Regrid API
real-estate-general · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp