Adding an MLS search
false
Adding an MLS search
Last updated July 29, 2026 20:14
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, which is available in the Core, Plus, Advanced, Business, Commerce Basic, and Commerce Advanced plans. To learn more, visit Choosing the right Squarespace plan.
Step 1 - Add a code block
Click Edit on the page or post where you'd like your search to appear. Hover over the section and click Add block or + to open the block menu, then click Code.
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.
Was this article helpful?
Yes No
138 out of 197 found this helpful
Yes No
Adding an MLS search
