MCPcopy Create free account
hub / github.com/arcjet/well-known-bots

github.com/arcjet/well-known-bots @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
0 symbols 0 edges 1 files ⚖ MIT 0 documented · 0% ● updated 9d ago★ 86

Browse by type

⨍ Functions 0◇ Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Well Known Bots

This repository contains a list of Well Known Bots, including robots, crawlers, validators, monitors, and spiders, in a single JSON file. Bot definitions can include User-Agent patterns and verification methods, including Web Bot Auth signature directories. A signature-only bot has no User-Agent pattern.

Install

Direct download

Download the [well-known-bots.json file][raw-json-url] directly.

Realities

It's impossible to create a system that can detect all bots. Well-behaving bots identify themselves in a consistent manner, usually via the User-Agent patterns this project provides. It is straightforward to identify these well-behaving bots, but misbehaving bots pretend to be real clients and use various mechanisms to evade detection.

For more details, see [Non-Technical Notes in the browser-fingerprinting][non-tech-notes-url] project.

Custom bots

To block a particular bot that is not on this list, you can use an Arcjet filter. See the [Malicious traffic][arcjet-blueprint-malicious-traffic] blueprint for how to block custom bots.

Adding a New Bot

Use Node.js 26 to run the TypeScript validators directly.

To add a new bot to the list, you need to edit the well-known-bots.json file and add a new entry. Follow these steps:

  1. Create a new bot entry with the required fields (see structure below)
  2. Add User-Agent pattern(s) when the bot publishes a stable User-Agent, or leave both pattern arrays empty for a signature-only bot
  3. Add verification method(s) if the bot provider supports verification
  4. Add example User-Agent instances when the bot has an accepted pattern
  5. Run validation to ensure your entry is correct: node validate.ts --check
  6. Submit a pull request with your changes

Include a bot-operator source in the pull request for each proposed User-Agent pattern or verification method. Check that any published verification endpoint is live and belongs to the claimed operator. Each Web Bot Auth signing origin can be assigned to only one bot ID.

JSON Schema

The well-known-bots.schema.json file describes the intended structure of well-known-bots.json for editors and external JSON Schema validators. The repository's built-in validate.ts script is still the source of truth for checks that JSON Schema cannot express, such as compiling JavaScript regular expressions and testing instances against those patterns.

Install the locked validation dependencies, then validate the JSON file with Ajv:

npm ci --prefix tools/schema --ignore-scripts
npm run --prefix tools/schema typecheck
node tools/schema/validate.ts

CI runs both validators and the regression tests:

node --test schema.test.js validate.test.cjs tools/schema/validate.test.cjs

Node runs the validators using built-in type stripping; the separate typecheck command checks their types without generating JavaScript. Validation and type-checking dependencies are isolated in tools/schema/. Its lockfile fixes the full dependency tree and package integrity hashes; installation disables lifecycle scripts. Review dependency and lockfile updates together. To validate a different JSON file, pass its path to node tools/schema/validate.ts.

Static IP lists accept IPv4 and IPv6 addresses and CIDR ranges, including IPv6 ranges with an embedded IPv4 address.

Bot Entry Structure

Each entry in the JSON represents a specific bot or crawler and includes the following fields:

Required Fields

  • id (string): A unique identifier for the bot in kebab-case (e.g., "google-crawler")
  • categories (array): One or more categories the bot belongs to (see available categories)
  • pattern (object): Regular expression patterns to match the bot's User-Agent
  • accepted (array): Regex patterns that must match for User-Agent identification; may be empty only when verification contains Web Bot Auth or Poppy, or for a botnet entry, which has no verification
  • forbidden (array): Regex patterns that, if matched, disqualify the User-Agent
  • verification (array): Methods for verifying the bot's authenticity (can be empty [] if not supported)

