Live mortgage rates with one API call
Display real-time rates on your website or app with ease.
import requests
state = "CA"
url = f"https://api.hapi.so/rates?state={state}"
headers = {
"x-api-key": "hapi_123xxxxxxxxxxxxxxxxxxxxxxxx"
}
response = requests.get(url, headers=headers)
data = response.json()
print(data)
{
"state": "ca",
"thirty_year_fixed": 6.292,
"twenty_year_fixed": 5.976,
"fifteen_year_fixed": 5.436,
"ten_year_fixed": 5.438,
"thirty_year_fixed_fha": 5.75,
"thirty_year_fixed_va": 5.717,
"seven_year_arm": 6.529,
"five_year_arm": 6.517,
"event_datetime": "2025-10-18T21:00:43",
}
No Need for Manual, Complicated Scraping
h.api manages real-time data collection from multiple sources so you don't have to.
Real-Time, Full US Coverage
h.api covers all 50 states in the US, providing accurate and up-to-date rates for all mortgage products.
Simple API, Simple Pricing
$10/month for full access to all features.
Starter
$10/month
Ideal for pretty much everyone.
- /rates
- /calculate
- Full request logging
- 3,000 requests per day
Enterprise
Contact
Best for large teams and enterprise-level organizations.
Everything in Starter +
- Historical data
- Unlimited requests