Search queries for custom forms and saved links


This article explains how to properly use search queries in order to build custom forms and custom saved links of your dreams. This article will be also useful for anyone who is not able to display certain properties with the saved links.

Please note, IDX Broker support can not provide support for custom built forms and information here can be out of date and subject to change. Use at your own risk.

Since IDX Broker results pages are using the standard GET method, you can create a search form from the ground up, as long as you follow the syntax rules explained here.

The standard query string is being used as well – The field-value pair is separated by a question mark (?), subsequent ones by ampersands (&). In some cases, field-value pair does not have a value.

Here are several ways to find out the field name:

Every multiple listing service (MLS) is unique and has very specific names for the fields. For example, Regional Multiple Listing Service uses "subdivision" while Mid Florida Regional MLS "legalSubdivisionName" to list available subdivisions

Since each MLS usually has somewhere between 500 and 1500 available fields that are updated every once in a while, it would be impossible to manually keep track of all fields for 600+ MLSs.

Core fields are unique and the same for every MLS, because we manually "map" or associate MLS fields to the predefined fields in IDX Broker system.

That is why only core fields can be used to search through multiple property types or multiple MLSs at the same time.

Most core fields can be found in the following location IDX Control panel Preferences -> MLS Settings -> Core Fields

More information about each field type. You can even use the same field several times in one query with different field types.

To include multiple values (i.e. an array of values) for the same field, append [] at the end of the field name.

For example:

URL Query Prefix Field Type Examples
a_ List, Quick List, Yes/No, Text
k_ Keyword (values are separated by spaces) &k_area=Aloha+"Marina Hts" – returns results with "Aloha" or "Marina Hts" keywords
amin_ Minimum, Min/Max &amin_garageOrParkingSpaces=1
amax_ Maximum, Min/Max
aw_ Wild Text
csv_ Comma Separated Vallues &csv_airConditioning[]=Heat+Pump,Window – can be used to shorten the results URL.
Same as &a_airConditioning[]=Heat+Pump&a_airConditioning[]=Window

Here you can find unique or undocumented fields:

Field Description Examples
pt Property type
&pt=1 - search the MLS property type
&pt=sfr - selects the IDX Broker system property type
&pt=all - search through all IDX Broker property types in the account

Internal number of the MLS.
Remove completely to search through all MLSs in the account.

&idxID=001 - search for RMLS listings, as long as account has access to RMLS
tb Shortcode – Minimum total bathrooms
bd Shortcode – Minimum total bedrooms
bathrooms Bathrooms
hp Shortcode – Maximum (high) price
lp Shortcode – Minimum (low) price
dateAdded Date added to IDX Broker system
add How many days since added to IDX Broker system
(does not work with prefixes)
ublat Shortcode – Maximum (up) latitude
lblat Shortcode – Minimum (low) latitude
ublong Shortcode – Maximum (up) longitude
lblong Shortcode – Minimum (low) longitude
srt Sort Order
&srt=newest  - Newest Listings
&srt=oldest - Oldest Listings
&srt=pra - Least expensive to most
&srt=prd - Most expensive to least
&srt=bda - Bedrooms (Low to High)
&srt=bdd - Bedrooms (High to Low)
&srt=tba - Bathrooms (Low to High)
&srt=tbd - Bathrooms (High to Low)
&srt=sqfta - Square Feet (Low to High)
&srt=sqftd - Square Feet (High to Low)
srtd *Order of the Legacy sorting
srtf *Legacy field used in sorting
&srtf=acres (does not work anymore with this and other core/advanced fields)
city City name. Can be used without prefix.
City IDs are system wide.
- search for listings in the best Oregon cities, such as Eugene and Springfield
county County name. Can be used without prefix.
County IDs are system wide.
zipcode Zip/postal code. Can be used without prefix.
pgon Polygon Search – Coordinates.
It may increase loading time.
Works in both Lt and Pt, but polygon will be displayed only in Pt
clat Polygon Search – Map Central latitude
(does not affect Results pages)
clng Polygon Search – Map Central longitude
(does not affect Results pages)
zoom Polygon Search – Zoom level
(does not affect Results pages)
layerType Type of the polygon.
radius Radius of the polygon circle in miles
mapCenterLat Map polygon center latitude location
mapCenterLong Map polygon center longitude location
ciID Custom city list ID
coID Custom county list
pcID Custom zip code list

Indicates what page was used to create that results page.
Page ID can be found in the control panel.
Used for the Modify Search links button.

nowrapper Load page without wrapper.
nosubheader Load page without any IDX subheaders
nocss Load page without any CSS that is set in the IDX control panel
mobile Load page with the mobile wrapper applied. Use this or change
User-agent string to modify mobile wrapper design.
fullsite Force desktop view while using mobile wrapper.
NOTE that the value is saved in cookies
latest Apply latest template version
woh Listings with Open Houses
wvt Listings with Virtual Tours

