# Limits and quotas

> Units, rate limits and every plan’s quotas and paging depth.

Source: https://platform.kite.sa/docs/guides/limits

Every request costs **units** (shown in `X-Request-Units`, and as `x-units` on each endpoint in this reference):

One unit is one record.

- List endpoints (listing search, project lists): 1 unit per result returned, and 1 for an empty page. A page of 100 that returns 40 results costs 40.
- Listing batch: 1 unit per id.
- Single resources (a listing, its price history, a project) and listing counts: 1 unit.
- Market statistics (the /market endpoints), a listing's market position and its price band: 50 units.
- Comparables, rental yield, trends and neighborhood comparison: 75 units.
- Deals: 2 units per result returned.
- Reference data, government open data and transactions: free.

A list endpoint is charged on what it returns. The page you ask for with `limit` (up to your plan's page size) is held against your quota while the request runs, and counts toward the per-minute rate limit; when the answer is ready you are charged for the results in it and the rest is returned. `X-Request-Units` and `X-Quota-Remaining` show the charge. A request needs room in the quota for the page it asks for.

Your plan sets:

- **Rate limit:** units per minute. Headers: `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` (seconds).
- **Monthly quota:** units per calendar month (UTC). Headers: `X-Quota-Limit`, `X-Quota-Remaining`, `X-Quota-Reset`.
- **Page size:** the largest `limit` you can request.
- **Paging depth:** how many results of a single query you can page through. Past it you get `result_window_exceeded`; narrow the query, or sync with `updated_since`.

| Plan | Units / minute | Units / month | Page size | Paging depth | Active keys |
| --- | --- | --- | --- | --- | --- |
| Sandbox | 300 | 1,000 | 25 | 500 | 5 |
| Starter | 600 | 25,000 | 50 | 5,000 | 25 |
| Growth | 1,500 | 150,000 | 100 | 5,000 | 25 |
| Pro | 3,000 | 600,000 | 100 | 20,000 | 25 |

**APIs by plan.** Sandbox can try every self-serve API below within its monthly units, to evaluate before you buy. Among paid plans, Starter has listings, reference data, market statistics and, for a listing, its comparables, market position and price band. Growth adds rental yield, trends, neighborhood comparison and below-market listings. Pro adds off-plan projects. Enterprise adds bulk exports of listing data (`POST /exports`). An advertiser's contact details (`GET /listings/{id}/contact`) are in no plan; we enable them for an organization on request. A call to an API your plan doesn't include returns `403 scope_not_in_plan`. When a self-serve plan includes it, `details.upgrade_plan` names that plan and `details.upgrade_url` links to it; for exports and contact details there is no `upgrade_plan`, and the message says whom to contact.

Prices: Sandbox is free and needs no card. Starter is SAR 399 a month, Growth SAR 1,499 and Pro SAR 4,799. Every paid plan can also be billed annually, for less: Starter SAR 3,948 a year, Growth SAR 14,988 and Pro SAR 47,988. Prices exclude 15% VAT; Saudi businesses account for it under the reverse charge. Enterprise starts at SAR 60,000 a year.

**Trial.** Starter and Growth each come with a 7-day trial of that plan: its APIs, up to 20,000 units. It needs a card, which is checked with your bank but not charged until the trial ends; it then continues as that plan, billed monthly or yearly as you chose when you started it (Starter: SAR 399 a month or SAR 3,948 a year; Growth: SAR 1,499 a month or SAR 14,988 a year), unless you cancel, and cancelling returns you to Sandbox. Until it ends you can switch between the Starter and Growth trials, and between monthly and yearly billing. We email you before the first charge. Each person and each card can start one trial.

Enterprise plans set these individually. Your own are on the Plan page in the dashboard, and `GET /limits` returns them to the key making the call — it costs no units, so read it at start-up rather than hard-coding a page size, and the same code works on every plan. A `limit` above your page size is refused with `400 invalid_value` (`param: limit`); `details.max_page_size` gives your page size and, where a self-serve plan allows the size you asked for, `details.upgrade_plan` and `details.upgrade_url` name it.

**Extra usage.** On any paid subscription (Starter, Growth or Pro), requests past the monthly quota keep working and are billed per 1,000 units at the end of the billing period (SAR 20 on Starter, 12 on Growth, 8 on Pro), up to the monthly spend cap an owner sets on the Billing page. At the cap you get `429 spend_cap_reached` until the quota resets. With a cap of 0, the quota is a hard limit (`429 monthly_quota_exceeded`).

Over a limit you get `429` with a `Retry-After` header. Wait that many seconds, then retry. Requests that fail (4xx, 5xx, and 429s) don't count toward your monthly quota.
