TheCondoPortal logo
HomeNeighbourhoodsMapBlogBrokerage

TheCondoPortal

Red Bricks is your destination for pre-construction condos, townhouses, and homes. Access platinum listings, launching soon projects, and more.

Discover

  • Home
  • Neighbourhoods
  • Map
  • Blog
  • Developers
  • Cities

Company

  • About Us
  • Our Team
  • Contact

Get in Touch

Have questions about a project? We're here to help.

Send a Message →

Listing data is provided under license from the Toronto Regional Real Estate Board (TRREB). TRREB assumes no responsibility for the accuracy of the information contained herein. Data is updated periodically and may not reflect the most current market activity. Not intended to solicit buyers or sellers currently under contract. MLS®, REALTOR®, and the associated logos are certification marks owned by the Canadian Real Estate Association (CREA) and identify real estate professionals who are members of CREA.

© 2026 TheCondoPortal. All rights reserved.

Data powered by

Privacy PolicyTerms of Service
Home/Help Center/Technical FAQ/How Does Data Sync Work?
getting-startedmls

How Does Data Sync Work?

Understanding cron jobs, API data flow, and how your site stays current.

Last updatedMarch 29, 2026

On this page

  • How Does Data Sync Work?
  • Data sources
  • How pre-construction data syncs
  • How MLS data syncs
  • CRM and user data

How Does Data Sync Work?

Your site pulls data from multiple sources and keeps them in sync automatically.

Data sources

  1. Red Bricks Data API — Pre-construction project listings, floorplans, pricing
  2. Repliers TRREB API — MLS resale and rental listings (if enabled)
  3. Supabase — CRM data, favorites, blog posts, portfolio units

How pre-construction data syncs

The Red Bricks API is queried in real time when visitors load pages. Responses are cached using Next.js ISR (Incremental Static Regeneration):

  • Home page data: revalidates every 30 minutes
  • Project detail pages: revalidate every hour
  • Floorplan pages: revalidate every 2 hours
  • Category pages: revalidate every hour

This means your site serves fast cached pages while periodically refreshing data in the background.

How MLS data syncs

MLS data follows a different pattern — it syncs via a daily cron job:

  1. The cron job fetches new and updated listings from the Repliers API
  2. Data is upserted into your Supabase database
  3. Building matching runs to link MLS buildings to pre-construction projects
  4. Your site reads MLS data from Supabase, not directly from the API
The cron sync job has a time budget to avoid exceeding hosting limits. It processes as much data as possible each run and picks up remaining work on the next cycle.

CRM and user data

CRM data (contacts, pipeline, tasks) is stored in Supabase and updates in real time. When you add a contact or move a deal, the change is reflected instantly across all connected browsers.

Was this article helpful?

Related Articles

Enabling MLS on Your Site

How to activate the MLS/IDX feature toggle and connect resale data.

MLS/IDX Integration

MLS Data Sync and Freshness

How the cron sync works and how often MLS data is updated.

MLS/IDX Integration

What is Red Bricks OS?

An overview of the Red Bricks OS platform, what it does, and who it is built for.

Getting Started

Back to Technical FAQ