"exclude" Field

All Property Search input parameters are able to be excluded.

  • Examples:
    • exclude mls_active: false will remove non-active listings
    • county: "Arlington", state: "VA" + exclude zip: "22205" will return all properties in Arlington County, VA except ones in zip code 22205

The following table is a list of exclude filters where the types are different than what is defined in the Property Search input schema. The purpose of these are to filter out results that have null-values (when set to false) or filter out results that have non-null values (when set to true)

FieldType
houseboolean
unitboolean
streetboolean
cityboolean
stateboolean
countyboolean
zipboolean
mail_houseboolean
mail_unitboolean
mail_streetboolean
mail_cityboolean
mail_stateboolean
mail_countyboolean
mail_zipboolean
last_sale_dateboolean
bedroomsboolean
bathroomsboolean
year_builtboolean
years_ownedboolean
living_square_feetboolean
building_square_feetboolean
storiesboolean
equity_percentboolean
properties_ownedboolean
hoaboolean


In this example I take 2 zips, which in theory could be any arbitrary number of zipcodes, maybe that you pull from a spreadsheet.

{
  count: true,
  zip: ["22205", "23857"],
  exclude: [
    { zip: "22205" }
  ]
}

The "exclude" field will allow you to manually extract zips from your search without having to course through the entire list.

The field works with other root level fields or compound queries.

Counts:

23857 => 732

22205 => 6,264

Result of above query: 732