Menu · Reference
Reference

A listing's price history

GEThttps://idx.ruuster.com/v1/listings/{listingId}/history

publishable or secret key · 1 unit · cached 900 s

Get a listing's price and status history, newest first, with sales shown only where the MLS allows sold data.

View as Markdownopenapi.json

The events of one listing's life on the market, newest first: when it was listed, each price change, each status change, a sale, and a return to the market after it had left. Build a "Price history" table on your listing page from it.

What to know

  • Each event has its date, the event (listed, price_change, status_change, sold or back_on_market), the price and status after it, and the previousPrice and previousStatus before it.
  • A status the MLS doesn't let us show (withdrawn, expired, canceled) is never named. When the listing comes back, you see back_on_market with the last shown price beside it.
  • A sale shows only on MLSs that show sold data, and only inside that MLS's sold window. Elsewhere a past sale is left out and its price never appears.
  • At most 100 events; truncated is true when older ones were left out.
  • The same rules as the listing itself: a listing outside your MLSs answers 404, one that left the market answers 410.

Path parameters

Name Type Description
listingId uuid The listing's id (a uuid), as id on every listing the API returns. An MLS number is not an id: find it with /v1/suggest groups=listing.

Query parameters

This call takes no query parameters.

Response

The answer is { ok: true, data, meta }. These are the fields of data; meta carries brokerageId, freshness.asOf, mls (each board's display rules) and canonical.

Field Type Description
listingId string The listing's id.
events array of object Newest first, at most 100. A status the MLS doesn't let us show (withdrawn, expired) is never named.
events[].date string When it happened: the status change's own time when the MLS sent one, else the update's.
events[].event string (enum) listed: first shown for sale; back_on_market: shown again after leaving the market; sold: only where the MLS shows sold data, inside its sold window. One of listed, price_change, status_change, sold, back_on_market.
events[].price number or null The price after the event (the sold price on sold); null when the MLS sent none.
events[].status string (enum) The status after the event. One of active, coming_soon, pending, under_contract, closed.
events[].previousPrice number or null The last shown price before the event; null on listed.
events[].previousStatus string (enum) or null The last shown status before the event; null on listed. One of active, coming_soon, pending, under_contract, closed.
truncated boolean true when older events were left out.

Errors

These are the error codes this endpoint can answer. Every error has the same body; Errors explains each code and what to show.

invalid_parameter, secret_key_in_url, invalid_credentials, missing_credentials, payment_required, access_revoked, brokerage_not_enabled, origin_not_allowed, origin_required, secret_key_in_browser, mls_not_in_scope, not_found, listing_removed, daily_quota_exceeded, rate_limited, internal_error, api_paused, source_unavailable