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://t-3400973257---aj-fb-test-1-vviy4oxkeq-uk.a.run.app/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.