Listings: Search Parameters
This page documents the parameters that may be used for the _filter
parameter in a Listings API
search. While the Search and Paging Syntax
page documents general search parameters that apply to any service that searches, this page documents search parameters specific to the Listings API
|Standard field name
||Any standard field name from the Standard Fields service that is marked as searchable may be used. For example, ListPrice or BathsTotal.
||Listings may be limited by listing cart ID.
||Listings may be limited by saved search ID. For example, the IDX Links service returns a saved search ID. A SavedSearch cannot be combined with other fields for filtering, so it should be the first and only field in a filter.
||Listings may be limited by shared listing ID; for example, 15Ar might be one possible value.
Performs a "smart" street address search, as opposed to directly matching the string value of a field such as UnparsedAddress.
Does not support wildcards -- instead, opt for user inputted street address criteria, such as "120 1st Street".
||Listings may be limited to those that have open houses within a specific time frame using a datetime value.
||Listings may be limited to those that have tours within a specific time frame using a datetime value.
||If omitted, all listing searches are scoped to the current MLS. Datasharing agreements amongst MLSs may provide access to listings beyond the current MLS, and can be discovered by using the Standard Fields service. To search for these listings, specify the MlsId of one or more MLSs listed by the Standard Fields service in the filter string.
||Listings may be searched by geographic area. A search shape is required for this field, and shape the following functions are available to build the shapes:
polygon('latitude1 longitude1, latitude2 longitude2, latitude3 longitude3, ...') Polygon searches generate a shape for the ring of input coordinates.
rectangle('latitude1 longitude1, latitude2 longitude2') Rectangle searches generate a shape using bounding box for the two input coordinates.
radius('latitude1 longitude1',radius) Radius searches generate a circle at center point for the input coordinates with a size of the radius as a decimal in miles.
Listings may be ordered by any searchable main list field from the Standard Fields service
, or by the ModificationTimestamp