How to Build a Zillow Alternative with One API
Published on · Updated · 5 minutes read

Portals like Zillow set the bar for what a real estate site should do: fast search over live listings, rich property pages, map browsing, and a clean mobile experience. Recreating that used to require a data team and months of MLS work. It no longer does. With a single real estate data API supplying live listings, search, and media, one developer can build the core of a Zillow-style portal and focus on the experience instead of the pipeline.
This tutorial outlines how to build a Zillow alternative using Repliers as the single data layer. You will wire up live search, property detail pages, and map data from one API, the same foundation that powers portals and brokerage websites. For the wider launch stack, including backend and hosting, see Top 10 APIs to Build a Real Estate App in a Weekend.
Key Takeaways
- The core of a Zillow-style portal, search, property detail pages, photos, and map data, can come from a single real estate data API.
- Search uses GET /listings, property detail pages use GET /listings/:mlsNumber, and natural language search uses POST /nlp.
- Photos are served from https://cdn.repliers.io/ with on-the-fly resizing, so you do not build an image pipeline.
- A test key builds the whole portal, production requires MLS licensing, and focus (a niche or sharper AI search) is how a smaller portal competes.
What You Will Build
- A searchable listings portal over live MLS data
- Property detail pages with photos and history
- Map-based browsing and AI search, all from one API
What You Will Need
- A Repliers API key (a test key to build with)
- A React or Next.js app
- The /listings and /nlp endpoints
The Portal Feature Map
| Zillow-style feature | Repliers capability |
| Search over live listings | GET /listings |
| Natural language search | POST /nlp |
| Property detail pages | GET /listings/:mlsNumber |
| Fast photos | Media CDN |
| Map browsing | Listings with coordinates and map clusters |
Step 1: Build the Search Feed
The homepage of any portal is search. Query /listings with the filters your users care about and render the results.
async function getListings(params) {
const query = new URLSearchParams(params).toString();
const res = await fetch(`https://csr-api.repliers.io/listings?${query}`, {
headers: { "REPLIERS-API-KEY": process.env.NEXT_PUBLIC_REPLIERS_KEY },
});
const data = await res.json();
return data.listings || [];
}
const forSale = await getListings({ city: "Denver", type: "sale", minBeds: 2 });
Step 2: Add Property Detail Pages
Every portal needs a dedicated page per listing. Fetch a single listing by its MLS number, adding a boardId if your account spans multiple MLS systems.
// pages/listing/[mlsNumber].js
export async function getServerSideProps({ params }) {
const res = await fetch(
`https://api.repliers.io/listings/${params.mlsNumber}`,
{ headers: { "REPLIERS-API-KEY": process.env.REPLIERS_KEY } }
);
const listing = await res.json();
return { props: { listing } };
}
Photos come through Repliers’ media CDN. The response returns relative image paths, which you prefix with https://cdn.repliers.io/ (and can resize with a class parameter), so image-heavy detail pages stay fast without you building storage and delivery.
Step 3: Add Map Browsing
Map search is a signature portal feature. The /listings endpoint returns location data and can also return dynamic map clusters, so you can plot listings and cluster them at low zoom levels. Pair it with a map library such as Mapbox or Google Maps for rendering.
// Fetch listings, then feed their coordinates to your map layer
const listings = await getListings({ city: "Denver", type: "sale" });
const points = listings
.filter((l) => l.map?.latitude && l.map?.longitude)
.map((l) => ({ id: l.mlsNumber, lat: l.map.latitude, lng: l.map.longitude }));
Check the Repliers docs for the exact map and clustering parameters so you can request clusters directly at scale.
Step 4: Add AI Search
The feature that can make your portal feel more modern than the incumbents is natural language search. Send a prompt to /nlp, then fetch the returned listings URL.
async function aiSearch(prompt) {
const res = await fetch("https://api.repliers.io/nlp", {
method: "POST",
headers: {
"REPLIERS-API-KEY": process.env.REPLIERS_KEY,
"Content-Type": "application/json",
},
body: JSON.stringify({ prompt }),
});
if (res.status === 406) return null;
const { request } = await res.json();
return request.url;
}
For the full conversational build, see How to Add Natural Language Property Search to Your App.
Build Your Portal on Live Data
You can build the whole portal against sample data in minutes, then move to production once your MLS licensing is complete.
- Get an API key: https://auth.repliers.com/en/signup
- Schedule a demo: https://repliers.com/schedule-call/
Step 5: Go Live and Differentiate
A test key builds the portal; real MLS listings require MLS authorization, which Repliers helps you navigate. From there, differentiation is your advantage: since the incumbents are broad and generic, a focused portal, one neighborhood, one property type, or a sharper AI search, can win. For coverage and compliance considerations as you scale, see Top 10 Real Estate APIs Ranked by Coverage and Compliance.
Frequently Asked Questions
Can one API really replace a portal’s data stack?
For the core, yes. A Zillow-style portal needs live search, property detail, media, and map data, and Repliers provides all of it through one API across the US and Canada. You add your own frontend, and optionally a backend for accounts or saved searches, but the heavy data layer is a single integration.
How is building on an API different from scraping a portal?
An API delivers licensed, structured, real-time data you are permitted to use, while scraping a portal is fragile, often against terms of service, and gives you no compliance footing. Building on Repliers means your listings are properly sourced and normalized, with MLS licensing handled as part of going to production.
Do I need an MLS license to run a listings portal?
Yes. Any portal displaying live MLS listings needs appropriate, region-specific MLS authorization, because MLS data is regulated. Repliers helps you navigate licensing and lets you build against a test key first, so development is not blocked while authorization is in progress.
The Bottom Line
Building a Zillow alternative is no longer a data-team-sized project. Live search, property pages, photos, maps, and AI search all come from one real estate data API, which frees you to compete on focus and experience rather than infrastructure. Repliers supplies that single foundation across the US and Canada.
To start building your portal on live data, visit www.repliers.com to get an API key or schedule a demo.
Related articles
Ready to get started?
Get an API key and start testing within minutes — no credit card required.














