An MLS, or multiple listing service, is a database used for real estate transactions. Real estate agents and brokers often add MLS searches to their sites to let visitors find listings in their area.
If you're in the real estate business, you can add an MLS search to your site using some custom code.
Note: To add MLS search to your site, you should be a member of an IDX service. Some IDX services include Diverse Solutions, IDXBroker, and Displet.
The steps in this guide include adding advanced code to a Code Block. This is a Premium feature available in Business and Commerce plans.
Step 1 - Add a Code Block
Open the editor for the page or post where you'd like your search to appear. Click an insert point and select Code from the Block Menu.
For more detailed steps, visit Adding content with blocks.
Note: For more help with this, visit Code Blocks.
Step 2 - Paste the MLS code
Most IDX services provide HTML embed code for adding MLS search to your site.
Find and copy this code from your IDX service and paste it into the Code Block. Click Apply to save your changes.
Here's an example of how an MLS search could appear on your site:
Some IDX services may require additional code that you'll need to add to Code Injection.
Note: This code-based customization falls outside the scope of our support. This means that we’re unable to help further with setup or troubleshooting. Additionally, since this is a code-based solution, we can’t guarantee its functionality or full compatibility with Squarespace. This includes how it functions with our responsive design, particularly its appearance on mobile devices, and if it functions on all templates. Code-based customizations can also cause display issues with future updates to our platform. While we can't help further, there are many resources that can point you in the right direction: