# AI Crawler & llms.txt Checker: GPTBot, ClaudeBot (`hydrocore/ai-crawler-llms-txt-checker`) Actor

Check which AI crawlers a website allows: GPTBot, OAI-SearchBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot and 19 more, per robots.txt rules. Plus llms.txt validation, content signals, noai tags and CDN. Bulk sites, monitor mode.

- **URL**: https://apify.com/hydrocore/ai-crawler-llms-txt-checker.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** SEO tools, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 site checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AI Crawler & llms.txt Checker: GPTBot, ClaudeBot

Find out in one run **which AI crawlers a website lets in**. For each site the Actor reads robots.txt the way crawlers do (RFC 9309 groups, longest match, Allow wins ties) and gives a verdict for **25 AI bots**: OpenAI (GPTBot, OAI-SearchBot, ChatGPT-User), Anthropic (ClaudeBot, Claude-SearchBot, Claude-User), Google-Extended, Applebot-Extended, PerplexityBot, Meta, Amazon, Common Crawl, ByteDance, Cohere, Mistral and more. The same row checks **llms.txt** (title, sections, links, format), llms-full.txt, ai.txt, robots.txt **Content-Signal** lines (ai-train / search / ai-input), homepage **noai** directives and the CDN. Bulk lists, filters, sorting and a monitor mode for policy changes. No API keys.

### ✅ What you get

- AI access level per site: open, blocks-training-only, partial, blocks-all or unknown
- Blocked and allowed bot lists, counts by purpose and 9 key-bot columns (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Applebot-Extended, Meta-ExternalAgent)
- llms.txt: present, valid, title, summary, section and link counts; llms-full.txt and ai.txt
- Content-Signal values (ai-train, search, ai-input)
- Homepage meta robots, X-Robots-Tag and noai flag
- CDN (Cloudflare, Fastly, Akamai, CloudFront, Vercel, Netlify)
- Monitor mode: only sites whose AI policy changed since the last run

### 🏆 Why this Actor

- **One flat row per site:** 25 bot verdicts, counts by purpose (training, AI search, user-triggered) and 9 key-bot yes/no columns that sort and filter cleanly in a spreadsheet.
- **Correct robots.txt logic:** named groups beat the \* group, the longest matching rule wins, Allow wins ties, wildcards and $ work, and a 4xx robots.txt means "everything allowed" while a 5xx means "unknown", as RFC 9309 says.
- **llms.txt checked, not just pinged:** HTML soft-404 pages are not counted, and the title, summary, section and link counts are read so you can see whether the file is useful.
- **Signals beyond robots.txt:** Content-Signal lines, meta robots / X-Robots-Tag noai and the CDN (edge bot blocking is not visible in robots.txt, so we say so).
- **Fair billing:** invalid, unreachable, duplicate, filtered and unchanged sites are free.

### 💡 Use cases

**Apify Store use cases:** SEO & marketing analysis · Monitor competitors · Developer & security tooling

- SEO and GEO agencies: audit whether clients can appear in ChatGPT search, Perplexity and AI Overviews
- Publishers: confirm which training bots are blocked and spot gaps (for example GPTBot blocked but CCBot allowed)
- AI and RAG teams: check a source list before crawling and respect site policies
- Market research: measure AI-blocking across a niche or a top-sites list
- Brand monitoring: get told when a competitor or partner changes its AI crawler policy

### 🚀 How to use

1. Paste **websites** (domains or URLs).
2. Optional: pick a subset of AI crawlers, a filter (blocks any / allows all / has or lacks llms.txt), the sort and monitor mode.
3. Run, then open **Overview**, **AI crawlers** or **llms.txt & signals**, or export. Schedule it with monitor mode for change alerts.

### ⚙️ Input

| Field | What it does |
|---|---|
| `sites` | Domains or URLs (default example: nytimes.com, stripe.com, anthropic.com, apify.com). Only the host is used. |
| `bots` | Subset of the 25 AI crawlers (default: all). The 9 key-bot columns are always filled. |
| `checkLlmsTxt` | Read /llms.txt, /llms-full.txt and /ai.txt (default true). |
| `checkHomepage` | Read homepage meta robots, X-Robots-Tag and CDN (default true). |
| `filter` | all (default), blocksAny, allowsAll, hasLlmsTxt, missingLlmsTxt. |
| `sortBy` | input (default), mostBlocked, leastBlocked, domain. |
| `maxResults` | Most sites to save, default 100. |
| `onlyChanges / monitorKey` | Monitor mode: only sites whose AI access, llms.txt, signals or noai flag changed since the last run with the same name (default off). |

Example input:

```json
{
  "sites": [
    "nytimes.com",
    "theguardian.com",
    "reddit.com",
    "github.com"
  ],
  "filter": "blocksAny",
  "sortBy": "mostBlocked",
  "maxResults": 100
}
```

### ⬆️ Output

One row per website. Invalid or unreachable inputs get a free row with `recordType` = `status` and the reason in `summaryText`. Every row has the same 47 keys in the same order; missing values are `null`. Verdicts are for the homepage path "/" under robots.txt rules. The example is a real row from a test run of the current build.

Overview fields:

| Field | Type | Example | Description |
|---|---|---|---|
| `domain` | string | "nytimes.com" | Host that was checked (lowercase). |
| `aiAccessLevel` | string | "partial" | open (no checked AI crawler blocked), blocks-training-only, partial (some AI search or user-triggered bots blocked too), blocks-all, or unknown (robots.txt returned a server error or no answer). |
| `blockedBotCount` | integer | 21 | Checked AI crawlers whose robots.txt rules disallow the homepage path "/". null when access is unknown. |
| `checkedBotCount` | integer | 25 | How many AI crawlers were checked (25 by default). |
| `gptBotAllowed` | boolean | false | OpenAI training crawler may fetch "/" under robots.txt. |
| `claudeBotAllowed` | boolean | false | Anthropic training crawler may fetch "/". |
| `googleExtendedAllowed` | boolean | false | Google-Extended token (Gemini training and grounding) is not disallowed. |
| `perplexityBotAllowed` | boolean | false | Perplexity search crawler may fetch "/". |
| `hasLlmsTxt` | boolean | false | A Markdown /llms.txt answered 200 (HTML soft-404 pages do not count). null when the check is off. |
| `cdn` | string | "Fastly" | CDN detected from homepage headers: Cloudflare, Fastly, Akamai, Amazon CloudFront, Vercel or Netlify. Edge bot blocking is not visible in robots.txt. |
| `summaryText` | string | "nytimes.com blocks 21 of 25 AI crawlers in robots.txt (part… | Plain-English summary of the site's AI crawler policy; on status rows, why the input was not checked. |

All 47 fields (in order): `recordType`, `domain`, `aiAccessLevel`, `blockedBotCount`, `checkedBotCount`, `blockedBots`, `allowedBots`, `trainingBotsBlockedCount`, `searchBotsBlockedCount`, `userBotsBlockedCount`, `gptBotAllowed`, `oaiSearchBotAllowed`, `chatGptUserAllowed`, `claudeBotAllowed`, `googleExtendedAllowed`, `perplexityBotAllowed`, `commonCrawlAllowed`, `applebotExtendedAllowed`, `metaExternalAgentAllowed`, `namedBotCount`, `hasLlmsTxt`, `llmsTxtValid`, `llmsTxtTitle`, `llmsTxtSummary`, `llmsTxtSectionCount`, `llmsTxtLinkCount`, `llmsTxtProblem`, `hasLlmsFullTxt`, `llmsFullTxtSizeBytes`, `hasAiTxt`, `aiTrainSignal`, `searchSignal`, `aiInputSignal`, `metaRobots`, `xRobotsTag`, `hasNoAiDirective`, `cdn`, `hasRobotsTxt`, `robotsTxtStatusCode`, `sitemapCount`, `robotsTxtUrl`, `llmsTxtUrl`, `accessChange`, `previousAccessLevel`, `summaryText`, `inputValue`, `scrapedAt`.

Real row from a test run of the current build:

