Menu · Reference
Reference

List collections

GEThttps://idx.ruuster.com/v1/collections

publishable or secret key · 1 unit · cached 300 s

List your account's saved collections, such as featured listings or saved area searches, with their ids and saved searches.

View as Markdownopenapi.json

Your saved collections: stored searches and hand-picked sets of listings curated in the Ruuster Platform, each with an id that starts emb_. Use one to feed a featured strip or a curated page. An account that is not on the Ruuster Platform has none, and the list is empty.

What to know

  • The list pages with cursor and limit. Follow nextCursor.
  • Each row's query is its saved search in the parameters /v1/listings takes, and handPicked says whether it lists chosen listings.
  • GET /v1/collections/{collectionId}/listings returns a collection's listings.

Query parameters

Name Type Description
cursor string The nextCursor of the previous page, where an op pages by cursor.
limit integer 1 to 100, default 25 Collections per page.

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
collections array of object
collections[].id string The collection id (emb_…).
collections[].name string Its name.
collections[].query string The saved search in the public grammar (sorted querystring), exactly as /v1/listings takes it.
collections[].handPicked boolean True when the collection lists hand-picked listings; /v1/collections/{id}/listings returns the ones this key can show, in order.
collections[].options object The saved widget display options (the data-* equivalents), known keys only.
collections[].options.hideBackground boolean data-hide-background.
collections[].options.hideSearchbar boolean data-hide-searchbar.
collections[].options.hideButtons boolean data-hide-buttons.
collections[].options.newTab boolean data-new-tab.
collections[].options.forceRegistration boolean Saved for embed mode; API-key mode has no registration.
collections[].options.limit integer data-limit (1 to 1000).
collections[].options.listingsPerPage integer data-listings-per-page (1 to 50).
collections[].options.iframeTopMargin integer data-iframe-top-margin (0 to 999).
collections[].options.registrationPopupAfter integer Saved for embed mode (0 to 100).
collections[].options.customCrmTags string Saved for embed mode; API-key mode sends no CRM events.
collections[].options.menuPlacement string (enum) data-menu-placement. One of bottom, top, auto.
collections[].options.nextButtonPosition string (enum) data-next-button-position. One of left, center, right.
collections[].updatedAt string When it was last saved (ISO).
nextCursor string or null Pass as cursor for the next page; null at the end.

Errors

These are the error codes this endpoint can answer. Every error has the same body; Errors explains each code and what to show.

invalid_cursor, invalid_parameter, secret_key_in_url, invalid_credentials, missing_credentials, payment_required, access_revoked, brokerage_not_enabled, origin_not_allowed, origin_required, secret_key_in_browser, daily_quota_exceeded, rate_limited, internal_error, api_paused, source_unavailable