Sign in →

Rate Limit Policies

Define multi-tier rate limits scoped per key, app, or customer, with soft (warning) or hard (429) enforcement and optional burst capacity.

Updated 2026-06-15Suggest edits

Rate Limit Policies

Rate Limit Policies (Settings → Rate Limit Policies) define how Aforo throttles API traffic. Each policy targets a scope and stacks one or more time-window tiers.

Policy scope & enforcement

FieldValues
ScopePER_KEY, PER_APP, PER_CUSTOMER
Enforcement modeHARD (reject with HTTP 429) or SOFT (warning header only)

Tiers

A policy stacks multiple windows — for example 100 requests/minute and 5,000 requests/hour:

Tier fieldNotes
Window60s (1 min), 3600s (1 hour), 86400s (1 day)
Max requestsCap within the window
Burst capacityOptional short-term allowance
PriorityOptional ordering

Add tiers with + Add Tier in the create/edit drawer. The KPI strip shows total policies and the split between hard and soft enforcement.

HARD enforcement returns 429 Too Many Requests. SOFT enforcement lets the request through but returns a RateLimit-Remaining header — useful for observing traffic before you start rejecting it.