Microproduct Data GuideBeginner

FHFA House Price Index

Repeat-sales indexes of U.S. single-family house prices for building local housing-market monitors and regional comparison tools.

Report a Problem

At a Glance

Difficulty
Beginner — comfortable for a first prototype
Size
Tiny · ≤0.05 GB
Formats
CSV, JSON, XML
Access
Download
API Key
Not Required
Provider
Federal Housing Finance Agency
Updates
Monthly
Last Verified
Aug 14, 2026
Source Type
Government Source
Setup Friction
Low Setup Friction
Setup Time
5 min
Registration
Not Required
  • Python Syntax Checked
  • Runnable Notebook

From Source to Product Signal

Test a Product Idea in Four Steps

The FHFA House Price Index measures average price changes from repeat mortgage transactions on the same single-family properties. Start with purchase-only monthly series for a few states. The index is not a list of sale prices, and coverage is strongest where Fannie Mae and Freddie Mac purchase or securitize mortgages.

1

Check the Setup

  • Python 3.10 or newer
  • A notebook environment such as Jupyter or Google Colab
  • An internet connection
2

Access the Data

  1. 1.Open the FHFA HPI datasets page and identify the purchase-only monthly series.
  2. 2.Download the master CSV and filter to one index flavor, frequency, and geography level.
  3. 3.Record the flavor, seasonal-adjustment choice, and retrieval date before comparing places.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install pandas

import pandas as pd

prices = pd.read_csv("https://www.fhfa.gov/hpi/download/monthly/hpi_master.csv")
state_prices = prices[
    (prices["hpi_flavor"] == "purchase-only")
    & (prices["frequency"] == "monthly")
    & (prices["level"] == "State")
    & (prices["place_name"].isin(["California", "Texas", "Florida"]))
].copy()
state_prices["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(state_prices[["place_name", "yr", "period", "index_nsa", "index_sa"]].tail(24))
4

Test a Useful Signal

Compare Recent State House-Price Indexes

Describe how purchase-only monthly indexes moved for three states over the last two years.

  1. 01Filter the master file to purchase-only monthly state series and confirm the date range.
  2. 02Plot seasonally adjusted indexes for the selected states on a shared timeline.
  3. 03State that the HPI is a repeat-sales index, not observed list prices, and that Enterprise mortgage coverage varies by market.

Dataset Details

Federal Housing Finance Agency is a government source. Last verified 2026-08-14. Temporal coverage: mid-1970s-present depending on geography and index flavor.

Geography

Formats

Provider

Federal Housing Finance Agency

Data Terms

U.S. Government public data / federal copyright guidance

Send Feedback