Optional Fields

  • operator (string): The registrable domain of the company or project that operates the bot, such as "openai.com", "anthropic.com" or "perplexity.ai". Use it to group bots by operator; url can point at a documentation host or a third-party page instead. The value is lowercase and has no scheme, path, port, trailing dot or www. prefix. It names the operator of the bot's own infrastructure: for a platform that runs browser sessions or fetches for its customers, such as Browserbase, it is the platform, not the customer. A company's bots share its main domain even when they publish documentation, IP ranges or signing keys on other hosts, so Googlebot is "google.com" and Claude Code is "anthropic.com". Omit the field when the operator is unknown, and for software its users run and direct themselves, such as a library, a self-hosted server or a desktop crawler like Screaming Frog. An AI agent that runs on a user's machine, such as Claude Code, keeps its vendor, because the vendor's model decides what it fetches.
  • url (string): Documentation URL for the bot
  • instances (object): Example User-Agent strings for testing; omit for signature-only bots
  • accepted (array): User-Agent strings that should match the pattern
  • rejected (array): User-Agent strings that should not match
  • aliases (array): Alternative identifiers for the bot used in other data sources
  • description (string): Free-form human-readable notes about the bot
  • addition_date (string): Date the bot was added in YYYY/MM/DD format

Available Categories

academic, advertising, ai, ai-agent, amazon, apple, archive, botnet,
feedfetcher, google, meta, microsoft, monitor, optimizer, preview,
programmatic, search-engine, slack, social, tool, unknown, vercel, webhook,
yahoo

botnet marks a malware family's bot network. A botnet sends no identifying User-Agent, so its entry has empty pattern arrays, no instances and no verification. IP reputation data names the botnet for an address. That is reputation, not verification, so a botnet is never reported as verified.

ai-agent marks an AI product fetching a page on demand for a person who is waiting on the answer, such as ChatGPT-User, Claude-User or a coding agent. It always appears together with ai, so the ai category is unchanged and ai-agent is the subset of it that is not scheduled crawling for training or an index.

A coding agent that fetches from the developer's own machine, such as Claude Code, has no verification, because its IP address is never in the vendor's published ranges.

Verification Methods

Bot verification allows you to confirm that a request claiming to be from a specific bot actually originates from that bot's infrastructure. The supported methods are DNS, CIDR, IP, Web Bot Auth, and Poppy.

Web Bot Auth Verification

Web Bot Auth verifies an HTTP message signature with a public key published by the signing operator. The directory is the canonical HTTPS URL of that operator's public-key directory. Use a lowercase hostname and the exact /.well-known/http-message-signatures-directory path. A directory location alone does not verify a request; the request signature must validate before the bot ID is assigned. The signature proves the signing operator, which may host requests for other agents. It does not prove a User-Agent or a specific customer agent.

{
  "id": "chatgpt-agent",
  "categories": ["ai"],
  "pattern": { "accepted": [], "forbidden": [] },
  "verification": [
    {
      "type": "web-bot-auth",
      "directory": "https://chatgpt.com/.well-known/http-message-signatures-directory"
    }
  ]
}

Poppy Verification

Poppy, the Personal Agent Protocol, lets a person's AI agent act for them at a company. Each request carries a Poppy-Session JWT signed with a key the agent delegated from the keys listed in its client metadata. The client_id is the HTTPS URL of that metadata document, exactly as the agent publishes it. A verifier fetches the document, checks that its client_id equals the URL and its jwks_uri is on the same domain, and verifies the session against those keys. A verified session proves which agent sent the request, for this method and URL. It never identifies the person.

{
  "type": "poppy",
  "client_id": "https://muse.ai/poppy/agent.json"
}

The URL has a path and no port, credentials, query or fragment. A shared origin does not make two client metadata URLs the same agent, so match the exact string, and assign each client_id to only one bot ID. Add an agent only when its operator publishes the client_id. Don't add a self-hosted agent that mints its own client_id per install, or a demo or test agent.

Entries with an empty accepted array never take part in User-Agent matching: User-Agent matching must never classify a request as that bot, and these entries cannot have instances because they have no User-Agent pattern to test. Most are signature-only, identified by Web Bot Auth or Poppy. A botnet entry is reputation-only instead: IP reputation data names it, and it has no verification at all. Existing entries can combine Web Bot Auth with IP or DNS verification, as google-agent does.

DNS Verification

DNS verification uses reverse DNS lookups to verify a bot's identity. The bot's IP address is resolved to a hostname, which is then checked against known patterns.

When to use: When the bot provider publishes DNS patterns for their crawlers (e.g., Google, Bing).

