# Limits, units and plans

Source: https://help.ruuster.com/idx/limits

> How units, daily quotas and rate limits work on each plan, what each endpoint costs, which headers tell you where you stand, and how to stay well inside them.

Every key has a daily quota of units and a set of rate limits. The numbers on this page are generated
from the limits the API enforces, so they are always current.

## Units

Each call costs units, by endpoint. Calls answered from the edge cache, and `304 Not Modified` answers
to `If-None-Match`, cost nothing.

| Method | Path | Key | Units | Cache | Page |
|---|---|---|---|---|---|
| GET | /v1/status | no key | free | cached 30 s | https://help.ruuster.com/idx/status |
| GET | /v1/meta | publishable or secret key | free | cached 3600 s | https://help.ruuster.com/idx/meta |
| GET | /v1/filters | publishable or secret key | 1 unit | cached 3600 s | https://help.ruuster.com/idx/filters |
| GET | /v1/filters/options | publishable or secret key | 1 unit | cached 3600 s | https://help.ruuster.com/idx/filters-options |
| GET | /v1/listings | publishable or secret key | 2 units | cached 120 s | https://help.ruuster.com/idx/listings-search |
| GET | /v1/listings/ids | secret key only | 5 units | never cached | https://help.ruuster.com/idx/listings-ids |
| GET | /v1/listings/{listingId} | publishable or secret key | 1 unit | cached 300 s | https://help.ruuster.com/idx/listings-get |
| GET | /v1/listings/{listingId}/photos | publishable or secret key | 1 unit | cached 900 s | https://help.ruuster.com/idx/listings-photos |
| GET | /v1/listings/{listingId}/similar | publishable or secret key | 2 units | cached 600 s | https://help.ruuster.com/idx/listings-similar |
| GET | /v1/listings/{listingId}/history | publishable or secret key | 1 unit | cached 900 s | https://help.ruuster.com/idx/listings-history |
| GET | /v1/agents/{agentMlsId}/production | publishable or secret key | 2 units | cached 3600 s | https://help.ruuster.com/idx/agents-production |
| GET | /v1/suggest | publishable or secret key | 1 unit | cached 3600 s | https://help.ruuster.com/idx/suggest |
| GET | /v1/boundaries/{boundaryId} | publishable or secret key | 1 unit | cached 3600 s | https://help.ruuster.com/idx/boundaries-get |
| GET | /v1/market | publishable or secret key | 2 units | cached 3600 s | https://help.ruuster.com/idx/market |
| GET | /v1/market/snapshot | publishable or secret key | 2 units | cached 3600 s | https://help.ruuster.com/idx/market-snapshot |
| GET | /v1/market/metrics | publishable or secret key | 1 unit | cached 3600 s | https://help.ruuster.com/idx/market-metrics |
| GET | /v1/shapes | publishable or secret key | 1 unit | cached 300 s | https://help.ruuster.com/idx/shapes-list |
| GET | /v1/shapes/{shapeId} | publishable or secret key | 1 unit | cached 600 s | https://help.ruuster.com/idx/shapes-get |
| GET | /v1/collections | publishable or secret key | 1 unit | cached 300 s | https://help.ruuster.com/idx/collections-list |
| GET | /v1/collections/{collectionId} | publishable or secret key | 1 unit | cached 300 s | https://help.ruuster.com/idx/collections-get |
| GET | /v1/collections/{collectionId}/listings | publishable or secret key | 2 units | cached 300 s | https://help.ruuster.com/idx/collections-listings |
| GET | /v1/render/listings | publishable or secret key | 2 units | cached 120 s | https://help.ruuster.com/idx/render-listings |
| GET | /v1/render/listing/{listingId} | publishable or secret key | 1 unit | cached 300 s | https://help.ruuster.com/idx/render-listing |
| GET | /v1/changes | secret key only | 5 units | never cached | https://help.ruuster.com/idx/changes |
| GET | /v1/beacon | publishable or secret key | free | never cached | https://help.ruuster.com/idx/beacon |
| GET | /v1/events | publishable or secret key | free | never cached | https://help.ruuster.com/idx/events |
| GET | /v1/mortgage/estimate | publishable or secret key | free | cached 3600 s | https://help.ruuster.com/idx/mortgage-estimate |
| GET | /v1/usage | secret key only | free | never cached | https://help.ruuster.com/idx/usage |
| GET | /v1/account/billing | secret key only | free | never cached | https://help.ruuster.com/idx/account-billing |
| GET | /v1/public-records/lookup | secret key only | 1 unit | never cached | https://help.ruuster.com/idx/public-records-lookup |
| GET | /v1/public-records/market | secret key only | 1 unit | never cached | https://help.ruuster.com/idx/public-records-market |
| GET | /v1/public-records/{recordId}/history | secret key only | 1 unit | never cached | https://help.ruuster.com/idx/public-records-history |
| GET | /v1/sandbox/public-records/lookup | secret key only | 1 unit | never cached | https://help.ruuster.com/idx/sandbox-public-records-lookup |
| GET | /v1/sandbox/public-records/{recordId}/history | secret key only | 1 unit | never cached | https://help.ruuster.com/idx/sandbox-public-records-history |

