Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

BotD

> 测试质量
Open source

Free bot detection library that runs in the browser. Detects automation tools and frameworks. No server required, runs 100% on the client. MIT license, no usage

1.4K stars0 likes0 views
WebsiteGitHub

About

Free bot detection library that runs in the browser. Detects automation tools and frameworks. No server required, runs 100% on the client. MIT license, no usage

</picture>

BotD

BotD is an open source library that we created to make it easy for every developer to detect basic bots in their web apps.

It is available under a permissive MIT license and will always be free for developers and commercial use.

Maintenance Status

We keep the open-source BotD package healthy with timely critical fixes and regressions addressed as fast as possible. That said, the near-term roadmap is stability-only, so new features are unlikely to land soon. Please plan accordingly if you depend on upcoming enhancements.

For more demanding applications we created a professional API-based bot detection software that is called Fingerprint Pro Bot Detection.

⚡ View Our Demo

Quick start

CDN

xml
<script>
    // Initialize an agent at application startup, once per page/app.
    const botdPromise = import('https://openfpcdn.io/botd/v2').then((Botd) => Botd.load())
    // Get detection results when you need them.
    botdPromise
        .then((botd) => botd.detect())
        .then((result) => console.log(result))
        .catch((error) => console.error(error))
</script>

Run this code

NPM

bash
npm i @fingerprintjs/botd
# or
yarn add @fingerprintjs/botd
javascript
import { load } from '@fingerprintjs/botd'

// Initialize an agent at application startup, once per page/app.
const botdPromise = load()
// Get detection results when you need them.
botdPromise
    .then((botd) => botd.detect())
    .then((result) => console.log(result))
    .catch((error) => console.error(error))

Run this code

Full documentation

Upgrade to Fingerprint Bot Detection to detect sophisticated bots with confidence.

Fingerprint Bot Detection API is a professional bot detection API service that processes all information server-side and transmits it securely to your servers.

Fingerprint Bot Detection API provides both browser and server-side APIs that make the process of bot detection fast and secure. When using the Bot Detection, use the browser JavaScript SDK to detect browser automation tools and server-side Automation Intelligence API to detect more bot bot types, such as AI agents, AI assistants, and AI/LLM crawlers.

The commercial product combines vast amounts of auxiliary data that bots expose (network properties, browser overrides) to be able to reliably deduplicate real users from automated software, resulting in the detection of popular AI tools, browser automation tools, their derivatives and plugins.

A big advantage of the paid product is that it's able to distinguish good bots from bad ones that allow you to block malicious traffic without blocking search engine crawlers, monitoring workers, etc.

Full product comparison:

<tr><td colspan="3"><h4>Detectable stealth plugins</h4></td></tr>
<tr><td><b><a href="https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra-plugin-stealth">berstend/puppeteer-extra/packages/puppeteer-extra-plugin-stealth</a></b><br/><i>plugin for puppeteer-extra to prevent detection.</i></td><td align="center">-</td><td align="center">✓</td></tr>
<tr><td><b><a href="https://github.com/microlinkhq/browserless">microlinkhq/browserless</a></b><br/><i>efficient driver for controlling headless browsers built on top of <a href="https://github.com/puppeteer/puppeteer">puppeteer</a> developed for scenarios where performance matters</i></td><td align="center">-</td><td align="center">✓</td></tr>
<tr><td><b><a href="https://github.com/ultrafunkamsterdam/undetected-chromedriver">ultrafunkamsterdam/undetected-chromedriver</a></b><br/><i>optimized Selenium Chromedriver patch which does not trigger anti-bot services</i></td><td align="center">-</td><td align="center">✓</td></tr>
<tr><td><b><a href="https://github.com/MeiK2333/pyppeteer_stealth">MeiK2333/pyppeteer_stealth</a></b><br/><i>stealth plugin for <a href="https://github.com/miyakogi/pyppeteer">pyppeteer</a></i></td><td align="center">-</td><td align="center">✓</td></tr>


<tr><td colspan="3"><h4>Additional Features</h4></td></tr>
<tr><td><b>Requires JavaScript</b><br/><i>Requires a JavaScript library to detect bots</i></td><td align="center">yes</td><td align="center">no</td></tr>
<tr><td><b>Server-side accuracy increase</b><br/><i>based on additional server-side data, such as TLS crypto support, ipv4/v6 data and others</i></td><td align="center">–</td><td align="center">✓</td></tr>
<tr><td><b>Query API</b><br/><i>build flexible workflows</i></td><td align="center">–</td><td align="center">✓</td></tr>

<tr><td colspan="3"><h4>Operations</h4></td></tr>
<tr><td><b>Data security</b></td><td align="center">Your infrastructure</td><td align="center">Encrypted at rest</td></tr>
<tr><td><b>Storage</b></td><td align="center">Your infrastructure</td><td align="center">Unlimited up to 1 yr</td></tr>
<tr><td><b>Regions</b></td><td align="center">Your infrastructure</td><td align="center">Hosting in US, EU and Mumbai</td></tr>
<tr><td><b>Compliance</b></td><td align="center">Your infrastructure</td><td align="center">GDPR, CCPA compliant<sup>1</sup></td></tr>
<tr><td><b>SLA</b></td><td align="center">No SLA</td><td align="center">99.9% Uptime</td></tr>
<tr><td><b>Support</b></td><td align="center">GitHub community</td><td align="center">Support team via email, chat, and call-back within 1 business day</td></tr>
Open Source Library Bot Detection API

Core Features

100% open sourceyesno
AI Agent Detection
OpenAI, Manus, AWS AgentCore
–✓
AI Assistant Detection
ChatGPT, Anthropic, Google Gemini
–✓
Web Bot Auth support
Detect verified, signed, and spoofed identities
–✓
Search Engine detection
Google, Bing, DuckDuckGo
–✓
Anti Detect Browser detection
AdsPower, Dolphin Anty, Kameleo
–✓
Browser Automation Tools detectionpartialfull

Detectable automation tools & frameworks

Headless Browsers (Chrome, Firefox)✓✓
seleniumHQ/selenium
umbrella project encapsulating a variety of tools and libraries enabling web browser automation
✓✓
microsoft/playwright
Node.js library to automate Chromium, Firefox and WebKit with a single API
✓✓
ariya/phantomjs
headless WebKit scriptable with JavaScript
✓✓
segmentio/nightmare
high-level browser automation library
✓✓
electron/electron
framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS
✓✓
laurentj/slimerjs
scriptable browser
✓✓

1. Fingerprint Pro is GDPR and CCPA compliant as the data processor. You still need to be compliant as the data controller and use the bot detection for fraud prevention under legitimate interest or ask for user consent.

Bot detection API result example:

javascript
{
  "bot": "bad",
  "bot_type": "headless_chrome",
  "bot_info": {
    "category": "browser_automation",
    "provider": "chromium/chromium",
    "name": "ChromeHeadless",
    "identity": "unknown",
    "confidence": "medium"
  }
}

Live demo

Fingerprint Bot Detection API Docs

Contributing

See the Contribution guidelines to learn how to contribute to the project or run the project locally. Please read it carefully before making a pull request.

Other open-source products by Fingerprint on GitHub!

  • FingerprintJS -- browser fingerprinting library that queries browser attributes and computes a hashed visitor identifier from them
  • Fingerprint Android -- Android identification and fingerprinting in native apps
  • Fingerprint iOS -- iOS identification and fingerprinting in native apps

License

MIT

© 2026 FingerprintJS, Inc

Issues· 18 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptautomationbot-detectionbotsheadless-chrome

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.