Reference
Get a listing
GET
https://idx.ruuster.com/v1/listings/{listingId}publishable or secret key · 1 unit · cached 300 s
Get one listing in full, with its photos, open houses, details, compliance object, head tags and JSON-LD, for a listing page.
Everything a listing page needs in one call: the card fields, the description, the client-visible
details grouped by category, every photo, open houses in the listing's time zone, the virtual tour
link, the listing's own compliance object, the page's head tags, jsonLd (a schema.org
RealEstateListing), jsonLdHtml and an ETag.
What to know
- The id is the listing's platform id, a UUID, never the MLS number. Read it from your URL with
parseListingSlug. - Compare the slug. When the slug in your URL differs from
data.slug, answer 301 to the current path. - 410
listing_removedmeans the listing left the market or passed its sold window: answer 410. 404 (not_foundormls_not_in_scope) means answer 404. Off-market and removed listings. detailHrefoverrides your detail-page template for this call'shrefand canonical link.- Revalidate cheaply: send the
ETagback asIf-None-Match. A 304 costs no units. - Hidden addresses come back masked in every field, in the head and in the JSON-LD. Hidden addresses and maps.
customholds your own fields on the listing and its photos, only when customer fields are turned on for your account, and only for your account. Building on our data.- The listing detail recipe builds the whole page.
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. |
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 |
|---|---|---|
id |
string | The listing's platform UUID (the API id). |
slug |
string | Permanent URL slug, {address-slug}-{id}, or {id} when the address is hidden. |
href |
string or null | Your detail URL from the detailHref template; null when none is configured. |
mls |
object | The board the listing comes from; its compliance block is in meta.mls. |
mls.id |
string | The board's MLS id. |
mls.name |
string | The board's name. |
mlsNumber |
string or null | The MLS number as the board prints it. |
status |
string (enum) | Listing status (the public vocabulary). One of active, coming_soon, pending, under_contract, closed. |
statusLabel |
string | Status as the board names it (NWMLS: Contingent). |
price |
number or null | The listing's price: the list price, or the sold price on a closed listing. |
closePrice |
number or null | Sold price (closed listings on boards that show sold); equals price on a closed listing. |
listPrice |
number or null | Original list price when the source carries it. |
closeDate |
string or null | Sold date (closed listings on boards that show sold). |
beds |
number or null | Bedrooms. |
baths |
number or null | Bathrooms. |
sqft |
number or null | Living area, square feet. |
lotAcres |
number or null | Lot size, acres. |
yearBuilt |
number or null | Year built. |
type |
string or null | Property type. |
subtype |
string or null | Residential subtype (house, condo, townhome, co-op, other). |
address |
object | |
address.display |
string | One display line, masked when the address is hidden (NWMLS hidden: empty). |
address.street |
string or null | Street line; null when hidden. |
address.unit |
string or null | Unit; null when hidden. |
address.city |
string or null | City; null when the board hides the city line (NWMLS). |
address.state |
string | State or province code. |
address.postalCode |
string or null | Postal code; null when the board hides it. |
address.hidden |
boolean | The address is hidden: render no street, no exact map pin. |
geo |
object or null | The listing's exact coordinates. null (no coordinates at all, never approximate ones) when the address is hidden or the board doesn't allow maps. |
geo.lat |
number | Latitude. |
geo.lng |
number | Longitude. |
geo.precision |
string (enum) | Always exact today: the listing's own point. approximate is reserved for a coarse public area centroid; a listing point is never shifted or blurred. One of exact, approximate. |
photos |
array of object | Photos in order. |
photos[].url |
string | https URL of the photo. |
photos[].width |
integer or null | Pixels, when known. |
photos[].height |
integer or null | Pixels, when known. |
photos[].order |
integer | 0-based position. |
photos[].alt |
string | Alt text (never the street when the address is hidden). |
photos[].id |
string | A stable id for this photo (the same whichever host serves it). Store your own fields against it. Present only where the account has photo ids turned on. |
photos[].sizes |
array of object | The photo at 480, 800 and 1200 pixels wide (on the photo CDN only; empty elsewhere). Present only with photo ids. |
photos[].sizes[].width |
integer | Pixels wide. |
photos[].sizes[].url |
string | https URL of this size. |
photos[].caption |
string or null | The MLS's own caption for the photo, passed through as plain text; null when the MLS sent none. Present only with photo captions. |
photos[].room |
string or null | The MLS's own room name for the photo; null when the MLS sent none. Present only with photo captions. |
photoCount |
integer | How many photos the listing has. |
openHouses |
array of object | Upcoming public open houses, soonest first. |
openHouses[].start |
string | Start, ISO 8601 with the property's UTC offset. |
openHouses[].end |
string | End, ISO 8601 with the property's UTC offset. |
openHouses[].timeZone |
string or null | IANA zone of the listing, when known. |
openHouses[].kind |
string (enum) | in_person or virtual. One of in_person, virtual. |
openHouses[].remarks |
string or null | Public open-house remarks (agent-only remarks are never sent). |
badges |
array of object | Badges as data (render relative times yourself). |
badges[].kind |
string (enum) | Badge kind. One of new, back_on_market, price_change, coming_soon, open_house, sold. |
badges[].since |
string or null | When the badge started (ISO), when known. |
listedAt |
string or null | On-market date, when known. |
updatedAt |
string | When the listing last changed (ISO). |
modifiedAt |
string or null | When the MLS last changed the listing: its modificationTimestamp (ISO). The date a board's disclaimer states "as of" (MLS compliance). null when the board sent none; absent from older answers. |
attribution |
object | What the board requires you to show with this listing (render it on every card / page). |
attribution.listOfficeName |
string or null | Listing office, for attribution. |
attribution.listAgentName |
string or null | Listing agent, for attribution. |
attribution.contact |
object | Agent / office contact ONLY where the board requires it in attribution. Display only. |
attribution.contact.agentEmail |
string | Listing agent email (board-required attribution). |
attribution.contact.agentPhone |
string | Listing agent phone (board-required attribution). |
attribution.contact.officeEmail |
string | Listing office email (board-required attribution). |
attribution.contact.officePhone |
string | Listing office phone (board-required attribution). |
attribution.line |
string or null | The exact attribution text to render with the listing. |
attribution.courtesy |
string or null | The courtesy line, where the board requires one. |
description |
string or null | Public remarks (withheld where the seller opted out; a hidden street is scrubbed). |
details |
array of object | The client detail sections Ruuster's own detail page shows for this board. |
details[].categoryId |
string | Ruuster's detail category id. |
details[].label |
string | Section heading. |
details[].items |
array of object | |
details[].items[].key |
string | The field key. |
details[].items[].label |
string | The field's label as Ruuster's client detail page prints it. |
details[].items[].value |
string or number or boolean or array of string | The value as displayed. |
virtualTourUrl |
string or null | Virtual tour link, where the board shows it. |
custom |
object | Your account's own fields on this listing and its photos (set by your enrichment hook). Only your account sees them. Present only where custom fields are turned on and you have values. |
custom.listing |
array of object | Your fields on this listing, by key. |
custom.listing[].key |
string | Your field's key. |
custom.listing[].value |
string or number or boolean | The value, of the field's own type (text is plain text within its length). |
custom.photos |
array of object | Your fields on this listing's photos, by photo id and key. |
custom.photos[].photoId |
string | The photo's id (photos[].id). |
custom.photos[].key |
string | Your field's key. |
custom.photos[].value |
string or number or boolean | The value, of the field's own type (text is plain text within its length). |
compliance |
object | Per-listing compliance (G-JSONC). |
compliance.mlsId |
string | The listing's board. |
compliance.attributionLine |
string or null | The attribution text to render with the listing. |
compliance.courtesyLine |
string or null | The courtesy line, where the board requires one. |
compliance.required |
array of object | Each element the board requires, and where it must render. |
compliance.required[].element |
string (enum) | The required element. One of listing_office, listing_agent, agent_contact, mls_logo, disclaimer, as_of, courtesy_line, dmca_notice, source_line. |
compliance.required[].placement |
string (enum) | Where it must render. One of card, detail, page, map. |
compliance.suppressedFields |
array of string | Fields this board suppresses (never sent). |
compliance.asOf |
string | When the data was read (ISO); render 'Data last updated'. |
head |
object | Head tags for the listing's page on your site. |
head.title |
string | |
head.description |
string | Meta description: the first ~155 characters of the public remarks. |
head.canonical |
string or null | Your own detail URL (the detailHref template); null when none is configured. Never a Ruuster URL. |
head.robots |
string | index,follow; noindex for removed or out-of-window sold listings. |
head.og |
object | |
head.og.title |
string | og:title. |
head.og.description |
string | og:description. |
head.og.url |
string or null | og:url (your detail URL). |
head.og.image |
string or null | og:image (the first photo). |
head.og.type |
string (enum) | og:type. One of website. |
head.twitter |
object | |
head.twitter.card |
string (enum) | twitter:card. One of summary_large_image, summary. |
head.twitter.title |
string | twitter:title. |
head.twitter.description |
string | twitter:description. |
head.twitter.image |
string or null | twitter:image. |
jsonLd |
object | schema.org JSON-LD for the listing's page. Serialize it into |