Reference
Account, boards and capabilities
GET
https://idx.ruuster.com/v1/metapublishable or secret key · free · cached 3600 s
Get your account, your boards, what your key can use, your brand variables, every board's compliance block and your site-wide JSON-LD.
One call that describes your account to your code: your brokerage, your key's site, the boards in
scope with their search names and states, capabilities (sold data per board, maps, your own
listings, agent filters and more), every board's compliance block, your brand variables (themeVars),
your detail-page template, and organization, the RealEstateAgent JSON-LD for your whole site.
What to know
- Check
capabilitiesbefore you build sold pages, maps or your own listings. Compliance by board. themeVarsare the--rw-*CSS variables of your brand kit.RecipesStylesprints them. Match your brand.- Put
organization.jsonLdHtmlin your site's layout once. - It changes rarely. Cache it for an hour.
Query parameters
| Name | Type | Description |
|---|---|---|
format |
enum, default json | json = the public API shapes; widget = the shapes the Ruuster widget reads (for the widget and its adapters). Values: json, widget. |
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 |
|---|---|---|
brokerage |
object | |
brokerage.id |
string | |
brokerage.name |
string or null | |
brokerage.lang |
string (enum) | Always en: the Listings API is English only (answers, rendered pages and the widget). One of en. |
brokerage.isNewDesignEnabled |
boolean | The theme gate: theme is null unless true. |
site |
object | |
site.label |
string | The key's site label. |
site.keyKind |
string (enum) | One of pk, sk. |
capabilities |
object | |
capabilities.sold |
array of object | Per board in scope: whether sold listings may be shown, and for how many days after closing. |
capabilities.sold[].mlsId |
string | |
capabilities.sold[].allowed |
boolean | |
capabilities.sold[].windowDays |
integer or null | |
capabilities.renderMode |
string (enum) | One of ssr, static, none. |
capabilities.surfaces |
array of string | |
capabilities.multiInstance |
boolean | |
capabilities.urlPaging |
boolean | |
capabilities.ownListings |
boolean | ownListings=1 expands to agents or confirmed offices for this key. |
capabilities.agentFilter |
boolean | |
capabilities.maps |
boolean | The account has a Google Maps key (returned in maps). |
capabilities.suggestSources |
array of string (enum) | The where sources /v1/suggest can return for this key. |
theme |
object or null | The client's brand kit exactly as its Ruuster site uses it, the values the components render from; null unless brokerage.isNewDesignEnabled. |
theme.common |
object | Colors, fonts and backgrounds. |
theme.common.backgroundAttachment |
string | |
theme.common.backgroundImage |
string | |
theme.common.backgroundPosition |
string | |
theme.common.backgroundRepeat |
string | |
theme.common.backgroundSize |
string | |
theme.common.colorAccent |
string | |
theme.common.colorAccentHover |
string | |
theme.common.colorAccentRgb |
string | |
theme.common.colorAccentText |
string | |
theme.common.colorBackground |
string | |
theme.common.colorBorder |
string | |
theme.common.colorChrome |
string | |
theme.common.colorChromeText |
string | |
theme.common.colorSubAccent |
string | |
theme.common.colorText |
string | |
theme.common.colorTextSecondary |
string | |
theme.common.fontMain |
string | |
theme.common.fontSecondary |
string | |
theme.common.mobileBackgroundAttachment |
string | |
theme.common.mobileBackgroundImage |
string | |
theme.common.mobileBackgroundPosition |
string | |
theme.common.mobileBackgroundRepeat |
string | |
theme.common.mobileBackgroundSize |
string | |
theme.common.mobileColorBackground |
string | |
theme.buttons |
object | Button colors. |
theme.buttons.colorButton |
string | |
theme.buttons.colorButtonDarken1 |
string | |
theme.buttons.colorButtonLighten1 |
string | |
theme.buttons.colorButtonText |
string | |
theme.buttons.savedSearchColorButton |
string | |
theme.buttons.savedSearchColorButtonShadow |
string | |
theme.buttons.savedSearchColorButtonText |
string | |
theme.links |
object | Link colors. |
theme.links.colorLink |
string | |
theme.links.colorLinkDarken1 |
string | |
theme.tokens |
object | Direct design-token overrides. |
theme.tokens.font.family.sans |
string | |
theme.tokens.font.family.serif |
string | |
theme.tokens.interactive.accent |
string | |
theme.tokens.interactive.accentHover |
string | |
theme.tokens.interactive.accentSubtle |
string | |
theme.tokens.interactive.primary |
string | |
theme.tokens.link.default |
string | |
theme.tokens.stroke.light |
string | |
theme.tokens.surface.chrome |
string | |
theme.tokens.surface.page |
string | |
theme.tokens.text.onChrome |
string | |
theme.tokens.text.onPrimary |
string | |
theme.tokens.text.primary |
string | |
theme.tokens.text.secondary |
string | |
themeVars |
object | The --rw-* CSS custom properties the widget paints for theme (its brandVars). |
themeVars.--rw-colors-accent |
string | |
themeVars.--rw-colors-accent-light |
string | |
themeVars.--rw-colors-black |
string | |
themeVars.--rw-colors-blue |
string | |
themeVars.--rw-colors-cream-accent |
string | |
themeVars.--rw-colors-cream-background |
string | |
themeVars.--rw-colors-cream-border |
string | |
themeVars.--rw-colors-danger |
string | |
themeVars.--rw-colors-focus-ring |
string | |
themeVars.--rw-colors-green |
string | |
themeVars.--rw-colors-green2 |
string | |
themeVars.--rw-colors-grey |
string | |
themeVars.--rw-colors-grey2 |
string | |
themeVars.--rw-colors-grey3 |
string | |
themeVars.--rw-colors-hovers-accent |
string | |
themeVars.--rw-colors-hovers-primary |
string | |
themeVars.--rw-colors-icon-grey |
string | |
themeVars.--rw-colors-icon-on-card |
string | |
themeVars.--rw-colors-interactive-accent |
string | |
themeVars.--rw-colors-interactive-accent-hover |
string | |
themeVars.--rw-colors-interactive-accent-subtle |
string | |
themeVars.--rw-colors-interactive-grey-hover |
string | |
themeVars.--rw-colors-interactive-primary |
string | |
themeVars.--rw-colors-interactive-primary-hover |
string | |
themeVars.--rw-colors-link-default |
string | |
themeVars.--rw-colors-link-hover |
string | |
themeVars.--rw-colors-overlays-card |
string | |
themeVars.--rw-colors-overlays-card-hover |
string | |
themeVars.--rw-colors-overlays-light-card |
string | |
themeVars.--rw-colors-overlays-light-card-hover |
string | |
themeVars.--rw-colors-overlays-scrim |
string | |
themeVars.--rw-colors-primary |
string | |
themeVars.--rw-colors-secondary |
string | |
themeVars.--rw-colors-status-danger |
string | |
themeVars.--rw-colors-status-info |
string | |
themeVars.--rw-colors-status-pending |
string | |
themeVars.--rw-colors-status-success |
string | |
themeVars.--rw-colors-stroke-card-line |
string | |
themeVars.--rw-colors-stroke-cream |
string | |
themeVars.--rw-colors-stroke-light |
string | |
themeVars.--rw-colors-stroke-medium |
string | |
themeVars.--rw-colors-surface-base |
string | |
themeVars.--rw-colors-surface-black |
string | |
themeVars.--rw-colors-surface-card |
string | |
themeVars.--rw-colors-surface-chrome |
string | |
themeVars.--rw-colors-surface-cream |
string | |
themeVars.--rw-colors-surface-gold |
string | |
themeVars.--rw-colors-surface-gold-subtle |
string | |
themeVars.--rw-colors-surface-grey |
string | |
themeVars.--rw-colors-surface-page |
string | |
themeVars.--rw-colors-tertiary |
string | |
themeVars.--rw-colors-text-inverse |
string | |
themeVars.--rw-colors-text-on-chrome |
string | |
themeVars.--rw-colors-text-on-cream |
string | |
themeVars.--rw-colors-text-on-gold |
string | |
themeVars.--rw-colors-text-on-primary |
string | |
themeVars.--rw-colors-text-primary |
string | |
themeVars.--rw-colors-text-secondary |
string | |
themeVars.--rw-colors-text-tertiary |
string | |
themeVars.--rw-colors-type-ai-accent |
string | |
themeVars.--rw-colors-type-ai-tile |
string | |
themeVars.--rw-colors-type-custom-accent |
string | |
themeVars.--rw-colors-type-custom-tile |
string | |
themeVars.--rw-colors-type-template-accent |
string | |
themeVars.--rw-colors-white |
string | |
themeVars.--rw-fonts-inter |
string | |
themeVars.--rw-fonts-marcellus |
string | |
themeVars.--rw-fonts-sans |
string | |
themeVars.--rw-fonts-serif |
string | |
compliance |
array of object | Every board in the key's scope. |
compliance[].mlsId |
string | |
compliance[].mlsName |
string | |
compliance[].displayType |
string (enum) | One of IDX, VOW. |
compliance[].disclaimer |
object or null | |
compliance[].disclaimer.text |
string | |
compliance[].disclaimer.html |
string or null | |
compliance[].logo |
object or null | |
compliance[].logo.url |
string | |
compliance[].logo.width |
number | |
compliance[].logo.height |
number | |
compliance[].logo.alt |
string | |
compliance[].attributionTemplate |
string or null | |
compliance[].required |
array of object | |
compliance[].required[].element |
string (enum) | One of listing_office, listing_agent, agent_contact, mls_logo, disclaimer, as_of, courtesy_line, dmca_notice, source_line. |
compliance[].required[].placement |
string (enum) | One of card, detail, page, map. |
compliance[].notices |
array of object | |
compliance[].notices[].kind |
string (enum) | One of dmca, source, copyright, other. |
compliance[].notices[].text |
string | |
compliance[].notices[].html |
string or null | |
compliance[].draft |
boolean | |
mls |
array of object | |
mls[].id |
string | |
mls[].name |
string | |
mls[].searchName |
string or null | The filterByMls value for this board. |
mls[].states |
array of string | |
mls[].displayType |
string (enum) | One of IDX, VOW. |
supportedStates |
array of string | The boards' states minus the brokerage's excluded states. |
widget |
object | |
widget.version |
string | |
widget.loaderUrl |
string | |
maps |
object or null | |
maps.apiKey |
string | |
maps.mapId |
string or null | |
ctas |
array of object | Up to two call-to-action buttons for the detail view (this key's site's, else the account's). Each is a link (hrefTemplate) or a DOM event the page listens for (event): exactly one is set. |
ctas[].label |
string | The button text, as the client wrote it. |
ctas[].hrefTemplate |
string or null | A link template ({id}, {slug}, {mlsNumber}); null for an event button. |
ctas[].event |
string or null | The DOM event name the button fires (^[a-z][a-z0-9_-]{0,31}$); null for a link. |
detailHrefTemplate |
string or null | The account's detail URL template ({id}, {slug}, {mlsNumber}). |
organization |
object | Your brokerage as schema.org RealEstateAgent, for every page of your site. |
organization.jsonLd |
object or null | schema.org RealEstateAgent for your brokerage. Fields your brokerage profile doesn't have are left out. |
organization.jsonLd.@context |
string (enum) | schema.org. One of https://schema.org. |
organization.jsonLd.@type |
string (enum) | RealEstateAgent. One of RealEstateAgent. |
organization.jsonLd.name |
string | Your brokerage's name. |
organization.jsonLd.url |
string | Your website. |
organization.jsonLd.logo |
string | Your logo's URL. |
organization.jsonLd.image |
string | Your logo's URL (also the business image). |
organization.jsonLd.telephone |
string | Your client-facing phone number. |
organization.jsonLd.areaServed |
array of object | The states and provinces your MLSs cover, by name. |
organization.jsonLd.areaServed[].@type |
string (enum) | State. One of State. |
organization.jsonLd.areaServed[].name |
string | The state's or province's name. |
organization.jsonLdHtml |
string | jsonLd as one ready-to-insert |