Compliance by board
How to read each of your boards' own rules from the API, from its disclaimer and attribution to its sold window, hidden addresses, map rules and hidden fields.
Each board sets its own rules, and the API carries them for every board your key covers. You never need to look them up by hand: they are in every answer, filled in for the listings you are showing.
Where each board's rules are
| Rule | Where the API gives it |
|---|---|
| Disclaimer, logo, copyright and DMCA notices | meta.mls[] on every answer: disclaimer, logo, notices |
| Attribution wording | meta.mls[].attributionTemplate, already filled in as each listing's attribution.line |
| What goes where | meta.mls[].required: each element with its placement |
| Sold listings and the sold window | /v1/meta data.capabilities.sold: allowed and windowDays per board |
| Map pins | /v1/meta data.capabilities.maps; a listing that can't be placed has geo null |
| Hidden addresses | Applied by the API; each masked listing has address.hidden true |
| Fields a board hides | Left out of its listings; a listing page's compliance.suppressedFields names them |
| Display type | /v1/meta data.mls[].displayType |
Call /v1/meta with your key to see your boards and their capabilities:
curl -s "https://idx.ruuster.com/v1/meta" \
-H "Authorization: Bearer $IDX_SECRET_KEY"import { createClient } from "@ruuster/idx";
const idx = createClient({ secretKey: process.env.IDX_SECRET_KEY });
const r = await idx.meta();
if (!r.ok) throw new Error(`${r.error.code}: ${r.error.message}`);
console.log(r.data);import os
import requests
res = requests.get(
"https://idx.ruuster.com/v1/meta",
headers={"Authorization": "Bearer " + os.environ["IDX_SECRET_KEY"]},
timeout=30,
)
body = res.json()
if not body["ok"]:
raise RuntimeError(body["error"]["code"] + ": " + body["error"]["message"])
print(body["data"])<?php
$ch = curl_init('https://idx.ruuster.com/v1/meta');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('IDX_SECRET_KEY')],
CURLOPT_TIMEOUT => 30,
]);
$body = json_decode(curl_exec($ch), true);
curl_close($ch);
if (!$body['ok']) {
throw new RuntimeException($body['error']['code'] . ': ' . $body['error']['message']);
}
print_r($body['data']);Your boards
Your key's boards and each board's display rules come with every answer: /v1/meta lists the boards in mls and compliance, and every listing answer carries the rules in meta.mls. Render from those fields and your pages follow each board's rules.
Each board's full display rules are part of the IDX approval for your brokerage. For a board's own
notes, email helpme@ruuster.com.
IDX boards and VOW boards
A board's display type is IDX or VOW, in /v1/meta data.mls[].displayType. On your public pages a
VOW board displays like an IDX board, with the same public fields. The API answers a website key
with the fields a board allows in public for either type, so your pages need no separate code for a
VOW board. Print its disclaimer, logo and attribution the same way.
Fields by board
Fields by board lists every field the API can return and the boards that hide each one.
Your capabilities
| Field | Type | What it tells you |
|---|---|---|
capabilities.sold |
array of object | For each board in your key's scope: whether sold listings may be shown, and for how many days after closing. Check it before you build a sold page. |
capabilities.renderMode |
string (enum) | How Ruuster renders pages for this key: ssr, static or none. |
capabilities.surfaces |
array of string | The widget surfaces this key may use. |
capabilities.multiInstance |
boolean | True when one page may hold more than one listings block. |
capabilities.urlPaging |
boolean | True when results pages may carry the page number in the URL. |
capabilities.ownListings |
boolean | True when ownListings=1 works for this key (the brokerage's agents or offices are on file). |
capabilities.agentFilter |
boolean | True when the agent parameter works for this key. |
capabilities.maps |
boolean | True when the account has a Google Maps key (meta.maps returns it). |
capabilities.suggestSources |
array of string (enum) | The kinds of location /v1/suggest can return for this key. |