**1. What is API bot detection?**
API bot detection identifies automated, non-human traffic and stops it before it reaches your services. Bots now make up over a third of internet traffic, and API endpoints attract more of it than web pages. Detection works by inspecting signals like user agents, request shapes, and known probe patterns, then blocking, monitoring, or allowing each request.
**2. Why do APIs attract more bot traffic than web pages?**
APIs attract more bot traffic than web pages because they expose structured, predictable endpoints that automated clients can target directly. With bots making up over a third of internet traffic, unprotected endpoints face constant vulnerability probes and injection attempts. API bot detection filters this automated traffic at the gateway, before it reaches your upstream services.
**3. Can a WAF block bots?**
A WAF does not block bots on its own. WAFs stop application-layer exploits like SQL injection and cross-site scripting, but they let through bots that send valid HTTP requests. Bot detection is a separate layer that identifies automated traffic by its behavior and signals. Use both together: the WAF for exploits, bot detection for automated clients.
**4. What's the difference between bot management and bot blocking?**
Bot blocking simply denies automated requests, usually returning a 403. Bot management is broader: it decides how to handle each request, allowing trusted crawlers, monitoring suspicious traffic, or blocking clear threats. Effective API bot detection combines both, using an allowlist for crawlers like Googlebot while blocking, monitoring, or passing through everything else by rule.
**5. How do you block bots at the API gateway?**
Block bots at the API gateway by enabling detection on your control plane and choosing an action for matched traffic: block, monitor, or passthrough. Start in monitoring mode, which records what would be blocked without touching live traffic. After reviewing the results, switch to block mode so blocked requests return a 403 before reaching your upstream services.
**6. What is Kong Bot Detector for Dedicated Cloud Gateways?**
Kong Bot Detector is a built-in beta capability that identifies and stops bot traffic before it reaches your services. It runs inside Kong Dedicated Cloud Gateways on version 3.10 and later, and you manage it from Kong Konnect, enabled per control plane. It uses two layers: Kong-managed rules and custom rules you write.
**7. What are the two detection layers in Kong Bot Detector?**
Kong Bot Detector uses two layers. Kong-managed rules cover user-agent signals, request-shape signals, vulnerability probes, and injection patterns, with an allowlist that protects trusted crawlers like Googlebot, Bingbot, and ClaudeBot. Custom rules, which you write, take precedence and evaluate first. Basic mode matches on IP, CIDR, JA4 fingerprint, user agent, and path; advanced mode uses Kong Expression Language.
**8. Does blocking bots affect Dedicated Cloud Gateway billing?**
No. Blocked requests return a 403, never reach your upstream services, and do not count toward Dedicated Cloud Gateway usage or billing. Kong Bot Detector is included with Dedicated Cloud Gateways, and detections appear in Konnect analytics. Mode changes propagate to data planes on the next pull cycle, with no restart or redeploy required.