Reference
A collection's listings
GET
https://idx.ruuster.com/v1/collections/{collectionId}/listingspublishable or secret key · 2 units · cached 300 s
Get a saved collection's listings as a page of cards, with the same SEO block and compliance blocks as a search.
The listings of one collection, as a page of cards: a saved search's current matches, or a
hand-picked set in its saved order. The answer has the same shape as a search, with head, jsonLd,
jsonLdHtml and meta.mls.
What to know
sort,page,limitandviewwork as they do on search.pageHrefandindexableset the page's canonical link and robots value.- A hand-picked listing that left the market, or that your boards no longer allow, is left out.
- The featured listings strip recipe uses it.
Path parameters
| Name | Type | Description |
|---|---|---|
collectionId |
string | A collection id (emb_…), from /v1/collections. |
Query parameters
| Name | Type | Description |
|---|---|---|
sort |
enum, default recommended | Result order. close_date_desc is for sold searches; newest = first on market, newest first (listings without a listing date last). Values: recommended, featured, price_reduced, oldest, price_desc, price_asc, beds_desc, sqft_desc, lot_desc, baths_desc, close_date_desc, newest. |
page |
integer 1 to 40, default 1 | Page number, from 1 (at most 40; page × limit at most 2,000). |
limit |
integer 1 to 50, default 10 | Results per page (1 to 50, default 10). view=map: 1 to 200, default 200; format=widget maps always get 200. |
cursor |
string | The nextCursor of the previous page, where an op pages by cursor. |
view |
enum, default card | card = listing cards; full = cards plus the client detail fields; map = map pins (up to 200, page 1; listings that can't be placed exactly are left out). Values: card, full, map. |
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. |
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. |
pageHref |
string | Your own URL for this results page, without paging: an http(s) URL or a path starting with /. A path is made absolute against your site's origin. The answer's head.canonical and og:url are this URL (page 2 and later add ?page=N), and it is the last item of the BreadcrumbList. It changes no results. At most 500 characters. |
indexable |
boolean (1 or 0) | Sets head.robots for this results page: 1 gives index,follow and 0 gives noindex,follow. Without it, a page whose filters a visitor picked (price, beds, baths, size, year, type, keywords and the other filters beyond location, status and sort) gets noindex,follow and every other page gets index,follow. It changes no results. |
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 |
|---|---|---|
listings |
array of object | Cards (view=card), full records (view=full) or pins (view=map). |
listings[].id |
string | The listing's platform UUID (the API id). |
listings[].slug |
string | Permanent URL slug, {address-slug}-{id}, or {id} when the address is hidden. |
listings[].href |
string or null | Your detail URL from the detailHref template; null when none is configured. |
listings[].mls |
object | The board the listing comes from; its compliance block is in meta.mls. |
listings[].mls.id |
string | The board's MLS id. |
listings[].mls.name |
string | The board's name. |
listings[].mlsNumber |
string or null | The MLS number as the board prints it. |
listings[].status |
string (enum) | Listing status (the public vocabulary). One of active, coming_soon, pending, under_contract, closed. |
listings[].statusLabel |
string | Status as the board names it (NWMLS: Contingent). |
listings[].price |
number or null | The listing's price: the list price, or the sold price on a closed listing. |
listings[].closePrice |
number or null | Sold price (closed listings on boards that show sold); equals price on a closed listing. |
listings[].listPrice |
number or null | Original list price when the source carries it. |
listings[].closeDate |
string or null | Sold date (closed listings on boards that show sold). |
listings[].beds |
number or null | Bedrooms. |
listings[].baths |
number or null | Bathrooms. |
listings[].sqft |
number or null | Living area, square feet. |
listings[].lotAcres |
number or null | Lot size, acres. |
listings[].yearBuilt |
number or null | Year built. |
listings[].type |
string or null | Property type. |
listings[].subtype |
string or null | Residential subtype (house, condo, townhome, co-op, other). |
listings[].address |
object | |
listings[].address.display |
string | One display line, masked when the address is hidden (NWMLS hidden: empty). |
listings[].address.street |
string or null | Street line; null when hidden. |
listings[].address.unit |
string or null | Unit; null when hidden. |
listings[].address.city |
string or null | City; null when the board hides the city line (NWMLS). |
listings[].address.state |
string | State or province code. |
listings[].address.postalCode |
string or null | Postal code; null when the board hides it. |
listings[].address.hidden |
boolean | The address is hidden: render no street, no exact map pin. |
listings[].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. |
listings[].geo.lat |
number | Latitude. |
listings[].geo.lng |
number | Longitude. |
listings[].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. |
listings[].photos |
array of object | Photos in order. |
listings[].photos[].url |
string | https URL of the photo. |
listings[].photos[].width |
integer or null | Pixels, when known. |
listings[].photos[].height |
integer or null | Pixels, when known. |
listings[].photos[].order |
integer | 0-based position. |
listings[].photos[].alt |
string | Alt text (never the street when the address is hidden). |
listings[].photoCount |
integer | How many photos the listing has. |
listings[].openHouses |
array of object | Upcoming public open houses, soonest first. |
listings[].openHouses[].start |
string | Start, ISO 8601 with the property's UTC offset. |
listings[].openHouses[].end |
string | End, ISO 8601 with the property's UTC offset. |
listings[].openHouses[].timeZone |
string or null | IANA zone of the listing, when known. |
listings[].openHouses[].kind |
string (enum) | in_person or virtual. One of in_person, virtual. |
listings[].openHouses[].remarks |
string or null | Public open-house remarks (agent-only remarks are never sent). |
listings[].badges |
array of object | Badges as data (render relative times yourself). |
listings[].badges[].kind |
string (enum) | Badge kind. One of new, back_on_market, price_change, coming_soon, open_house, sold. |
listings[].badges[].since |
string or null | When the badge started (ISO), when known. |
listings[].listedAt |
string or null | On-market date, when known. |
listings[].updatedAt |
string | When the listing last changed (ISO). |
listings[].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. |
listings[].attribution |
object | What the board requires you to show with this listing (render it on every card / page). |
listings[].attribution.listOfficeName |
string or null | Listing office, for attribution. |
listings[].attribution.listAgentName |
string or null | Listing agent, for attribution. |
listings[].attribution.contact |
object | Agent / office contact ONLY where the board requires it in attribution. Display only. |
listings[].attribution.contact.agentEmail |
string | Listing agent email (board-required attribution). |
listings[].attribution.contact.agentPhone |
string | Listing agent phone (board-required attribution). |
listings[].attribution.contact.officeEmail |
string | Listing office email (board-required attribution). |
listings[].attribution.contact.officePhone |
string | Listing office phone (board-required attribution). |
listings[].attribution.line |
string or null | The exact attribution text to render with the listing. |
listings[].attribution.courtesy |
string or null | The courtesy line, where the board requires one. |
listings[].description |
string or null | Public remarks (withheld where the seller opted out; a hidden street is scrubbed). |
listings[].details |
array of object | The client detail sections Ruuster's own detail page shows for this board. |
listings[].details[].categoryId |
string | Ruuster's detail category id. |
listings[].details[].label |
string | Section heading. |
listings[].details[].items |
array of object | |
listings[].details[].items[].key |
string | The field key. |
listings[].details[].items[].label |
string | The field's label as Ruuster's client detail page prints it. |
listings[].details[].items[].value |
string or number or boolean or array of string | The value as displayed. |
listings[].virtualTourUrl |
string or null | Virtual tour link, where the board shows it. |
total |
integer | Number of listings matching the search. A page can hold fewer rows than limit: one home listed on several of your MLSs is shown once, and each page shows the listings your MLSs let it display. |
page |
integer | This page (1-based). |
limit |
integer | Page size. |
nextCursor |
string or null | Always null until cursor paging ships (use page and limit). |
viewport |
object or null | The search area's box (feed it back as bbox to keep the map where it was); null when the search has none. |
viewport.south |
number | South latitude. |
viewport.west |
number | West longitude. |
viewport.north |
number | North latitude. |
viewport.east |
number | East longitude. |
viewportSource |
string (enum) or null | Where viewport came from: boundary (a boundary pick's own box), library (the place, city, state or ZIP's box), drawn (your bbox or polygon), shape (your saved shape's box), results (the records' extent); null when the search has none (fit the pins). One of boundary, library, drawn, results, shape. |
boundary |
object or null | The boundary, place or saved shape this search picked, when it has an outline; null otherwise. |
boundary.id |
string | The boundary or place id (as /v1/suggest returns it), or the saved shape id (shp_…). |
boundary.href |
string | GET this URL (same key) for the outline: GeoJSON geometry and its box. |
head |
object | Head tags for this results page on your site (use them as they are, or through the SDK's toMetadata). |
head.title |
string | |
head.description |
string | Meta description: how many homes, where, and the date the data was read. |
head.canonical |
string or null | Your own URL for this page from pageHref (page 2 and later add ?page=N), made absolute with your site's origin; null without pageHref. |
head.robots |
string | index,follow, or noindex,follow for a page whose filters a visitor picked (indexable overrides it). |
head.og |
object | |
head.og.title |
string | og:title. |
head.og.description |
string | og:description. |
head.og.url |
string or null | og:url (the absolute canonical URL); null without one. |
head.og.image |
string or null | og:image (the first listing's first photo); null when there is none. |
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 |
array of object | The page's JSON-LD as data: an ItemList of the listings that have your detail URL, and a BreadcrumbList when pageHref gives an absolute URL. To put it in your page use jsonLdHtml. |
jsonLd[].@context |
string (enum) | schema.org. One of https://schema.org. |
jsonLd[].@type |
string (enum) | ItemList. One of ItemList. |
jsonLd[].name |
string | What the list shows (the title's first part). |
jsonLd[].numberOfItems |
integer | Listings on this page. |
jsonLd[].itemListElement |
array of object | One item per listing that has your detail URL, in page order. Positions continue across pages (page 3 of 12 starts at 25). |
jsonLd[].itemListElement[].@type |
string (enum) | ListItem. One of ListItem. |
jsonLd[].itemListElement[].position |
integer | 1-based position across pages. |
jsonLd[].itemListElement[].url |
string | The listing's absolute detail URL on your site. |
jsonLd[].itemListElement[].name |
string | The crumb's text. |
jsonLd[].itemListElement[].item |
string | The crumb's absolute URL. |
jsonLdHtml |
string | The same JSON-LD as ready-to-insert |