RESTful API for mortgage rate data and lender information
Get a list of lenders with filtering and pagination
Filter by type (national, regional, state, local, credit_union, online)
Filter by state (e.g., CA, TX, FL)
Filter by loan type (conventional, fha, va, usda, jumbo)
Filter by loan term in years (30, 15, 10)
Sort by field (rate, apr, rating, reviews, name)
Number of results (default: 20, max: 100)
Pagination offset (default: 0)
{
"lenders": [...],
"total": 42,
"limit": 20,
"offset": 0
}/api/lenders?lender_type=national&loan_type=conventional&term=30&sort=rate&limit=10
Currently, no authentication is required for public endpoints. Rate limits apply:
API responses include rate limit headers:
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 95 X-RateLimit-Reset: 1699999999
The API uses standard HTTP status codes:
const response = await fetch( 'https://mortgage-rate-monitor.vercel.app/api/lenders?loan_type=conventional' ); const data = await response.json(); console.log(data.lenders);
import requests
response = requests.get(
'https://mortgage-rate-monitor.vercel.app/api/lenders',
params={'loan_type': 'conventional'}
)
data = response.json()
print(data['lenders'])curl -X GET "https://mortgage-rate-monitor.vercel.app/api/lenders?loan_type=conventional" \
-H "Accept: application/json"