Search the US housing markets dataset
Searches monthly Redfin housing-market statistics per region and property type since 2012, joined to Census ACS income for affordability metrics. 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. Sort enum: relevance, price_desc, price_asc, list_price_desc, list_price_asc, price_to_income_desc, price_to_income_asc, salary_to_buy_desc, salary_to_buy_asc, dom_asc, dom_desc, inventory_desc, homes_sold_desc, period_desc. Use latest=true for the most recent period per region series. Billing: this search costs 1 credit per record returned, with a minimum of 2 (an empty result costs 2, a full page of 100 costs 100).
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/datasets/housing-markets/search
- Auth: API key in header x-api-key
Query parameters
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
Sort enum: relevance, price_desc, price_asc, list_price_desc, list_price_asc, price_to_income_desc, price_to_income_asc, salary_to_buy_desc, salary_to_buy_asc, dom_asc, dom_desc, inventory_desc, homes_sold_desc, period_desc
Page number, defaults to 1
Page size, defaults to 20 and maxes at 100; page * page_size must be <= 10000
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.