curl --request GET \
--url https://api.hapi.so/rates \
--header 'x-api-key: <api-key>'{
"state": "<string>",
"thirty_year_fixed": 123,
"twenty_year_fixed": 123,
"fifteen_year_fixed": 123,
"ten_year_fixed": 123,
"seven_year_arm": 123,
"five_year_arm": 123,
"thirty_year_fixed_fha": 123,
"thirty_year_fixed_va": 123,
"event_datetime": "2023-11-07T05:31:56Z"
}Get live interest rates for a given state
curl --request GET \
--url https://api.hapi.so/rates \
--header 'x-api-key: <api-key>'{
"state": "<string>",
"thirty_year_fixed": 123,
"twenty_year_fixed": 123,
"fifteen_year_fixed": 123,
"ten_year_fixed": 123,
"seven_year_arm": 123,
"five_year_arm": 123,
"thirty_year_fixed_fha": 123,
"thirty_year_fixed_va": 123,
"event_datetime": "2023-11-07T05:31:56Z"
}The 2 letter state for which to get the interest rate
2Successful Response
The 2 letter state for which to get the interest rate
2The current average 30 year fixed interest rate
The current average 20 year fixed interest rate
The current average 15 year fixed interest rate
The current average 10 year fixed interest rate
The current average 7 year ARM interest rate
The current average 5 year ARM interest rate
The current average 30 year fixed FHA interest rate
The current average 30 year fixed VA interest rate
The date and time the rates were posted