data_stale (500)
Live listing data is more than 12 hours old, so the API is not serving it. One of the three
freshness clocks (GET /v1/status) is past 12 hours or missing: the change check, the key sweep
or the roster sweep. The response carries Retry-After (seconds) and dataLastUpdatedAt, the
time of the last good change check (or null if there has never been one).
Only live keys get this answer; sandbox (test) keys keep working, because the sandbox's
listings are made up and don't come from a sync.
It covers every route under /v1/listings and GET /v1/autocomplete when the request asks
for addresses or MLS numbers (or leaves types out); types=places, types=postalCodes,
/v1/places/…, /v1/compliance, /v1/lookups/… and the account routes keep working. A listing
route is checked inside its own request, never from a cache.
A second form concerns open houses only: while the open-house feed's marks are more than 12
hours old, the openHouse search filter answers 500 data_stale with details.feed: "openHouses", and listing details are served with openHouses: [] plus the warning
open_houses_stale. Other listing content is unaffected.
Your account also gets a data.stale notice when
this starts (changes: ["started"]) and another when it ends (["ended"]), by webhook and in
GET /v1/events. While it lasts, saved-search and favorite change notices wait; they are
worked out when the data is fresh again.
Fix: retry after Retry-After and show a "temporarily unavailable" message meanwhile. Never
show saved copies of listings: data that is this old may include listings that have left the
market. Serving resumes by itself on the first cycle that brings every clock back under 12 hours.
The status is 500, not 503: tell this answer from internal_error by error.code.
Most HTTP client libraries retry a 503 by themselves but not a 500, so write the retry
yourself. The API never answers 502, 503 or 504; an HTML page with one of those comes
from the hosting platform, not from the API (see responses and errors).