```json
{
  "recordType": "site",
  "domain": "nytimes.com",
  "aiAccessLevel": "partial",
  "blockedBotCount": 21,
  "checkedBotCount": 25,
  "blockedBots": "GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, anthropic-ai, Google-Extended, Applebot-Extended, PerplexityBot, Perplexity-User, Meta-ExternalAgent, Meta-ExternalFetcher, FacebookBot, CCBot, Bytespider, cohere-ai, DuckAssistBot, YouBot, Diffbot, Timpibot",
  "allowedBots": "Amazonbot, cohere-training-data-crawler, MistralAI-User, AI2Bot",
  "trainingBotsBlockedCount": 11,
  "searchBotsBlockedCount": 5,
  "userBotsBlockedCount": 5,
  "gptBotAllowed": false,
  "oaiSearchBotAllowed": false,
  "chatGptUserAllowed": false,
  "claudeBotAllowed": false,
  "googleExtendedAllowed": false,
  "perplexityBotAllowed": false,
  "commonCrawlAllowed": false,
  "applebotExtendedAllowed": false,
  "metaExternalAgentAllowed": false,
  "namedBotCount": 22,
  "hasLlmsTxt": false,
  "llmsTxtValid": false,
  "llmsTxtTitle": null,
  "llmsTxtSummary": null,
  "llmsTxtSectionCount": null,
  "llmsTxtLinkCount": null,
  "llmsTxtProblem": null,
  "hasLlmsFullTxt": false,
  "llmsFullTxtSizeBytes": null,
  "hasAiTxt": false,
  "aiTrainSignal": null,
  "searchSignal": null,
  "aiInputSignal": null,
  "metaRobots": null,
  "xRobotsTag": null,
  "hasNoAiDirective": false,
  "cdn": "Fastly",
  "hasRobotsTxt": true,
  "robotsTxtStatusCode": 200,
  "sitemapCount": 25,
  "robotsTxtUrl": "https://nytimes.com/robots.txt",
  "llmsTxtUrl": null,
  "accessChange": null,
  "previousAccessLevel": null,
  "summaryText": "nytimes.com blocks 21 of 25 AI crawlers in robots.txt (partial), from OpenAI, Anthropic, Google, Apple, Perplexity, Meta. Training bots blocked: 11; AI search bots: 5; user-triggered fetchers: 5. No llms.txt.",
  "inputValue": "nytimes.com",
  "scrapedAt": "2026-11-14T21:03:36.011Z"
}
```

Views: **Overview**, **AI crawlers**, **llms.txt & signals**, **Detailed (all fields)**. Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (`/datasets/{id}/items?format=csv&view=overview`). The run summary (`OUTPUT` record in the key-value store) counts inputs, invalid inputs, duplicates, sites checked, unreachable sites, rows filtered out, unchanged (monitor mode), over the cap, saved and status rows.

### 💰 Pricing

Competitive pricing, pay per result: **$0.002 per site checked** on the Free plan, less on higher plans, plus the $0.0005 Actor start. 1,000 sites cost about $2.00 (+ start). Each row covers all 25 AI crawlers plus the llms.txt and signal checks. Invalid, unreachable, duplicate, filtered and unchanged (monitor mode) sites are never charged.

| Event | What it is | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|---|
| Site checked | One website checked and saved (25 AI crawlers + llms.txt + signals in one row). Invalid, unreachable, duplicate, filtered and unchanged (monitor) sites are free. | $0.002 | $0.0018 | $0.0017 | $0.0016 |
| Actor start | Once per run (Apify standard start event, per GB of memory; the default 256 MB = one fee) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

### 🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

### ❓ FAQ

**Which AI crawlers are checked?**

GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, Claude-User, anthropic-ai, Google-Extended, Applebot-Extended, PerplexityBot, Perplexity-User, Meta-ExternalAgent, Meta-ExternalFetcher, FacebookBot, Amazonbot, CCBot, Bytespider, cohere-ai, cohere-training-data-crawler, MistralAI-User, DuckAssistBot, YouBot, Diffbot, AI2Bot and Timpibot (25).

**What does "blocked" mean exactly?**

The bot's robots.txt rules disallow the homepage path "/". The Actor uses the bot's own User-agent group if one exists, otherwise the \* group, then the longest matching Allow/Disallow rule (Allow wins ties). A site can still allow deeper paths; the verdict is about the site root.

**What do the access levels mean?**

open: no checked bot is blocked. blocks-training-only: only training crawlers are blocked. partial: some AI search or user-triggered bots are blocked too. blocks-all: every checked bot is blocked. unknown: robots.txt returned a server error or did not answer.

**What if a site has no robots.txt?**

A 4xx answer (or an HTML page instead of a text file) means there is no robots.txt, so every bot is allowed and hasRobotsTxt is false. A 5xx or no answer gives aiAccessLevel unknown.

**Does it detect Cloudflare or firewall blocking?**

