Skip to content

No. 10Startups7 min read1,792 words

How to build a real estate website: listings, MLS and search

How to build a real estate website or listings platform: the four product types, MLS and RESO data feeds, map search, images, lead routing and cost drivers.

Written by
Lazy Devs
Published
Updated
Sources
Cited inline

Key takeaways · 05

The short version

  1. 01Decide which of four products you are building first: an agency brochure site, a listings portal, a transaction or property management platform, or an agent CRM with a public face. They differ hugely in cost.
  2. 02Listing data is the hardest part. An MLS feed through the RESO Web API adds approval paperwork, inconsistent fields and late photos, so it often moves the launch date more than any design decision.
  3. 03Postgres with PostGIS and built-in full-text search handles map and filter search for most platforms; add a dedicated search engine only when you outgrow it.
  4. 04Maps, image delivery and search all carry ongoing usage costs. Budget for running costs, not just the build.
  5. 05Treat lead routing as a core feature: the right agent should get each enquiry quickly, without duplicates, in the tool they actually use.
On this page · 12

To build a real estate website that works, first decide which kind of product you are building, then solve where the listing data comes from, then make search, maps, images and lead routing fast and reliable. The visible homepage is the cheap part. Correct, fresh listing data and quick map search are where the effort goes, and an MLS feed in particular can move your launch date more than any design choice.

Most real estate web projects do not fail because the code is hard. They fail because nobody agreed on what "search" means, where the listings come from, and who keeps the photos up to date. If you are a founder, broker or product owner about to hire a team, understanding the moving parts before you sign anything is the most useful thing you can do. It is also how we start every engagement in our real estate work.

The four kinds of real estate platform

"A real estate platform" covers at least four very different products:

ProductWhat it includesMain effort
Agency brochure siteListings, agent profiles, valuation and contact formsDesign, content, a simple listings admin
Listings portalSearch, filters, map, saved searches, alerts, lead captureSearch, maps, images, data quality
Transaction or management platformTenant and owner portals, rent payments, documents, maintenance requestsPayments, permissions, document workflows
Agent CRM with a public facePipeline for agents that also publishes listings to the webWorkflow design, integrations, lead routing

When teams quote wildly different numbers, this is usually why. Pin down which one you are buying. A lot of pain comes from a client who asked for a brochure site but described a portal in the kickoff meeting. The CRM-style option is really an internal tool with a website attached, and the decision framework in internal tools: build vs buy applies to it directly.

Where the listing data comes from

The hardest part of a real estate platform is almost never the front end. It is the listing data: where it lives, how fresh it is and who owns the truth.

  • You enter listings by hand. Fine for a small agency. You need a clean admin area, good image handling and validation so required fields are never missing.
  • You sync from an MLS. In the US, most MLSs now deliver data through the RESO Web API, which has replaced the older RETS standard, with field names standardised by the RESO Data Dictionary. Other countries have their own portals and feeds.
  • You aggregate from several sources. Now you have deduplication, conflicting prices and stale listings to reconcile. That is a real engineering problem, not a weekend job.

Why MLS feeds stretch timelines

  1. Access takes paperwork. You usually need a licensing agreement with the MLS and often a participating broker. Approval can take weeks before a line of integration code runs.
  2. Display rules apply. IDX policies govern which listings you may show, required attribution and how often data must refresh.
  3. Data is inconsistent. Even with a shared dictionary, MLSs use local fields and enumerations differently.
  4. Photos arrive late or change. Media needs its own sync, resizing and cache invalidation.
  5. Listings change status constantly. Sold and withdrawn listings must disappear promptly; showing a sold home is a fast way to lose trust.

If your platform depends on a feed, ask any team you talk to: have you integrated this specific provider before, and what is the approval timeline on the data side? The answer changes your launch date more than any design decision.

Search, filters and maps

"Show me three-bedroom houses under 400k within 5km of this point, sorted by newest" is a genuine search problem. Naive queries slow down once you combine map bounds, filters and free text.