*Search type of listings

&stp=supplemental - search only supplemental listings.
Appears to include all statuses, including Sold.
&stp=featured - search only featured listings. Might not work correctly.
&stp=soldPending - search only supplemental listings. Does not work correctly.
&stp=historical - search only supplemental listings. Is not available yet.
virtualTours *Number of Virtual tours
openHouses *Number of Open Houses
savedName Applies the search query from the saved link.
Can be combined with additional fields.


Applies the search query from the saved link ID.
Can be combined with additional fields.

archiveStatus Search supplemental (not archived) listings
idxStatus IDX Broker status field, that behaves like a core field
(it is technically a pseudo-core field)
displayAddress Listings with/without address that can be displayed on the internet,
which is set by agents/offices/MLS in the data feed.

*Experimental features

Every single property type has a unique set of fields. Since the URL query works only in AND mode, it is challenging to use advanced fields with multi-property type and multi-MLS searches.

As mentioned before, only core fields can be used to search through multiple property types or MLSs.

You could create your own custom form that would include any of those fields and search through several property types and MLS’s.

Pages that can normally search through multiple property types and multiple MLSs:

  • Basic Search
  • Listing ID Search
  • Address Search
  • Polygon saved links
  • Map Search

If an advanced field is available in all property types and it has the same variable name, you might be able to search through all property types by using &pt=all. It does not seem to work when the MLS identifier is omitted.
For example: ?idxID=a001&pt=all&hp=100000&a_bankOwnedYN=yes will find absolutely all bank owned properties in RMLS, below $100k.

Field Name IDX Display Examples
acres Acres &amin_acres[]=1000&amax_acres=2000
address Address &aw_address[]=Pearl+St&aw_address[]=Olive+St
bedrooms Bedrooms &amin_bedrooms=1&amax_bedrooms=1
cityName City &a_cityName=Springfield
countyName County
fullBaths Full Baths
idxPropType IDX Property Type DOES NOT WORK?!
latitude Latitude
listingID Listing ID
listingPrice Listing Price
longitude Longitude
maxPrice Max Price
minBath Min Baths
minBed Min Bedrooms
minPrice Min Price
minSqFt Min Sq Ft
partialBaths Partial Baths
propStatus Status
propType Property Type
remarksConcat Remarks
rntLse Rent/Lease
rntLsePrice Rent/Lease Price
rntLsePriceOffSeason Rent/Lease Off Season
sqFt Square Feet &amax_sqft=1000
state State &a_state=Oregon
streetDirection Street Direction &a_streetDirection[]=N&a_streetDirection[]=NW
streetName Street Name
streetNumber Street Number &amax_streetNumber=1000&a_streetNumber=1551
totalBaths Total Baths
unitNumber Unit Number
yearBuilt Year Built
zip4 Zip Plus
zipcode Zipcode. Can be used without prefix. &zipcode[]=97401
zoning Zoning

Every single MLS has a unique set of property types. All MLS specific property types can be found on the advanced search MLS Settings -> Property Types

Any search page that searches through multiple MLS at the same time (Basic Search page by default) uses the IDX Broker property types. We decide what would be the best appropriate IDX Broker property type for the MLS property type.

For example if the MLS supplies Single Family Residential (&pt=1 for some MLSs) and Condo property types (&pt=2 for some MLSs), IDX Property type – sfr will include both of them.

Field Name IDX Property Type
sfr Single Family Residential
mfr Multifamily Residential
com Commercial
ld Lots and Land
rnt Rentals
mh Mobile Homes
ri Rental Income
bo Business Opportunity
frm Farms
lse Lease
othr Other

Microsoft products have the maximum length of any given URL set to 2083 characters. It means that some links will not be working properly in MS Outlook and Internet Explorer browsers. It is possible that we will be making some changes to the URL queries to make them shorter and more efficient.

All field-value pairs for separate fields work as AND logic operator, meaning that all criteria in the query will be used at the same time.

Searches with the multiple values of a field are performed as OR logical conjunction.

It is not possible to exclude certain values or fields from the queries. You would need to go the other way around and select the allowed values or fields.

Advanced fields can not be used to search through multiple property types (except for the mentioned "experimental" case).

Some MLSs do not allow commingling. It means that results pages with no-commingle MLSs results will not display properties from other MLSs:

  • Multi-mls results pages will have a separate tab available just for the no-commingle results
  • Map Search does not allow to search through All MLSs
  • First tab will always include results for MLSs that allow commingling, even if there are 0 results.

Back to: Advanced Customization > Forms