It reports the CDN (Cloudflare, Fastly, Akamai, CloudFront, Vercel, Netlify). Edge rules such as Cloudflare's AI bot blocking are not visible from outside without pretending to be a bot, which this Actor does not do, so robots.txt shows the stated policy only.

**How is llms.txt checked?**

The Actor reads /llms.txt and counts it only when it is text, not an HTML soft-404 page. It is valid when it starts with a "# Title" line (llmstxt.org format). Title, the first summary line, the number of ## sections and Markdown links are returned. /llms-full.txt and /ai.txt are checked for presence.

**What are content signals?**

Some sites add Content-Signal lines to robots.txt (for example "search=yes, ai-train=no") to say how content may be used. aiTrainSignal, searchSignal and aiInputSignal return true/false when set, null when not.

**How does monitor mode work?**

With onlyChanges on, the Actor remembers each site's access level, blocked bots, llms.txt, signals and noai flag under your monitor name and saves only new or changed sites (with previousAccessLevel). Schedule it weekly to track policy changes.

**How fast is it?**

About 2 to 3 seconds for a handful of sites; it checks 8 sites in parallel, so 1,000 sites take a few minutes.

**Is it good for AI agents?**

Yes. One domain is enough as input, every row has the same flat keys and a summaryText sentence, so an agent can answer "Can ChatGPT or Perplexity read this site?" or "Does this site have an llms.txt?" directly.

### Ready-made examples

- [Which AI crawlers do major news sites block](https://apify.com/hydrocore/ai-crawler-llms-txt-checker/examples/which-ai-crawlers-do-major-news-sites-block)

### 🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

### Changelog

- 1.0 (2026-11-14): first release.

# Actor input Schema

## `sites` (type: `array`):

Domains or URLs to check (nytimes.com, https://www.example.com/page). Only the host is used; robots.txt, llms.txt and the homepage are read from its root.

## `bots` (type: `array`):

Leave empty to check all 25 AI crawlers (OpenAI, Anthropic, Google-Extended, Apple, Perplexity, Meta, Amazon, Common Crawl, ByteDance, Cohere, Mistral and more). The 9 key-bot columns are always filled.

## `checkLlmsTxt` (type: `boolean`):

Read /llms.txt (title, sections, links, format check), /llms-full.txt and /ai.txt.

## `checkHomepage` (type: `boolean`):

Read the homepage for meta robots / X-Robots-Tag noai directives and the CDN (Cloudflare, Fastly, Akamai...).

## `filter` (type: `string`):

Keep only matching sites. Others are free.

## `sortBy` (type: `string`):

Order of the saved rows. Sorting happens before Max results.

## `maxResults` (type: `integer`):

Most sites to save (default 100).

## `onlyChanges` (type: `boolean`):

Remember each site's AI access, llms.txt and signals between runs and save only sites that changed. The first run saves everything.

## `monitorKey` (type: `string`):

Name of the memory used by monitor mode. Use different names for different site lists. Default: default. Example: daily-watch-1.

## Actor input object example

```json
{
  "sites": [
    "nytimes.com",
    "stripe.com",
    "anthropic.com",
    "apify.com"
  ],
  "checkLlmsTxt": true,
  "checkHomepage": true,
  "filter": "all",
  "sortBy": "input",
  "maxResults": 100,
  "onlyChanges": false
}
```

# Actor output Schema

## `overview` (type: `string`):

AI access level, blocked bots and llms.txt per site.

## `bots` (type: `string`):

Per-bot verdicts and counts by purpose.

## `llms` (type: `string`):

llms.txt, llms-full.txt, ai.txt, content signals and noai directives.

## `results` (type: `string`):

Every field for each row.

## `summary` (type: `string`):

Run summary: inputs, invalid inputs, duplicates, sites checked, unreachable, filtered out, unchanged (monitor), over the cap, saved and status rows.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sites": [
        "nytimes.com",
        "stripe.com",
        "anthropic.com",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/ai-crawler-llms-txt-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "sites": [
        "nytimes.com",
        "stripe.com",
        "anthropic.com",
        "apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/ai-crawler-llms-txt-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sites": [
    "nytimes.com",
    "stripe.com",
    "anthropic.com",
    "apify.com"
  ]
}' |
apify call hydrocore/ai-crawler-llms-txt-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrocore/ai-crawler-llms-txt-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gLvCHrkLmy1BqyPeR/builds/vnTEWRtJ06tRBd5hx/openapi.json
