API Documentation

Everything you need to integrate DruxShield into any stack.

Quickstart

Score any request in under 60 seconds. Get your API key from your dashboard.

curl -X POST https://api.drux.space/v1/score \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ip": "203.0.113.1",
    "user_agent": "Mozilla/5.0...",
    "url": "/checkout"
  }'

That's it. You'll get back a score, bot classification, recommended action, and a plain-English reason — all in under 15ms.

1

Get your key

Create a free account and generate an API key

2

Call the API

Send request metadata to /v1/score

3

Act on the verdict

Block, challenge, or allow based on the response