n8n 2.47.0 Adds Per-Key API Rate Limits for Shared Automation Instances
n8n 2.47.0 introduces configurable public API rate limits per API key, helping administrators isolate excessive traffic on shared automation instances.
Automate AI Search Visibility Audits with n8n and track your website's visibility across AI search engines.
n8n 2.47.0 introduces public API rate limits per API key, giving administrators a built-in way to contain excessive API traffic on a shared automation instance. The feature is available on every plan, including n8n Cloud and self-hosted deployments, and is disabled by default. For teams that expose n8n's public API to multiple internal users, applications, or customers, it creates a clearer boundary: one key that sends too many requests can be limited without automatically disrupting every other user.
As outlined in n8n's official announcement on public API rate limits, the controls are designed for multi-tenant traffic management. Rather than relying solely on operational intervention after an API client behaves unexpectedly, administrators can define request ceilings at the platform level.
The change is particularly relevant where several teams build workflows on the same n8n instance. A workflow, script, or integration making repeated API calls can consume capacity and affect other users. Per-key limits do not eliminate the need to design efficient integrations, but they provide a practical safeguard when an individual client sends more traffic than intended.
How n8n public API rate limits work
The limits apply per API key and per endpoint. n8n tracks read requests separately from write requests, so GET requests have separate counters from POST, PUT, PATCH, and DELETE requests. This distinction matters because read-heavy reporting or monitoring activity can be managed independently of operations that change workflows, credentials, or other resources.
The official default configuration uses a 60-second window:
| Limit type | Read requests | Write requests |
|---|---|---|
| Global limit per API key | 1,200 per 60 seconds | 600 per 60 seconds |
| Endpoint limit per API key | 1,000 per 60 seconds | 500 per 60 seconds |
When a client exceeds an applicable limit, n8n returns an HTTP 429 Too Many Requests response. Its response includes Retry-After and X-RateLimit-* headers, which allow an API client to determine when and how to retry instead of continuing to send requests immediately.
For self-hosted multi-main deployments, n8n shares rate-limit state through Redis. That means the limit is enforced across mains rather than separately on each main. If a key breaches a limit, requests using that key can receive 429 responses across the multi-main setup until the current window ends.
Configuration options and safe retries
Administrators can enable and configure the feature through three supported paths:
- The n8n interface, under Settings, Policies, and Public API Limits.
- The public API, using
GET /api/v1/settings/rate-limitsandPUT /api/v1/settings/rate-limits. The API key used for these calls needs thesecuritySettings:managescope. - Environment variables on self-hosted deployments, beginning with
N8N_PUBLIC_API_RATE_LIMIT_ENABLEDand the relatedN8N_PUBLIC_API_RATE_LIMIT_*variables.
Changes take effect immediately. Because the controls are off by default, existing instances will not begin rejecting requests simply by upgrading to 2.47.0. Administrators need to enable the setting and select limits appropriate to their instance and API usage patterns.
A 429 response should be handled as a temporary throttling signal, not as a reason to blindly repeat a write request. n8n's idempotency-key support, introduced in version 2.45.0, remains relevant here. Idempotency keys can support safe retries for requests where repeating an operation could otherwise create an unintended duplicate action.
What this changes for shared automation teams
The practical benefit is traffic isolation at the API-key level. Teams can issue separate keys to different integrations or users, then apply limits that reduce the chance that one integration's behavior affects everyone sharing the instance. This is useful when an application polls n8n frequently, a script unexpectedly loops, or a customer-facing integration produces a burst of requests.
It also gives administrators a more explicit operational contract for API consumers. API users can build 429 handling into their integrations, while administrators can adjust settings without needing to alter each workflow individually. The limits are not a substitute for monitoring, error handling, or reviewing inefficient API behavior. They are a containment mechanism that can protect other work while the underlying issue is investigated.
For businesses running self-hosted n8n, the environment-variable option can fit managed deployment practices. For Cloud users, the availability on all plans means the control is not limited to a particular subscription tier. n8n has confirmed the feature is available across both deployment models from version 2.47.0.
If shared n8n workflows are becoming critical to daily operations, rate limits are a useful reason to review how API keys, retries, and integrations are configured. Scalevise can help teams design production-ready n8n workflow automation with reliable API connections, error handling, monitoring, and sensible access boundaries. That can reduce manual recovery work when integrations fail or traffic spikes. Discuss an n8n setup project with Scalevise.
Frequently Asked Questions
What are n8n public API rate limits?
They are configurable request caps that apply to each API key and endpoint on an n8n instance. They help prevent one API client from sending excessive traffic that affects other users.
Which n8n versions and plans include public API rate limits?
The feature is available starting with n8n 2.47.0 on all plans, including n8n Cloud and self-hosted deployments. It is disabled by default.
What happens when an n8n API key exceeds its limit?
n8n returns a 429 Too Many Requests response. The response includes Retry-After and X-RateLimit-* headers to help the client handle retries.
How can administrators configure n8n API rate limits?
Administrators can configure them in Settings, Policies, and Public API Limits, through the public API with the securitySettings:manage scope, or with supported self-hosted environment variables.
Conclusion
n8n 2.47.0 gives shared instances a native way to limit public API traffic by key and endpoint. With separate read and write counters, configurable controls, and standard 429 retry guidance, the feature can help administrators contain excessive API use while keeping other automation work available.