State Level
Affordability Forecast (Batch)
Access forecasts of monthly affordability values for States with coverage three years into the future, enabling informed decisions about property investments and market trends. Higher values imply lower affordability.
Source: HouseCanary
Pricing Tier: Basic
Updated: Monthly
Request Query Params
<table><tr><th>Property</th><th>Type</th><th>Description</th><th>Example</th><th>Enum Values</th></tr> <tr><td>order</td><td>string</td><td>Chronological order to sort result items. One of [asc or desc]. Defaults to asc.</td><td>asc</td> <td>[asc, desc]</td></tr> <tr><td>limit</td><td>integer</td><td>Maximum integer number of result items to return. Defaults to null.</td><td>10</td> <td></td></tr> <tr><td>start</td><td>string</td><td>Beginning date limit for result items, based on month, in ISO 8601 format, i.e. 2015-01-01. Defaults to null.</td><td>2015-01-01</td> <td></td></tr> <tr><td>end</td><td>string</td><td>Ending date limit for result items, based on month, in ISO 8601 format, i.e. 2015-01-01. Defaults to null.</td><td>2015-01-01</td> <td></td></tr> </table>Request Body Fields
<table><tr><th>Field</th><th>Type</th><th>Description</th><th>Example</th></tr> <tr><td>[]</td><td>object</td><td></td><td></td> </tr> <tr><td>[].state</td><td>string</td><td>2-letter state abbreviation</td><td>CA</td> </tr> </table>Response
<table><tr><th>Field</th><th>Type</th><th>Description</th><th>Example</th></tr> <tr><td>time_series</td><td>array</td><td>Set of forecast affordability values</td><td></td> </tr> <tr><td>time_series[]</td><td>object</td><td></td><td></td> </tr> <tr><td>time_series[].month</td><td>string</td><td>Month of the affordability value</td><td>2023-08-01</td> </tr> <tr><td>time_series[].afford_pmt</td><td>number</td><td>Fraction of median household income required to make the median home payment on a 30 year fixed rate mortgage with 20% down</td><td>0.283</td> </tr> <tr><td>time_series[].afford_detrended</td><td>number</td><td>The normalized distance of afford_pmt from a long term linear trend. Units are in standard deviations from the mean.</td><td>0.21</td> </tr> </table>post/v2/state/affordability_ts_forecast
Query parameters
order'asc' | 'desc' nullable
Chronological order to sort result items. One of [asc or desc]. Defaults to asc.
limitinteger nullable
Maximum integer number of result items to return. Defaults to null.
startstring nullable
Beginning date limit for result items, based on month, in ISO 8601 format, i.e. 2015-01-01. Defaults to null.
endstring nullable
Ending date limit for result items, based on month, in ISO 8601 format, i.e. 2015-01-01. Defaults to null.
Request body
Example request
[
{
"state": "CA"
}
]Response
Success
Example response
[
{
"state/affordability_ts_forecast": {
"result": {
"time_series": [
{
"month": "2023-08-01",
"afford_pmt": 0.283,
"afford_detrended": 0.21
}
]
}
},
"state_info": {
"state": "CA"
}
}
]