Example:

{
  "type": "dns",
  "masks": [
    "crawl-***-***-***-***.googlebot.com",
    "geo-crawl-***-***-***-***.geo.googlebot.com"
  ]
}

Mask pattern syntax: - * - Matches zero or one occurrence of any character - @ - Matches any number of characters (wildcard) - All other characters require an exact match

Full example in context:

{
  "id": "example-search-bot",
  "categories": ["search-engine"],
  "pattern": {
    "accepted": ["ExampleBot\\/"],
    "forbidden": []
  },
  "verification": [
    {
      "type": "dns",
      "masks": [
        "crawler-***.example.com"
      ]
    }
  ]
}

CIDR Verification

CIDR verification checks if the request originates from IP address ranges (CIDR blocks) published by the bot provider.

When to use: When the bot provider publishes IP ranges in CIDR notation (e.g., Google, Stripe).

Supported source types: - http-json - JSON file with CIDR ranges (or a mix of individual IPs and CIDR ranges) - http-csv - CSV file with CIDR ranges in the first column (or a mix of individual IPs and CIDR ranges) - http-text - Plain text file with one CIDR range per line (or a mix of individual IPs and CIDR ranges) - http-sail - A Source Address Identity List (SAIL) file. service names the service in the file whose prefix sets list the bot's IPv4 and IPv6 prefixes

Example with JSON source:

{
  "type": "cidr",
  "sources": [
    {
      "type": "http-json",
      "url": "https://developers.google.com/static/crawling/ipranges/common-crawlers.json",
      "selector": "$.prefixes[*][\"ipv6Prefix\",\"ipv4Prefix\"]"
    }
  ]
}

Example with CSV source:

{
  "type": "cidr",
  "sources": [
    {
      "type": "http-csv",
      "url": "https://example.com/ip-ranges.csv"
    }
  ]
}

Example with SAIL source:

{
  "type": "cidr",
  "sources": [
    {
      "type": "http-sail",
      "url": "https://claude.com/.well-known/sail",
      "service": "Claude-Agent"
    }
  ]
}

JSONPath selector examples: - $.prefixes[*].cidr - Array of objects with a cidr field - $[*] - Simple array of CIDR strings - $.ranges[*] - Nested array under ranges key

IP Verification

IP verification checks if the request originates from specific IP addresses. This method supports both static IP lists and remote sources.

When to use: - Static IPs: When the bot uses a small, fixed set of IP addresses - Remote sources: When the bot provider publishes a dynamic list of IPs

Static IP Addresses

For a small, fixed list of IP addresses:

{
  "type": "ip",
  "ips": [
    "35.204.201.174",
    "34.125.202.46"
  ]
}

Full example in context:

{
  "id": "small-monitoring-bot",
  "categories": ["monitor"],
  "pattern": {
    "accepted": ["MonitorBot"],
    "forbidden": []
  },
  "verification": [
    {
      "type": "ip",
      "ips": [
        "1.2.3.4",
        "5.6.7.8"
      ]
    }
  ]
}

Remote IP Sources

For dynamic or large lists, use remote sources:

Supported source types: - http-json - JSON file with IP addresses (or a mix of individual IPs and CIDR ranges) - http-text - Plain text file with one IP per line (or a mix of individual IPs and CIDR ranges)

Example with JSON source:

{
  "type": "ip",
  "sources": [
    {
      "type": "http-json",
      "url": "https://stripe.com/files/ips/ips_webhooks.json",
      "selector": "$.WEBHOOKS[*]"
    }
  ]
}

Example with text source:

{
  "type": "ip",
  "sources": [
    {
      "type": "http-text",
      "url": "https://my.pingdom.com/probes/ipv4"
    }
  ]
}

JSONPath selector examples: - $[*] - Simple array of IP strings - $[*].ip - Array of objects with an ip field - $.WEBHOOKS[*] - Array of IPs under WEBHOOKS key - $.*[*] - Object with arrays of IPs as values

Multiple Verification Methods

You can specify multiple verification methods for a single bot. All methods shou

Core symbols most depended-on inside this repo

—

browse all functions →

Shape

For agents

$ claude mcp add well-known-bots \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page