Arcjet · Concept
Rate limiting
Arcjet rate limiting controls how many requests a client can make to an application or API over time. It supports fixed-window, sliding-window, and token-bucket algorithms, with state managed by Arcjet Cloud.
Last updated
Syntax
arcjet({ key, rules: [tokenBucket({ mode, characteristics, refillRate, interval, capacity })] })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Fixed windowSliding windowToken bucketArcjet Shield WAFBot protectionArcjet Cloud APIRemote rulesAI Budget Control