# Compliance: showing listings as Bright requires Listings are Bright MLS data, and Bright's display rules apply to every page, printout and email that shows one. The API does most of the work: it never returns a field that may not be shown, every answer with listing content carries a [`compliance`](../reference/compliance.md) block with the required texts, and every listing carries the names that must be credited. What is left for your site is to **show what the API gives, where the rules say.** This guide lists it. **Take every text from the API at the moment you build the page. Never copy one into a template.** The block is filled in for your account (your brokerage's name, the year, the time of the last data update). ## What goes where | Where | Show | From | | --- | --- | --- | | Every page that shows a listing | The copyright line, the accuracy statement and the time of the last update | `compliance.copyright`, `compliance.accuracy`, `compliance.lastUpdated` | | Your home page, or every search page | The IDX source statement, the personal-use statement and the availability statement | `compliance.idxSource`, `compliance.personalUse`, `compliance.availability` | | Every page that shows a listing | Your brokerage's name as licensed, at least as prominent as the agent's or team's name. For an agent's site, the states the agent is licensed in | `compliance.advertisingBrokerage.name`, `.licenseStates` | | Every listing card and thumbnail | The listing office's name | the listing's `attribution.listOfficeName` | | The listing's detail page | The listing office's name with its phone or email, **in the top quarter of the page, in the same size and colour as the other details** | `attribution.listOfficeName`, `listOfficePhone`, `listOfficeEmail` | | A Closed listing | The label, both statements about sale information, and the selling office and agent where given | `compliance.closed.label`, `.notAppraisal`, `.provider`; `attribution.buyerOfficeName`, `buyerAgentName` | | A Coming Soon listing | The label and the date it is expected on the market | `compliance.comingSoon.label`; the listing's `expectedOnMarketDate` | | A page that claims to show every listing | The notice about brokers who don't take part | `completeness` in [`GET /v1/compliance`](../reference/compliance.md) | `compliance.closed` is present only when the answer holds a Closed listing, and `compliance.comingSoon` only with a Coming Soon one: their presence tells your page to show them. `compliance.renderingRules` repeats the placement rules in words, for a person or an AI tool reading the answer. The copyright line must not read as if Bright MLS were the broker of the listing or of your site. `compliance.poweredBy` is optional: show it if you like. ## Photos, tours and videos - **Show every photo whole.** Use CSS `object-fit: contain`, never `cover`: cropping can cut off the Bright watermark. Scale in proportion and compress if you need to, and do nothing else to a photo: no cropping, no change of shape, no overlay, no retouching or "enhancement", and never remove a watermark. - **Use the URLs the API gives,** over `https`. They are Bright's own, in five sizes. - **Tours and videos are links,** in the detail's `media.links`. Show them as links beside the gallery, never as photos and never in the photo count. - A Closed listing whose seller hides its photos off the market comes with only the photos that may be shown, and no tour. Show what you get. ## Hidden addresses When a seller asks that the address not be shown, the API returns `address: null`, `addressDisplay: "withheld"` and no coordinates ([hidden addresses](../concepts/hidden-addresses.md)). - Show `addressNotice` in place of the address, or nothing. - **Never rebuild the address from anywhere else:** not in a page title, a URL, a meta tag, structured data, an image caption or a map pin. Use the listing's `slug`, which is made from the city, the state and the `listingKey` only. - Such a listing has no place on a map. It is found by its city, ZIP code, county and place memberships. ## Do not work out what the API leaves out A field that is `null` or absent is one that may not be shown for that listing. Show nothing for it, and never compute a stand-in: - **Coming Soon:** no days on market, no price history, no open houses, no tour. Do not count days yourself, and do not show price changes from before it came on the market. - **Hidden prices, hidden days on market, hidden price history:** some listings come with these null. Leave them blank. - **Estimates and comments:** when a listing's `permissions.avmDisplay` is `false`, show no estimated value for it, from any source, an AI feature included. An estimate is never an "appraisal". When `permissions.consumerComments` is `false`, show no visitor comments or reviews on it. - **Only a Closed listing has a sale.** `price.close`, `closeDate` and the selling office are null for every other status. ## Fresh data, and no copies left behind - **`compliance.lastUpdated` is the time of the last successful data update,** in Eastern time, never the time of the request. Show it as given. - **When `lastUpdated` is `null`, show nothing in its place.** It is `null` when there is no such time to give. On live that does not happen while listings are served. In the sandbox the time is that of its own last change, and it is `null` until the first one has run. Leave the line out then, and still show the copyright line and the accuracy statement. Never write a time of your own, such as the time of the request. - **The 12-hour stop.** If live data could not be refreshed for 12 hours, listing routes answer [`500 data_stale`](../errors/data_stale.md). Show "temporarily unavailable" then, and never a copy you kept. - **A listing that leaves the data must leave your site at once.** A [`listing.removed` notice](../concepts/webhooks.md) names it: delete every copy you stored (a stored page, a database row, an image) and answer `410 Gone` for its page. `404 listing_not_found` on a fetch means the same. - **Keep a stored copy short-lived.** Build each page from the API. If you keep built pages to answer quickly, rebuild them often and never show one that is more than 12 hours old: that is the rule the API itself keeps. See [an SEO-friendly site](seo.md#caching-and-prompt-removal). ## Printouts, shared pages and emails A printed page, a "share this listing" page and a forwarded page carry the same disclosures as the page itself. An email that shows listing content has its own, shorter list: [alert emails](alert-emails.md). ## Try each case on the sandbox The sandbox has a listing for every case above, with a key that never changes ([the list](sandbox.md#listings-that-never-change)): `SBX900000001` (a hidden address), `SBX900000003` (Coming Soon, no photos), `SBX900000004` (Closed with a sale), `SBX900000008` (prices that may not be shown), `SBX900000027` (photos hidden off the market), `SBX900000028` (tour and video links) and `SBX900000030` (days on market that may not be shown). ## Checklist - [ ] `copyright`, `accuracy` and `lastUpdated` on every page with a listing - [ ] `idxSource`, `personalUse` and `availability` on the home page or every search page - [ ] Your brokerage's name on every page with a listing, and the states of licensure for an agent - [ ] The listing office's name on every card; name and phone or email in the top quarter of the detail page - [ ] Closed and Coming Soon labelled from the block, with the Closed statements - [ ] Photos whole (`object-fit: contain`), tours and videos as links - [ ] A hidden address nowhere: not in the page, its title, its URL, its meta tags or its markup - [ ] Nothing computed that the API left out - [ ] `data_stale` and `listing.removed` handled, and no stored copy shown past 12 hours