Facet the US housing markets dataset
Returns terms aggregation counts for the housing markets dataset. Facet enum: region_type, state_code, property_type, parent_metro, parent_metro_code, income_vintage, is_latest, period_begin. region_type enum: national, metro, county, city, zip. property_type enum: All Residential, Single Family Residential, Condo/Co-op, Townhouse, Multi-Family (2-4 Unit), Single Units Only.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/datasets/housing-markets/facets
- Auth: API key in header x-api-key
Query parameters
Facet enum: region_type, state_code, property_type, parent_metro, parent_metro_code, income_vintage, is_latest, period_begin
Full-text query over region name and city, max 256 characters
Region level enum: national, metro, county, city, zip
Exact two-letter state code filter, e.g. CA
Property type enum: All Residential, Single Family Residential, Condo/Co-op, Townhouse, Multi-Family (2-4 Unit), Single Units Only
Exact parent metro (CBSA) code filter, e.g. 16980
Exact zip code filter (zip-level rows only), e.g. 60616
Exact period start date filter, YYYY-MM-DD
Filter for the most recent period per region and property type
Minimum median sale price in USD
Maximum median sale price in USD
Minimum median list price in USD
Maximum median list price in USD
Minimum price-to-income ratio
Maximum price-to-income ratio
Minimum salary needed to buy in USD per year
Maximum salary needed to buy in USD per year
Minimum median days on market
Maximum median days on market
Minimum active inventory
Maximum active inventory
Minimum homes sold in the period
Headers
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.