Menu · Reference
Reference

Market metric catalog

GEThttps://idx.ruuster.com/v1/market/metrics

publishable or secret key · 1 unit · cached 3600 s

List every market metric with its definition, formula and unit, and see which of your MLS boards can supply each one.

View as Markdownopenapi.json

The catalog behind Market snapshot: each metric's name, plain label, definition, formula, unit and the listing fields it reads, and for each of your MLS boards whether it can supply the metric and why not.

What to know

  • A board without sold data under its rules can't supply sold metrics. A board that doesn't publish a field, such as days on market, can't supply the metrics that read it.
  • A board whose listings rarely carry a contract date is left out of the contract counts for those statuses. boards[].contractDateFill shows how many of its Pending, Active Under Contract and Closed listings carry one.
  • definitions names the formulas of /v1/market's monthly measures, including both months of inventory and the three-month months of supply.
  • The board ids in boards are the values the mls filter takes.

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
metrics array of object Every metric GET /v1/market/snapshot answers, in its order.
metrics[].name string (enum) The metric's name (the snapshot's metrics parameter takes it).
metrics[].label string Its plain label.
metrics[].group string (enum) The catalog group. One of inventory, pace, price, time, negotiation, mix.
metrics[].definition string What it means.
metrics[].formula string How it is computed.
metrics[].unit string (enum) The unit of its value. One of usd, usd_per_sqft, days, ratio, count, months, percent, category.
metrics[].medianAndAverage boolean true when it has a median (value) and an average.
metrics[].fields array of string The listing index fields it reads.
metrics[].statuses array of string The listing statuses it reads.
metrics[].windowed boolean true when it reads the request's window; false for a count or value now.
metrics[].boards array of object Each of your MLSs and whether it can supply the metric.
metrics[].boards[].mls string The MLS id.
metrics[].boards[].mlsName string The MLS's name.
metrics[].boards[].available boolean true when this MLS feeds the metric.
metrics[].boards[].reason string or null Why it doesn't (or feeds it only in part); null when it fully does.
definitions array of object GET /v1/market's monthly measures, each with its formula (the three months-of-inventory formulas among them).
definitions[].name string The metric or measure name.
definitions[].label string Its plain label.
definitions[].definition string What it means.
definitions[].formula string How it is computed.
boards array of object Your MLSs that answer market statistics.
boards[].mls string The MLS id (the mls filter takes it).
boards[].mlsName string The MLS's name.
boards[].soldData boolean true when its rules show sold data.
boards[].contractDateFill number or null The share (0 to 1) of its Pending, Active Under Contract and Closed listings that carry a contract date; null when not measured yet.
windowDays array of integer The windows the snapshot takes, in days.
groupBy array of string (enum) The breakdowns groupBy takes (month on GET /v1/market only).

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, daily_quota_exceeded, rate_limited, internal_error, api_paused, source_unavailable