Rate limits
Each API key has two budgets, counted over a minute and shared across every endpoint:
| Budget | A minute | What draws on it |
|---|---|---|
| Reads | 120 | Every GET, and POST/v1/tables/{id}/records/query, which is a read sent as a POST |
| Writes | 60 | Everything else: POST, PUT, PATCH, DELETE |
The two are separate, so a burst of writes does not slow your reads. They are per key, so two keys in the same workspace each get their own. Each endpoint page says which budget it draws on.
These limits are on API keys only, and API calls cost no credits. The pacing of tool calls an AI client makes through a profile is a different thing, covered in the Help centre under Rate limits.
The headers
Every response to a key carries where its budget stands:
| Header | Meaning |
|---|---|
x-ratelimit-limit | The budget this request drew on, a minute |
x-ratelimit-remaining | Requests left in it |
x-ratelimit-reset | Seconds until it refills |
When a budget is spent
The next request answers 429 with the code rate_limited and a Retry-After header, in seconds:
GET /v1/meWait that long and send the same request again. Nothing about the request was wrong, and nothing was changed by the refused call, so a retry is safe.
async function send(request) {
const response = await fetch(request.url, request);
if (response.status !== 429) return response;
const seconds = Number(response.headers.get('retry-after') ?? 5);
await new Promise((resolve) => setTimeout(resolve, seconds * 1000));
return fetch(request.url, request);
}Staying under
- Ask for bigger pages. One request for 200 calls costs the same as one request for 20.
- Write in batches. A table takes many records in one request, and the batch counts as one write.
- Read what you need. POST
/v1/tables/{id}/records/queryfilters and counts on the server, so you do not have to page a table to count it. - Watch
x-ratelimit-remainingin a long job and slow down before it reaches zero, rather than after.