Arcjet Example appArcjet Example app

Arcjet bot protection example

This page is protected by Arcjet's bot protection configured to block automated clients.


Try it

Make a request using curl, which is considered an automated client:

curl -v https://example.arcjet.com/bots/test

Your IP will be blocked for 60 seconds.

Bot protection can also be installed in middleware to protect your entire site.


See the code

The API route imports a centralized Arcjet client which sets base rules.


What next?

Want to know more?

Arcjet docs / Join our Discord