API explorer
Every endpoint, live, against the real API. Edit the request, run it, and copy it out in whichever language you are working in. Nothing is mocked and no key is required.
Try an endpoint
POST/api/v1/calculate-mortgage
Full monthly housing cost for a US mortgage: principal and interest, property tax, homeowners insurance, mortgage insurance and HOA dues, plus lifetime totals and payoff timing. Pass a state name to use that state's average property tax rate. This is the right tool for 'what would my payment be on a $400,000 house'.
Response
Send the request to see what comes back.
Copy this request
Generated from the body above, so it stays in step as you edit.
curl -s https://www.usmortgagecalc.com/api/v1/calculate-mortgage \
-H 'content-type: application/json' \
-d '{"homePrice":400000,"downPaymentPercent":20,"annualInterestRatePercent":6.5,"loanTermYears":30,"state":"Texas"}'Notes
- Every operation is read-only. Requests compute from the body you send, store nothing, and are safe to retry.
- Errors name the field. Input is validated against a schema before it reaches the engine, so a bad request tells you which value was wrong rather than returning a plausible number computed from a coerced one.
- CORS is open. You can call this from a browser on any origin.
Open source on GitHub
The specifications, SDKs and documentation are public. Read them, fork them, or open an issue when something here is wrong — corrections to the docs are the most useful thing you can send.
chetanmane/usmortgagecalc-api — SDKs and examples under MIT, documentation and specifications under CC BY 4.0.