# Audit robots.txt AI crawlers and llms.txt readiness

**Use case:** 

Audits site AI-search readiness by checking robots.txt rules for GPTBot, ClaudeBot, and PerplexityBot, validating /llms.txt and /llms-full.txt against HTML soft-404s, parsing XML/gzip sitemaps, and scoring technical SEO.

## Input

```json
{
  "startUrls": [
    "https://docs.apify.com"
  ],
  "maxPages": 5,
  "discoverFromSitemap": true,
  "discoverFromLinks": true,
  "includeAiReadiness": true,
  "maxSitemapUrls": 200,
  "checkBrokenLinks": false,
  "concurrency": 5,
  "requestTimeoutMs": 8000
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "integer"
  },
  "seoScore": {
    "label": "SEO Score",
    "format": "integer"
  },
  "issueCounts": {
    "label": "Issues",
    "format": "object"
  },
  "title": {
    "label": "Title",
    "format": "object"
  },
  "canonical": {
    "label": "Canonical",
    "format": "object"
  },
  "headings": {
    "label": "Headings",
    "format": "object"
  },
  "images": {
    "label": "Images",
    "format": "object"
  },
  "structuredData": {
    "label": "JSON-LD",
    "format": "object"
  },
  "redirectCount": {
    "label": "Redirects",
    "format": "integer"
  },
  "ttfbMs": {
    "label": "TTFB (ms)",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor is ready to run with the inputs already set for "Audit robots.txt AI crawlers and llms.txt readiness". [Sign up or log in](https://console.apify.com/create-task-from-example/SNNFUmUfUb7aDSFBm) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit robots.txt AI crawlers and llms.txt readiness" task

The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max pages, and more, to match your specific use case.

### 3. Receive the "Audit robots.txt AI crawlers and llms.txt readiness" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, status, HTTP, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Audit robots.txt AI crawlers and llms.txt readiness" task via API](https://apify.com/salmon_chaparral/seo-llms-auditor.md).

## FAQ

### Which AI bots does the llms.txt readiness checker inspect?

The llms.txt AI readiness checker evaluates RFC 9309 robots.txt rules for GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot, Google-Extended, CCBot, and Applebot-Extended.

### How does the checker detect SPA soft-404s on llms.txt?

The llms.txt AI readiness checker inspects HTTP content-type, HTML shells, and Markdown headings so sites returning HTTP 200 HTML error pages on /llms.txt are flagged as soft-404s.

### Where is the site-level AI readiness score stored?

The llms.txt AI readiness checker writes per-page technical SEO rows to the default dataset and stores the site-level aiReadinessScore and sitemap rollup in key-value record OUTPUT.

## About this Actor

This example demonstrates how to use [Technical SEO, Sitemap & llms.txt AI Auditor (MCP)](https://apify.com/salmon_chaparral/seo-llms-auditor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/salmon_chaparral/seo-llms-auditor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/salmon_chaparral/seo-llms-auditor.md

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`).