Postgres carries you a long way

We build these on Next.js with Postgres, and that combination handles most real estate platforms comfortably. Postgres gives you full-text search and PostGIS for geospatial queries in one place, which keeps the early architecture simple.

-- Store locations as geography points (longitude, latitude in WGS 84).
-- A GiST index makes radius and bounding-box queries fast.
CREATE INDEX listings_location_idx ON listings USING GIST (location);
 
-- Three-bed homes under 400k within 5km of a point, newest first.
SELECT id, title, price
FROM listings
WHERE bedrooms >= 3
  AND price <= 400000
  AND status = 'active'
  AND ST_DWithin(
        location,
        ST_SetSRID(ST_MakePoint(:lng, :lat), 4326)::geography,
        5000  -- metres, because both sides are geography
      )
ORDER BY published_at DESC
LIMIT 24;

ST_DWithin uses the spatial index, and with geography types the distance is in metres. Combine it with Postgres full-text search for keywords like "garden" or "loft" and ordinary indexes on price, bedrooms and status. If a query like that is fast and correct with realistic data volumes, you have the hard half of the platform working.

A dedicated search engine such as Typesense or Elasticsearch becomes worthwhile when you need typo tolerance, complex relevance ranking or very high query volumes. Add it when the need is real, not on day one.

Maps are easy to add and expensive to scale

Map providers bill on usage; see Google Maps Platform pricing for one example. A busy listings page that reloads the map on every filter change can produce a surprising bill. Practical fixes:

  • Load the interactive map only when the user opens map view or scrolls to it.
  • Debounce map movement so you query when the user stops panning, not on every pixel.
  • Cluster pins on the client using marker clustering or similar, so hundreds of listings stay readable.
  • Return only the fields a pin needs, and fetch full details on click.

Saved searches and alerts bring buyers back

Most buyers do not find their home on the first visit. They come back when something new appears, so saved searches and alerts are often the feature that turns a one-off visitor into a lead.

The mechanics are simple to describe and easy to get wrong:

  1. Store the search as structured criteria, not a URL, so it still works after you change filters or page layout.
  2. Match new and changed listings against saved searches in a background job whenever a feed sync or manual edit lands, rather than re-running every search on a timer. Our guide to background jobs and queues explains how to make that reliable.
  3. Batch notifications. Let people choose instant, daily or weekly, and group matches into one message.
  4. Include price drops and status changes, which buyers care about as much as new listings.
  5. Make unsubscribing one click, and honour it immediately.

Alerts also tell you something valuable: which areas and price bands buyers are watching. Shared with agents, that is useful market intelligence.

Images: real estate is a photo business

Agents upload dozens of large phone photos per listing, sometimes in the wrong orientation. You need automatic resizing into several widths, modern formats such as AVIF or WebP, a CDN, lazy loading for everything below the first image, and a properly prioritised hero photo. Skip this and your site crawls on exactly the pages that sell. Our image optimisation guide covers the details.

Lead routing is where the money is

A contact form is trivial. Making sure the right agent gets the enquiry quickly, without duplicates, in the tool they actually use, is what makes money.

  1. Capture context: which listing, which search, what the person asked.
  2. Deduplicate: the same buyer enquiring on three listings is one lead, not three.
  3. Route by rules: listing agent, area, price band or round-robin, with a fallback when nobody responds.
  4. Deliver where agents work: CRM, email and mobile notification.
  5. Measure response time: slow follow-up is one of the surest ways to let a good lead go cold.

Compliance: fair housing and data

In the US, the Fair Housing Act prohibits discrimination in housing, including in advertising. For a website that means avoiding search filters, listing copy or ad targeting that steer people based on protected characteristics such as race, religion, sex, disability or familial status. Neighbourhood descriptions and automated listing copy deserve review for the same reason. Buyer and tenant enquiries are personal data, so privacy law applies as well. This is engineering guidance, not legal advice.