To estimate a page's cost, add the units of the calls it makes on a cache miss. A server-rendered page
cached for five minutes makes those calls at most once every five minutes, however many visitors it
has.

## Plans

Your plan's price and how billing works are on [Billing and plans](https://help.ruuster.com/idx/billing-plans).

Your plan sets your daily units and your rate limits, per key and per window. A window is either five
seconds or one minute, and both apply: a burst can hit the five-second window while the minute has room.

Per key, by plan. A call over a window answers 429 `rate_limited` with Retry-After. Daily units reset at midnight America/Chicago.

| Plan | Key | Search | Suggest | Detail | Feed | Daily units |
|---|---|---|---|---|---|---|
| starter | publishable | 35 per 5 s, 300 per minute | 70 per 5 s, 600 per minute | 600 per minute | not available | 50,000 |
| starter | secret | 70 per 5 s, 600 per minute | 70 per 5 s, 600 per minute | 1200 per minute | 60 per minute | 150,000 |
| standard | publishable | 70 per 5 s, 600 per minute | 210 per 5 s, 1800 per minute | 1800 per minute | not available | 150,000 |
| standard | secret | 70 per 5 s, 600 per minute | 210 per 5 s, 1800 per minute | 3600 per minute | 180 per minute | 450,000 |
| pro | publishable | 70 per 5 s, 600 per minute | 700 per 5 s, 6000 per minute | 6000 per minute | not available | 500,000 |
| pro | secret | 70 per 5 s, 600 per minute | 700 per 5 s, 6000 per minute | 12000 per minute | 600 per minute | 1,500,000 |

Per account, for every key together, on top of the limits above. These are the defaults; an account can have its own. A call past one answers 429 and names the limit and when it resets.

| Calls | Each minute | Each day |
|---|---|---|
| Public Records lookups and history (add-on) | 20 | 500 |
| Public Records market figures (add-on) | 10 | 200 |
| Telemetry: /v1/beacon, /v1/events | The key's own limits | 2,000,000 |
| Calls that cost no units: /v1/meta, /v1/mortgage/estimate, /v1/usage, /v1/account/billing | The key's detail limit | 500,000 |

Units per successful call:

- GET /v1/status: 0
- GET /v1/meta: 0
- GET /v1/filters: 1
- GET /v1/filters/options: 1
- GET /v1/listings: 2
- GET /v1/listings/ids: 5
- GET /v1/listings/{listingId}: 1
- GET /v1/listings/{listingId}/photos: 1
- GET /v1/listings/{listingId}/similar: 2
- GET /v1/listings/{listingId}/history: 1
- GET /v1/agents/{agentMlsId}/production: 2
- GET /v1/suggest: 1
- GET /v1/boundaries/{boundaryId}: 1
- GET /v1/market: 2
- GET /v1/market/snapshot: 2
- GET /v1/market/metrics: 1
- GET /v1/shapes: 1
- GET /v1/shapes/{shapeId}: 1
- GET /v1/collections: 1
- GET /v1/collections/{collectionId}: 1
- GET /v1/collections/{collectionId}/listings: 2
- GET /v1/render/listings: 2
- GET /v1/render/listing/{listingId}: 1
- GET /v1/changes: 5
- GET /v1/beacon: 0
- GET /v1/events: 0
- GET /v1/mortgage/estimate: 0
- GET /v1/usage: 0
- GET /v1/account/billing: 0
- GET /v1/public-records/lookup: 1
- GET /v1/public-records/market: 1
- GET /v1/public-records/{recordId}/history: 1
- GET /v1/sandbox/public-records/lookup: 1
- GET /v1/sandbox/public-records/{recordId}/history: 1

- **Daily units** reset at midnight America/Chicago. When they run out, calls answer 429
  `daily_quota_exceeded` until the reset.
- **Rate limits** are per key, and searches also share a ceiling for your whole brokerage across every
  key and the MCP tools. A refused call answers 429 `rate_limited` and names the window it hit.
- **Busy periods.** When the whole service is under heavy load, a search can answer 503
  `source_unavailable`. Treat it like a 429.
- **Calls that cost no units have a daily cap too.** Telemetry calls (`beacon`, `events`) and free
  calls (`meta`, the mortgage estimate) are counted per account per day, in the second table above.
  The caps are far more than a normal site sends. A call past a cap answers 429
  `daily_quota_exceeded`, and the message names the cap and when it resets. `usage` and
  `account/billing` keep answering.
- **Add-ons have their own limits,** per minute and per day for your account, in the second table
  above. [Add-ons](https://help.ruuster.com/idx/add-ons).
- **Sandbox keys have their own, smaller limits:** 1 request a second and 2,000 requests a day for
  each key. [Sandbox and sample data](https://help.ruuster.com/idx/guide-sandbox).
- **Every kind of call has a limit per minute and a cap per day.** Your account can have its own
  numbers in place of the ones on this page. `GET /v1/usage` and **Usage** in your console show the
  ones that apply to you.

Your plan is shown on **Billing** in your console. To ask for higher limits, email
`helpme@ruuster.com`.

## Headers on every answer

| Header | What it tells you |
|---|---|
| `x-ratelimit-limit` | The limit of your tightest window right now |
| `x-ratelimit-remaining` | Calls left in that window |
| `x-ratelimit-reset` | When that window resets, in Unix seconds |
| `x-ratelimit-window` | Which window that is: `5` (seconds) or `60` |
| `x-daily-units-limit`, `x-daily-units-remaining` | On calls that cost units: your key's daily units, and how many are left today |
| `Retry-After` | On a 429 or 503: whole seconds to wait before you try again |
| `x-request-id` | The id to quote to support |

`GET /v1/usage` (secret key) shows each key's quota, what it has used today, and the windows that apply
to it for search, suggest, detail and the feeds. It also shows each add-on's limits and the daily caps
on telemetry and free calls, each with today's count and the reset time.

## Staying well inside the limits

1. **Cache server-rendered pages,** for about five minutes. One render serves every visitor until it
   expires.
2. **Wait for `Retry-After`** on a 429 or 503, plus a little random jitter, and then try once more. In
   server rendering, throw instead, so your cache keeps serving the last good page.
3. **Keep at most four calls in flight per key,** and never prefetch pages in parallel.
4. **Debounce suggest:** wait for three characters and a 300 ms pause, and cancel the call in flight
   when the visitor types again.
5. **Debounce the map:** search 300 ms after the map stops moving, and cancel the call in flight when it
   moves again.
6. **Use the feeds for bulk work.** Build sitemaps from `/v1/listings/ids`, not from searches, and use
   webhooks or `/v1/changes` instead of re-fetching every listing.

The SDK follows rules 2 and 3 for you: it retries a 429 or 503 after `Retry-After` when the wait is
short, and returns the error otherwise.

## Bots and scrapers

A scraper that crawls your search pages spends your units. Cache every server-rendered page, keep
visitor-filtered search pages out of search engines (the API marks them `noindex,follow`), and block
abusive traffic at your host or CDN. Search engines that crawl your cached pages cost you nothing
extra.
