Menu · Reference
Reference

Usage

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

secret key only · free · never cached

See each of your site's keys, their daily quota and what they used today, their rate windows, and requests by day.

View as Markdownopenapi.json

Your site's keys and how they are used: each key's daily quota, units used and remaining and when they reset, the rate windows that apply to it for search, suggest, detail and the feeds, and requests, errors and units by day and by endpoint.

What to know

  • Secret key only, from your server.
  • days is how many days of history to return, today included.
  • addons lists your add-ons with each one's limit per minute and cap per day, how many calls you used today and when the cap resets. Public Records also has market: the separate limits of its market figures. See Add-ons.
  • dailyRequestCaps lists the daily caps on calls that cost no units: telemetry (beacon, events) and free calls (meta, the mortgage estimate), each with today's count for your account and the reset time. A sandbox key has no such caps, so the list is absent.
  • The daily rows are rolled up hourly, so the current hour isn't in them yet; the quota numbers are live.
  • Limits, units and plans.

Query parameters

Name Type Description
days integer 1 to 31, default 7 How many America/Chicago days of usage to return, today included (1 to 31).

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
site object or null
site.id string The site's id (Settings calls it the key id).
site.label string The site's label.
keys array of object Every live key of the calling key's site, the caller first.
keys[].id string The key's id (never the key itself).
keys[].kind string (enum) pk = publishable (browser), sk = secret (server). One of pk, sk.
keys[].hint string The key's last 4 characters.
keys[].status string (enum) rotating = the previous key during a rotation, working until expiresAt. One of active, rotating.
keys[].expiresAt string or null When a rotating key stops working (ISO); null for an active key.
keys[].caller boolean true for the key that made this call.
keys[].quota object Each key of a site has its own daily allowance.
keys[].quota.dailyUnits integer Today's units ceiling in force for this key (plan and overrides).
keys[].quota.used integer Units this key has used today (live: the limiter's own counter).
keys[].quota.remaining integer dailyUnits − used, never below 0.
keys[].quota.resetsAt string The next 00:00 America/Chicago (ISO); the counter starts again then.
keys[].limits object Ceilings in force for this key.
keys[].limits.searchPerMin integer Searches per minute (listings, collection listings, render listings).
keys[].limits.searchPer5s integer Searches per 5 seconds (a second, shorter window on the same calls); 0 = not applied.
keys[].limits.suggestPerMin integer Suggest, filters and filter-option calls per minute.
keys[].limits.suggestPer5s integer Suggest, filters and filter-option calls per 5 seconds; 0 = not applied.
keys[].limits.detailPerMin integer Detail, photos, collections, render listing and meta calls per minute.
keys[].limits.feedPerMin integer Feed calls (listings/ids, changes) per minute; 0 = not available to this key.
keys[].limits.idsPerMin integer listings/ids calls per minute (on top of the feed ceiling); 0 = not available to this key.
keys[].limits.telemetryPerMin integer beacon and events calls per minute.
keys[].limits.perIpPerMin integer Calls per minute from one visitor IP (publishable keys); 0 = not applied.
keys[].limits.dailyUnits integer Units per America/Chicago day (search 2, suggest 1, detail 1, feed 5; meta, telemetry and usage cost 0).
keys[].rateWindows object The windows that bind this key per kind of call: its own ceilings with its brokerage's shared search ceiling folded in. The per-visitor-IP and Ruuster-wide ceilings are not listed.
keys[].rateWindows.search object The sliding windows that bind this key for listings, collection listings and render listings (this key and its brokerage's shared search ceiling, the lower one). A refusal is 429 rate_limited with Retry-After (whole seconds); answers carry x-ratelimit-limit, -remaining and -reset for the tightest window and x-ratelimit-window (5 or 60) saying which.
keys[].rateWindows.search.per5Seconds integer or null Calls per 5 seconds; null = no 5-second window for these calls.
keys[].rateWindows.search.perMinute integer Calls per minute; 0 = these calls aren't available to this key.
keys[].rateWindows.suggest object The sliding windows that bind this key for suggest, filters and filter options. A refusal is 429 rate_limited with Retry-After (whole seconds); answers carry x-ratelimit-limit, -remaining and -reset for the tightest window and x-ratelimit-window (5 or 60) saying which.
keys[].rateWindows.suggest.per5Seconds integer or null Calls per 5 seconds; null = no 5-second window for these calls.
keys[].rateWindows.suggest.perMinute integer Calls per minute; 0 = these calls aren't available to this key.
keys[].rateWindows.detail object The sliding windows that bind this key for listing detail, photos, collections, render listing and meta. A refusal is 429 rate_limited with Retry-After (whole seconds); answers carry x-ratelimit-limit, -remaining and -reset for the tightest window and x-ratelimit-window (5 or 60) saying which.
keys[].rateWindows.detail.per5Seconds integer or null Calls per 5 seconds; null = no 5-second window for these calls.
keys[].rateWindows.detail.perMinute integer Calls per minute; 0 = these calls aren't available to this key.
keys[].rateWindows.feed object The sliding windows that bind this key for listings/ids and changes. A refusal is 429 rate_limited with Retry-After (whole seconds); answers carry x-ratelimit-limit, -remaining and -reset for the tightest window and x-ratelimit-window (5 or 60) saying which.
keys[].rateWindows.feed.per5Seconds integer or null Calls per 5 seconds; null = no 5-second window for these calls.
keys[].rateWindows.feed.perMinute integer Calls per minute; 0 = these calls aren't available to this key.
addons array of object Your account's add-ons, each with its per-minute limit, its daily cap, the calls counted today and the reset time.
addons[].key string The add-on's key.
addons[].name string The add-on's name.
addons[].enabled boolean true while the add-on is on for your account.
addons[].perMinute integer Calls per minute to the add-on's endpoints.
addons[].daily object The add-on's daily cap. A call past it answers 429 naming the limit and this reset time.
addons[].daily.limit integer Calls per America/Chicago day.
addons[].daily.used integer Calls counted today.
addons[].daily.remaining integer limit minus used.
addons[].daily.resetsAt string Next 00:00 America/Chicago (ISO).
addons[].market object Public Records only: GET /v1/public-records/market counts against its own, smaller limits. Absent on other add-ons.
addons[].market.perMinute integer Calls per minute to the market figures.
addons[].market.daily object The market figures' daily cap.
addons[].market.daily.limit integer Calls per America/Chicago day.
addons[].market.daily.used integer Calls counted today.
addons[].market.daily.remaining integer limit minus used.
addons[].market.daily.resetsAt string Next 00:00 America/Chicago (ISO).
dailyRequestCaps array of object The daily request caps on calls that cost no units (telemetry and free), per account. Absent for a sandbox key (its own daily request count covers every call).
dailyRequestCaps[].opClass string (enum) telemetry = beacon and events; free = meta, the mortgage estimate, usage and billing (calls that cost no units). One of telemetry, free.
dailyRequestCaps[].limit integer Requests per America/Chicago day for your account.
dailyRequestCaps[].used integer Requests counted today.
dailyRequestCaps[].remaining integer limit minus used, never below 0.
dailyRequestCaps[].resetsAt string Next 00:00 America/Chicago (ISO).
days array of object Oldest day first; days with no logged request are absent. Hourly rollup: the current hour is not in it yet.
days[].day string The America/Chicago day (YYYY-MM-DD).
days[].keyId string Which key (keys[].id).
days[].requests integer Requests Ruuster logged: every call of listings, listings/{id}, photos, listings/ids, changes, collections, collections/{id}/listings and render, and every error of any endpoint. Successful meta, filters, filters/options, suggest, collections/{id}, beacon, events, status and usage calls are logged only when slow (quota.used still counts the units they cost), and answers served from the CDN cache never reach Ruuster.
days[].errors integer Of those, answers with a 4xx or 5xx status.
days[].rateLimited integer Of those, 429 answers (rate_limited or daily_quota_exceeded).
days[].units integer Units charged on the logged requests (quota.used is the authoritative daily total).
days[].byOp object Logged requests per endpoint (op id) that day; endpoints with none are absent.
days[].byOp.status integer
days[].byOp.meta integer
days[].byOp.filters integer
days[].byOp.filters.options integer
days[].byOp.listings.search integer
days[].byOp.listings.ids integer
days[].byOp.listings.get integer
days[].byOp.listings.photos integer
days[].byOp.listings.similar integer
days[].byOp.listings.history integer
days[].byOp.agents.production integer
days[].byOp.suggest integer
days[].byOp.boundaries.get integer
days[].byOp.market integer
days[].byOp.market.snapshot integer
days[].byOp.market.metrics integer
days[].byOp.shapes.list integer
days[].byOp.shapes.get integer
days[].byOp.collections.list integer
days[].byOp.collections.get integer
days[].byOp.collections.listings integer
days[].byOp.render.listings integer
days[].byOp.render.listing integer
days[].byOp.changes integer
days[].byOp.beacon integer
days[].byOp.events integer
days[].byOp.mortgage.estimate integer
days[].byOp.usage integer
days[].byOp.account.billing integer
days[].byOp.publicRecords.lookup integer
days[].byOp.publicRecords.market integer
days[].byOp.publicRecords.history integer
days[].byOp.sandbox.publicRecords.lookup integer
days[].byOp.sandbox.publicRecords.history integer
totals object The sums of days.
totals.requests integer Requests Ruuster logged: every call of listings, listings/{id}, photos, listings/ids, changes, collections, collections/{id}/listings and render, and every error of any endpoint. Successful meta, filters, filters/options, suggest, collections/{id}, beacon, events, status and usage calls are logged only when slow (quota.used still counts the units they cost), and answers served from the CDN cache never reach Ruuster.
totals.errors integer
totals.rateLimited integer
totals.units integer
rolledUpThrough string or null The end of the last hour the rollup has counted (ISO, exclusive); null before the first rollup.

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_parameter, secret_key_in_url, invalid_credentials, missing_credentials, access_revoked, brokerage_not_enabled, secret_key_in_browser, secret_key_required, internal_error, api_paused, source_unavailable