Skip to content

Rate limits

Every authenticated /v1/* route has a quota. It is per credential, never shared between clients.

Measured in 60-second windows.

Bucket Quota per minute Burst Applies to
Write 60 10 Routes that write (POST, PATCH, PUT, DELETE), per OAuth grant. Site ck_ key: 60 per minute per key, in its own bucket.
Read 600 60 on a grant; 30 on a ck_ key Read routes, per OAuth grant (burst 60) or per ck_ key on GET /v1/posts and GET /v1/posts/{ref} (burst 30).
App 6000 200 OAuth only: sum of all grants of the same app.

An OAuth call spends from the route bucket and the app bucket. Exceeding either is a 429.

Burst is the most units a single charge, or an unpaused sequence, can spend at once. A request that costs more than the burst never passes, even with quota left. That is why a grant’s read burst is 60: a 50-post batch fits (see below).

ck_ keys talk to more than one bucket, depending on the route: the site key’s bucket is 60 per minute, in memory, and applies to routes that go through the common authentication (writes and the v2 reads such as batch-read). A company (team) key has a single bucket of 600 per minute with burst 100, shared by reads, writes and multi-site queries. The RateLimit-Policy header shows which bucket actually applied.

A burst spends the same quota: 60 writes in 5 seconds exhaust the bucket until the window renews. Unused quota does not accumulate. Spread calls across the window and use RateLimit to see what still fits.

POST /v1/posts/batch-read and POST /v1/sites/{site}/posts/batch-read charge 1 read unit per distinct ref: a 50-ref batch costs 50 units, not 1. Repeated refs are free. Charging happens before reading; if the quota does not cover the batch, it is a 429 and nothing is read. Details in Batch reads.

IETF httpapi-ratelimit-headers draft format, on authenticated /v1/* responses (ck_ key and cvt_ token) when the value is known.

RateLimit-Policy: "leitura";q=600;w=60
RateLimit: "leitura";r=587;t=12
Field Meaning
RateLimit-Policy q Window quota.
RateLimit-Policy w Window size in seconds.
RateLimit r Calls that still fit now.
RateLimit t Seconds until the window renews.

The quoted name is the bucket that actually applied to the route you called: "leitura" (read), "escrita" (write), "chave" (the site key’s 60/min bucket), "equipe" (company key), "app" or "leads" (10/min, contact reads). With OAuth there are two entries, the route’s and the app’s:

RateLimit-Policy: "escrita";q=60;w=60, "app";q=6000;w=60
RateLimit: "escrita";r=41;t=33, "app";r=5120;t=33

For browser use (public reads with CORS) both headers are exposed in Access-Control-Expose-Headers.

The API returns 429 with the error envelope (rate_limited) and Retry-After in seconds:

HTTP/1.1 429 Too Many Requests
Retry-After: 18

Your client should:

  1. Wait at least Retry-After seconds. Never retry sooner.
  2. Without Retry-After, use exponential backoff with jitter starting at 1 s.
  3. In long jobs, read RateLimit on each response and slow down before r=0.
  4. Serialize writes per grant: 60 per minute is little for parallelism.
  5. When retrying a write after 429 or 5xx, resend the same Idempotency-Key so the effect is not duplicated.
  6. In read batches, count the per-item cost: 50 refs spend 50 units.

See also Idempotency, Batch reads, Errors and rate limits and 429 handling in Connect Canverly.