API for historical housing prices
The United States Census Bureau has many free housing datasets (some of which are updated more than once every 10 years). There is an API for American Community Survey 1 Year Data that includes housing data. There are raw data sets at American Fact Finder.