Inputs and types

The shared location, filter, paging and lookup inputs, and the Money, Address and Location types used in every row.

Every source uses the same input groups. A source's page lists which ones its routes take.

#Location

Where to search. Send exactly one of: zip; city with state; bbox; or lat with lng and radius_mi. None, or more than one, returns 422 with param set to location.

ParameterTypeDefaultDescription
zipstringFive-digit ZIP code.
citystringCity name. Send with state.
statestringTwo-letter state code. Send with city.
bboxstringMap box as west,south,east,north in decimal degrees.
latnumber, -90–90Center latitude. Send with lng and radius_mi.
lngnumber, -180–180Center longitude.
radius_minumber, 0.1–10Search radius in miles, up to 10.

#Filters

Optional filters for area searches.

ParameterTypeDefaultDescription
min_priceinteger, 0–∞Lowest price in dollars. On rentals, the lowest monthly rent.
max_priceinteger, 0–∞Highest price in dollars. On rentals, the highest monthly rent.
beds_mininteger, 0–10Fewest bedrooms.
baths_minnumber, 0–10Fewest bathrooms.
sqft_mininteger, 0–∞Smallest living area in square feet.
sqft_maxinteger, 0–∞Largest living area in square feet.
property_typeOne or more of single_family, condo, townhouse, multi_family, land, manufactured, apartment, comma-separatedOne or more home types, separated by commas, like single_family,townhouse.

#Paging

Paging. The first call sends no cursor. Send result.next_cursor to get the next page. It is null on the last page.

ParameterTypeDefaultDescription
cursorstringThe next_cursor from the previous page. It only works on the route that made it and with the same inputs.

#Lookup

Which home. Send exactly one of address, url or source_id. None, or more than one, returns 422 with param set to lookup.

ParameterTypeDefaultDescription
addressstringFull street address with city and state or ZIP, like 2041 Samuel Dr, Denver, CO 80221. An address that matches several homes returns 422 address_ambiguous with up to 5 candidates.
urlstringThe home's page URL on the source site.
source_idstringThe source's own ID for the home. On Zillow, the zpid.

#Types

Money: An amount with its currency. Amounts are numbers, not strings.

FieldTypeDescription
amountnumberThe amount.
currencystringISO 4217 code, like USD.

Address: A street address as the source shows it, split into parts.

FieldTypeDescription
line1string or nullStreet number and name. Null when the source hides the address.
unitstring or nullUnit, apartment or suite. Null when the home has none.
citystringCity.
statestringTwo-letter state code.
zipstringFive-digit ZIP code.
countystring or nullCounty name. Null when the source does not give it.
county_fipsstring or nullFive-digit county FIPS code. Null when unknown.

Location: Map point for the home.

FieldTypeDescription
latnumberLatitude.
lngnumberLongitude.

#Sold-price disclosure

Some states don't make sale prices public. In those states a sold row's sale_price can be null, and sale_price_disclosure is not_disclosed.

Non-disclosure states: AK, ID, KS, LA, MS, MT, ND, NM, TX, UT, WY. Partly: MO (Some counties do not disclose sale prices.)