Skip to content
All news

n8n adds per API key rate limits to its public API, so one runaway workflow no longer blocks every team on the instance

n8n now lets admins cap how many public API requests each API key can make, so a runaway workflow hits its own key's limit instead of blocking other teams on the same instance. n8n notes that a node runs once per item, so a list of 1,000 items sends about 1,000 requests at once. The feature is available from n8n 2.47.0 on every plan, on n8n Cloud and self-hosted. Reads and writes get separate limits, across all endpoints or per endpoint. A client that reaches a limit gets a 429 response with Retry-After and rate-limit headers showing how many requests are left. Rate limiting is off by default and can be turned on in settings, through the API, or with environment variables on self-hosted instances. In multi-main setups the count is shared through Redis. n8n pairs this with idempotency keys (since 2.45.0): a successful POST sent with an Idempotency-Key is stored for 12 hours, and a retry with the same key gets the stored response instead of creating a duplicate. For workflows that call their own instance's API, n8n recommends turning on Batching in the node.

Otomatzia editorial · Published

Source published: · n8n

Several API keys, each held to its own rate limit, in front of an n8n instance shared by multiple teams. Conceptual illustration.
Original Otomatzia editorial diagram. Conceptual illustration, not a product screenshot.

How do you apply this in a business?