Skip to content
masterclass Buddy

Arcjet · Function

fixedWindow

fixedWindow limits each client to a maximum number of requests in a fixed time window. After the limit is reached, further requests are blocked until the window ends.

Last updated

Syntax

fixedWindow({ mode?: "LIVE" | "DRY_RUN", characteristics?: string[], window: string | number, max: number })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • slidingWindow
  • tokenBucket
  • characteristics
  • mode
  • window
  • max

Source: Arcjet rate limiting algorithms. Checked 2026-11-03.