Reference
Render listing HTML
GET
https://idx.ruuster.com/v1/render/listing/{listingId}publishable or secret key · 1 unit · cached 300 s
Get one listing page as finished, server-rendered HTML in the Ruuster design, with its head tags and JSON-LD.
One listing as a finished HTML container, styled with your brand variables, plus its CSS, head tags and JSON-LD.
What to know
- Insert
htmlexactly as it comes, and puthead.css,head.metaandhead.jsonLdHtmlin your page's head. ctapicks which of your account's calls to action the page shows.- It answers 410 and 404 like
GET /v1/listings/{listingId}. Answer your visitor with the same status.
Path parameters
| Name | Type | Description |
|---|---|---|
listingId |
uuid | The listing's id (a uuid), as id on every listing the API returns. An MLS number is not an id: find it with /v1/suggest groups=listing. |
Query parameters
| Name | Type | Description |
|---|---|---|
detailHref |
string | Override the account's detail URL template for this call: an http(s) URL or a path starting with /, containing {slug} or {id} (also allowed: {mlsNumber}). Drives each listing's href and canonical; a path is made absolute against your site for the canonical, og:url and JSON-LD. At most 500 characters. |
cta |
enum | Which of the account's calls to action the rendered detail includes. Values: primary, secondary, none. |
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 |
|---|---|---|
html |
string | The whole container element (class widget-integrations-listings-search, its data-* options, the rendered markup and the JSON island): insert it verbatim. |
head |
object | Head material. |
head.css |
string | The stylesheet for the container (scoped with :where(), plus the account's --rw-* brand variables): put it in a |