Compliance: MUST and NEVER
The rules every site built on the Ruuster Listings API follows, as one list of things you must do and things you must never do.
Your boards let you show their listings on the condition that every page follows their rules. The API
applies most of them before an answer reaches you: it returns only listings you may show, masks hidden
addresses, and leaves out sold data where a board doesn't allow it. Your pages do the rest. This is the
whole list. RUUSTER_IDX.md carries the same list for AI coding tools, word for word.
MUST
- Keep the secret key on your server. Send
IDX_SECRET_KEYonly asAuthorization: Bearerfrom server code. Never put it in a URL, a browser, a repository, a chat or a prompt. - Put no key in a page. Your pages call your own listings route (
createListingsRoutefrom@ruuster/idx/route), which adds the secret key on your server. A site builder page with no server calls the API with no key, from an approved address on your account. - Pass
whereobjects back exactly as/v1/suggestreturned them. Never build one or change its fields. The one change you may make is adding"operator":"not"to exclude an area. - Show each listing's attribution. Print
attribution.lineon every card and every listing page where it is not null. - Show every board's disclaimer. On every page that shows listings, and inside every map frame,
print the disclaimer, logo and notices of every board in
meta.mls, with the date the data was last updated. - Follow each board's placements. Show every element in
meta.mls[].requiredwhere itsplacementsays: on the card, on the listing page, once on the page or on the map. - Keep hidden addresses hidden. Use the address, slug and alt text exactly as the API returns
them. When
address.hiddenis true, show no street, no unit, no map pin and no coordinates anywhere: not in the page, the URL, the head tags, the JSON-LD, analytics events or CRM payloads. - Answer the listing's status. 410 when the API answers 410, 404 when it answers 404, and a 301 from an outdated slug to the current one. Drop removed listings from your sitemap.
- Handle 429 and 503 calmly. Wait
Retry-Afterseconds before you try again. In server rendering, throw, so your cache keeps serving the last good page. - Check
/v1/metacapabilities before you build on sold data, maps or your own listings, and build those features only where they are available. - Send forms to your own server, then to your own CRM. Consent boxes start unchecked, and the lead source is your site's name.
- Follow fair housing in every word. Describe homes, places and amenities, never people or who a place suits, and show the Equal Housing Opportunity notice.
- Print JSON-LD safely, with
<JsonLd>in React orjsonLdHtmlexactly as returned.
NEVER
- Never store listings beyond a cache. Don't copy listings, photos or their fields into a database of your own, and never keep showing a listing after the API stops returning it.
- Never add data the API didn't return. Don't show a field it left out, and don't fill one from another source.
- Never show sold data the API didn't return. Don't keep sold listings or sold prices from earlier answers once they leave the API.
- Never call a CRM from the browser. Lead data goes from your form to your server, and from your server to your CRM.
- Never put calls to action on result cards. Tour and contact buttons belong on the listing page.
- Never use attribution contact details to route leads. An agent's email or phone in
attribution.contactis for display only. - Never fetch pages in parallel, and never keep more than four calls in flight per key.
- Never let staging or visitor-filtered search pages be indexed.
- Never rank schools or describe who lives in a place as a reason to buy.
Approved domains
Listings may show only on domains your boards approved, and each domain is approved per board. The API enforces it: a browser call from any other domain is refused, a secret key answers only its own site domain's boards, and a secret key whose pages turn up on another domain is paused. Keys and domains explains how approvals work.
Where each rule is explained
- Attribution and disclaimers
- Sold and status rules
- Hidden addresses and maps
- Compliance by board
- Fair housing
- Rendering the JSON yourself
- Privacy and consent
Check before launch
Prompt: compliance and launch audit checks your site against this list and changes nothing until you approve. The launch checklist covers the rest.