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
Click Edit on the page or post where you'd like your search to appear. Click an insert point and select Code from the menu.
For more detailed steps, visit Adding content with 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.
Keep in mind, the code may not render when you're logged in to your site. Here's an example of how an MLS search could appear:
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:
- Learn best practices for adding custom code.
- Read our general guide on code-based customizations.
- Visit the Squarespace Forum, our customer and developer forum.
- Hire a Squarespace Expert to help build custom code for your site.
- Explore our premium and enterprise-level plans to develop a more customized solution for your business.