Bot detection API
A bot detection API takes a visitor and returns a verdict — human or bot — with the evidence behind it. The best ones combine layers no single trick can fake.
What a good verdict contains
- A score (0–100) and a coarse band (human / suspicious / automated / known-bot).
- The signals that drove the score, each with its contribution — so the decision is explainable and tunable.
- Network fingerprints (JA4 family), IP intelligence (datacenter/proxy/VPN/Tor), and behavioral evidence.
Integrate in two steps
<!-- 1. tag your page --> <script src="https://detectip.ai/collector.js" data-key="pk_live_..."></script>
// 2. ask for a verdict from your backend
const r = await fetch(
"https://detectip.ai/api/v1/verdict?token=" + token,
{ headers: { "X-API-Key": process.env.DETECTIP_KEY } }
);
const v = await r.json();
if (v.score >= 80) block();
Why explainability matters
Black-box scores are hard to trust and harder to tune. An explainable API lets you see exactly why a request was flagged, set your own threshold per route, and avoid blocking real users.