Menu · Guides
Guides

How current the data is

How a change on an MLS board reaches the API, your edge cache and your pages, and how to show visitors when the data was last updated.

View as Markdownopenapi.json

The Ruuster Listings API reads the same listing data every Ruuster site shows. This page follows a change from the board to your page.

From the board to the API

  1. Each board sends its changes to Ruuster on its own schedule. Most boards send changes through the day, every few minutes; some send them less often.
  2. Ruuster's listing platform saves each change, and it is searchable within seconds.
  3. The API answers the change on the next call that isn't served from a cache.

So a change usually reaches the API within minutes of the board sending it.

From the API to your pages

Step How long it can add
The edge cache, for calls from your pages The endpoint's cache time on its reference page, such as two minutes for a search
Your own page cache (ISR or your CDN) The time you set, such as five minutes
The change feed A change appears in /v1/changes once it has settled, so a feed can trail the API by a few minutes
Webhooks Ruuster checks for changes every five minutes and sends them at once

Secret-key calls are never cached at the edge, so a server page with a five-minute cache is at most five minutes behind the API.

Show the date

Every answer carries meta.freshness.asOf, the time the answer was built. Boards require a "data last updated" line on your pages: MlsDisclaimers prints it from that value, and your own templates should print it with each board's disclaimer.

When the data looks old

  • Call GET /v1/listings/{listingId} with your secret key. Secret-key answers are never cached, so if the listing is old there too, the board hasn't sent the change yet.
  • Check your own cache: look at the page's Age header, or re-render the page and load it again.
  • Check Status and uptime for a delay notice.
  • Then ask support, with the listing's MLS number and the x-request-id of the answer.