Skip to content
masterclass Buddy

Arcjet · Function

isBot

Arcjet's detectBot rule finds automated clients in Next.js requests. You can allow selected bots, deny selected bots, or block all detected bots with an empty allow list.

Last updated

Syntax

detectBot({ mode?: "LIVE" | "DRY_RUN", allow: Array<ArcjetWellKnownBot | ArcjetBotCategory> })
detectBot({ mode?: "LIVE" | "DRY_RUN", deny: Array<ArcjetWellKnownBot | ArcjetBotCategory> })

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

Subscribe
  • arcjet
  • detectBot
  • decision.isDenied()
  • decision.reason.isBot()
  • decision.results
  • isSpoofedBot
  • isMissingUserAgent
  • Arcjet Filters

Source: Bot protection reference for Next.js | Arcjet Docs. Checked 2026-11-03.