Skip to main content
GET
/
rates
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"
}

Authorizations

x-api-key
string
header
required

Query Parameters

state
string
required

The 2 letter state for which to get the interest rate

Required string length: 2

Response

Successful Response

state
string
required

The 2 letter state for which to get the interest rate

Required string length: 2
thirty_year_fixed
number
required

The current average 30 year fixed interest rate

twenty_year_fixed
number
required

The current average 20 year fixed interest rate

fifteen_year_fixed
number
required

The current average 15 year fixed interest rate

ten_year_fixed
number
required

The current average 10 year fixed interest rate

seven_year_arm
number
required

The current average 7 year ARM interest rate

five_year_arm
number
required

The current average 5 year ARM interest rate

thirty_year_fixed_fha
number
required

The current average 30 year fixed FHA interest rate

thirty_year_fixed_va
number
required

The current average 30 year fixed VA interest rate

event_datetime
string<date-time>
required

The date and time the rates were posted