search Object
The object containing details about a specific real estate property search the user performed.
The object containing details about a specific real estate property search the user performed.
| Field | Type | Required | Description |
|---|---|---|---|
address | address | No | The address a user entered into the search |
bedroomsMax | number | No | The maximum number of bedrooms used in this search |
bedroomsMin | number | No | The minimum number of bedrooms used in this search |
cities | array of string | No | The cities the user searched within |
counties | array of string | No | The counties the user searched within |
description | string | No | A human-readable text description of this search |
driveTimeStartAddress | address | No | Start location for the drive in a drive time search |
driveTimeStartTime | string | No | Time of day of the drive in a drive time search |
features | array of string | No | The features the user selected for this search |
fullBathsMax | number | No | The maximum number of full bathrooms used in this search |
fullBathsMin | number | No | The minimum number of full bathrooms used in this search |
halfBathsMax | number | No | The maximum number of half bathrooms used in this search |
halfBathsMin | number | No | The minimum number of half bathrooms used in this search |
id | string | No | The website's internal unique identifier for this search |
isAcreage | boolean | No | This search was for acreage |
isCondo | boolean | No | This search was for condominiums |
isDriveTimeSearch | boolean | No | This search contains "drive time" criteria |
isForeclosureAcreage | boolean | No | This search was for distressed properties |
isLot | boolean | No | This search was for land or lots |
isMultiFamily | boolean | No | This search was for multi-family residences |
isPointOfInterestSearch | boolean | No | This search returned results near a point of interest |
isRadiusSearch | boolean | No | This search was for a specific radius |
isRental | boolean | No | This search was for leases |
isSingleFamily | boolean | No | This search was for single-family residences |
isWalkTimeSearch | boolean | No | This search contains "walk time" criteria |
mlsIds | array of string | No | The list of MLS IDs used in the search |
neighborhood | No | The neighborhood the results are within | |
pointOfInterest | pointOfInterest | No | The pointOfInterest used in a point of interest search |
postalCodes | array of string | No | The postal or zip codes passed to the search |
priceMax | number | No | The maximum price of the search |
priceMin | number | No | The minimum price of the search |
radiusGeoLocation | geo | No | The geoLocation used as the center of the radius search |
radiusInMiles | number | No | The radius of the radius search |
radiusSearchAddress | address | No | The address used as the center of a radius search |
resultsCount | number | No | The total number of results returned by the search |
schoolElementary | string | No | The elementary school district the user searched within |
schoolHigh | string | No | The high school district the user searched within |
schoolMiddle | string | No | The middle school district the user searched within |
searchURL | uri | No | The hyperlink to this search |
similarTo | listing | No | Searched for homes similar to provided listing |
sortedBy | array of accepted values† | No | An array of items the results are sorted by |
subdivision | string | No | The name of the subdivision used in the search |
walkTimeStartAddress | address | No | Start location for the walk in a walk time search |
walkTimeStartTime | string | No | Time of day of the walk in a walk time search |
yearBuiltMax | number | No | The latest year homes in this search were built |
yearBuiltMin | number | No | The earliest year homes in this search were built |
† Accepted Values for realestate.search.sortBy
| Field | Type | Required | Description |
|---|---|---|---|
priceHighest | Sorted by price, highest to lowest | No | Sorted by price, highest to lowest |
priceLowest | Sorted by price, lowest to highest | No | Sorted by price, lowest to highest |
address | Sorted by street address | No | Sorted by street address |
distanceClosest | Sorted by proximity to radius or point of interest | No | Sorted by proximity to radius or point of interest |
distanceFurthest | Sorted by distance from radius of point of interest, furthest to closest | No | Sorted by distance from radius of point of interest, furthest to closest |
photoCountHighest | Sorted by number of photos, most to least | No | Sorted by number of photos, most to least |
photoCountLowest | Sorted by number of photos, least to most | No | Sorted by number of photos, least to most |
bedroomsHighest | Sorted by bathrooms, most to least | No | Sorted by bathrooms, most to least |
bedroomsLowest | Sorted by bedrooms, least to most | No | Sorted by bedrooms, least to most |
bathroomsHighest | Sorted by bathrooms, most to least | No | Sorted by bathrooms, most to least |
bathroomsLowest | Sorted by bathrooms, least to most | No | Sorted by bathrooms, least to most |
squareFeetHighest | Sorted by square feet, highest to lowest | No | Sorted by square feet, highest to lowest |
squareFeetLowest | Sorted by square feet, lowest to highest | No | Sorted by square feet, lowest to highest |
yearBuiltNewest | Sorted by year built, newest to oldest | No | Sorted by year built, newest to oldest |
yearBuiltOldest | Sorted by year built, oldest to newest | No | Sorted by year built, oldest to newest |
dateListedNewest | Sorted by listing date, newest to oldest | No | Sorted by listing date, newest to oldest |
dateListedOldest | Sorted by listing date, oldest to newest | No | Sorted by listing date, oldest to newest |
featuredListings | Sorted by featured listings | No | Sorted by featured listings |
other | Any unlisted field | No | Any unlisted field |
1/* Example use of the search object */23// Create the search object4var search = {5 "bedroomsMin": 4,6 "fullBathsMin": 2,7 "isCondo": true,8 "isSingeFamily": true,9 "priceMax": 450000,10 "searchURL": "http://www.yourwebsite.com/listings?beds=4&baths=2&condo=1&single=1&minprice=450000"11};1213var data = {14 "search": search15};1617// Attach the save event to the saveButton click18document.getElementById('saveButton').addEventListener('click', function () {19 brytescore( "realestate.savedSearch", data );20});2122// Log the viewedListing event on document load23document.addEventListener('DOMContentLoaded', function() {24 brytescore( "realestate.searchedListings", data );25});
Updated July 25, 2026