A sensible architecture

You do not need microservices, a separate search cluster or Kubernetes on day one. Those are answers to scale problems you may never have.

  • Next.js with server-rendered listing pages, so they load fast and rank in search.
  • Postgres with PostGIS for listings, search and leads.
  • Object storage plus a CDN for images.
  • A background job that syncs feeds and media on a schedule, with alerts when a sync fails.
  • Structured data on listing pages so search engines understand them.

Starting simple and adding pieces when traffic justifies them is the good kind of lazy: less to build, less to break, less to pay for. Many listing portals are, structurally, directory sites; how to build a directory website covers the shared patterns.

What drives cost and timeline

We will not put a price on a platform before seeing its data sources, but the drivers are consistent:

DriverLower effortHigher effort
Product typeBrochure siteTransaction or management platform
Listing dataManual entrySeveral MLS feeds aggregated and deduplicated
SearchSimple filtersMap search, free text, saved searches and alerts
UsersPublic visitors onlyBuyers, agents, landlords and tenants with separate portals
Payments and documentsNoneRent collection, deposits, e-signatures
Running costsHosting onlyMaps, image CDN, search and feed fees every month

The expensive part is rarely the visible part. A polished homepage is cheap. Correct, fast, always-fresh data is where the money goes.

What to check before you commit

  • Who owns the data integration risk? If the feed is late or broken, is that your problem or the team's?
  • Insist on a staging environment with realistic volumes. Everything is fast with twelve listings. Ask to see it with tens of thousands.
  • See the admin experience demonstrated, not just the public site. If entering listings is clumsy, data quality dies.
  • Clarify running costs up front. Maps, image delivery, hosting and search all bill monthly.
  • Prefer a phased launch. You can launch with manual listings and add the feed later.

The short version

Build the platform you actually need, not the one that sounds impressive. Decide which of the four product types you are building, nail down where the listing data comes from and who owns the risk of it breaking, and assume search, maps and images will cost more than the homepage. Get those right and the rest is ordinary web work.

If you want a second opinion on a quote or scope before you sign, or a team to build it, tell us what you are planning. We are happy to look.

FAQ · 05 questions

Frequently asked questions

How do real estate websites get MLS listings?

Through a data feed licensed from the MLS, usually under IDX rules for public display. Most US MLSs now provide data through the RESO Web API, with field names standardised by the RESO Data Dictionary. Access requires an agreement with the MLS and often a participating broker, and approval can take weeks before any integration work starts.

What is the difference between IDX and an MLS data feed?

The MLS is the database of listings shared between brokers. IDX is the set of rules and permissions that lets a broker display other brokers' MLS listings on their own public website. The technical feed is how the data arrives; IDX governs what you may show and how, such as attribution and refresh requirements.

What is the best tech stack for a real estate platform?

For most platforms, a server-rendered framework such as Next.js with a Postgres database works well. Server rendering makes listing pages fast and indexable by search engines, and Postgres with the PostGIS extension handles geographic queries and full-text search in one place. A separate search engine is worth adding only when volume or search features demand it.

How long does it take to build a real estate listings portal?

A brochure site for an agency is a short project. A listings portal with search, maps and manual listing entry is considerably larger, and adding an MLS feed extends it further because of data approval and cleanup. Transaction platforms with payments and documents take longest. Data sources, not design, drive most of the variation.

Does fair housing law apply to real estate websites?

In the US, the Fair Housing Act prohibits discriminatory housing advertising, and that includes online listings, search filters and ad targeting. Avoid filters or copy that steer people based on protected characteristics, and review ad targeting settings carefully. This is not legal advice, so confirm specifics with a lawyer.

Filed underStartupsFrontend

Related service

MVP Development

A real product in users' hands in weeks, not quarters.

Learn more

Next step

Want this built right?

This is the work we do every day. Tell us what you are building and we will show you exactly how we would ship it.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts