Adding an MLS search

Last updated January 17, 2025

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.

Accessing this feature

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. 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.

MLS_search_code_added_to_a_Code_Block.png

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:

KB Guide Image

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:

Footer Image
  • Get help from our community

  • Get help from our community on advanced customizations.

  • Hire a Squarespace Expert

  • Stand out online with the help of an experienced designer or developer.